/* ==============/* =========================================================
   Spine and Child Centre – site styles
   ========================================================= */
:root {
  --scc-blue: #1f4e8c;
  --scc-mauve: #96566b;
  --scc-mauve-dark: #7b4357;
  --scc-navy: #1b2038;
  --scc-text: #6c6c6c;
  --bs-font-sans-serif: "Nunito", sans-serif;

  /* same vertical space for top bar and header */
  --header-gap: 12px;

  /* Shared width for top bar, header and footer */
  --site-max-width: 1140px;
  --site-gutter: 0.75rem;

  /* Contact Us button */
  --btn-contact-bg: #96566b;
  --btn-contact-text: #ffffff;
  --btn-contact-hover-bg: #7b4357;
  --btn-contact-hover-text: #ffffff;

  /* YouTube button */
  --btn-yt-bg: #ff0000;
  --btn-yt-icon: #ffffff;
  --btn-yt-hover-bg: #b30000;
  --btn-yt-hover-icon: #ffffff;
}

body {
  font-family: "Nunito", sans-serif;
  color: var(--scc-text);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

/* ---------- Shared container ---------- */
.site-container,
.container {
  width: 100%;
  max-width: var(--site-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--site-gutter);
  padding-right: var(--site-gutter);
}
.main-nav > .site-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 992px) {
  .main-nav > .site-container {
    flex-wrap: nowrap;
  }
}

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2000;
  background: var(--scc-blue);
  color: #fff;
  padding: 8px 14px;
  border-radius: 4px;
}

/* ---------- Buttons ---------- */
.btn-scc {
  background: var(--btn-contact-bg);
  border: 1px solid var(--btn-contact-bg);
  color: var(--btn-contact-text);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 9px 26px;
  border-radius: 6px;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.2s ease;
}
.btn-scc:hover,
.btn-scc:focus,
.btn-scc:active {
  background: var(--btn-contact-hover-bg) !important;
  border-color: var(--btn-contact-hover-bg) !important;
  color: var(--btn-contact-hover-text) !important;
}
.btn-scc:hover {
  transform: translateY(-2px);
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  background: var(--btn-yt-bg);
  color: var(--btn-yt-icon);
  font-size: 1.05rem;
  line-height: 1;
  text-decoration: none;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.2s ease;
}
.social-btn i {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
}
.social-btn:hover,
.social-btn:focus {
  background: var(--btn-yt-hover-bg);
  color: var(--btn-yt-hover-icon);
  transform: translateY(-2px);
}

/* =========================================================
   TOP BAR
   ========================================================= */
.top-bar {
  background: #fff;
  border-bottom: 1px solid #e6eeee;
  font-size: 16px;
}
.top-bar-inner {
  padding-top: var(--header-gap);
  padding-bottom: var(--header-gap);
}
.top-bar-info a {
  color: #2b2b3a;
  font-weight: 600;
  text-decoration: none;
}
.top-bar-info a:hover {
  color: var(--scc-mauve);
}
.top-bar-info i {
  color: var(--scc-mauve);
  margin-right: 8px;
}

.top-divider {
  display: inline-block;
  width: 1px;
  height: 36px;
  background: #e3e3e3;
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  background: #fff;
  z-index: 1030;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.main-nav {
  --bs-navbar-nav-link-padding-x: 1.2rem;
  padding: var(--header-gap) 0;
}
.main-nav .navbar-brand {
  margin-right: 0;
  padding: 0;
}
.main-nav .navbar-brand img {
  height: auto;
  width: 235px;
  margin-left: -12px;
}

.main-nav .navbar-toggler {
  border-color: rgba(31, 78, 140, 0.35);
  padding: 0.35rem 0.6rem;
}
.main-nav .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(150, 86, 107, 0.25);
}

.main-nav .nav-link {
  position: relative;
  color: #6c6c6c;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.6rem var(--bs-navbar-nav-link-padding-x);
  transition: color 0.2s ease;
}
.main-nav .nav-link:hover,
.main-nav .nav-link.show,
.main-nav .nav-link.active {
  color: var(--scc-navy);
}
.main-nav .nav-link:focus:not(.active):not(:hover):not(.show) {
  color: #6c6c6c;
}
.main-nav .nav-link:focus-visible {
  outline: 2px solid var(--scc-mauve);
  outline-offset: 2px;
  border-radius: 4px;
}

/* small dropdown arrow */
.main-nav .dropdown-toggle::after {
  border: 0;
  content: "\F282"; /* bi-chevron-down */
  font-family: "bootstrap-icons";
  font-size: 0.6rem;
  font-weight: 700;
  vertical-align: middle;
  margin-left: 0.3rem;
}

/* underline on hover (desktop) + space between logo and menu */
@media (min-width: 992px) {
  .main-nav .ms-lg-4 {
    margin-left: 6.5rem !important;
  }
  .main-nav .nav-link::before {
    content: "";
    position: absolute;
    left: var(--bs-navbar-nav-link-padding-x);
    right: var(--bs-navbar-nav-link-padding-x);
    bottom: 0;
    height: 3px;
    background: var(--scc-mauve);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s ease;
  }
  .main-nav .nav-link:hover::before,
  .main-nav .nav-link.show::before,
  .main-nav .nav-link.active::before {
    transform: scaleX(1);
  }
}

/* small laptops (992-1199px): tighter so the menu fits on one line */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .main-nav {
    --bs-navbar-nav-link-padding-x: 0.5rem;
  }
  .main-nav .ms-lg-4 {
    margin-left: 1.5rem !important;
  }
  .main-nav .navbar-brand img {
    width: 190px;
  }
  .main-nav .nav-link {
    font-size: 0.9rem;
  }
}

/* ---------- Dropdown ---------- */
.main-nav .dropdown-menu {
  border: 0;
  border-radius: 8px;
  background: #fff;
  min-width: 290px;
  padding: 6px 20px;
  box-shadow: 0 10px 40px rgba(27, 32, 56, 0.12);
  font-size: 0.95rem;
}
.main-nav .dropdown-item {
  padding: 14px 0;
  color: var(--scc-text);
  font-weight: 400;
  white-space: normal;
  background: transparent;
  border-bottom: 1px solid #ececec;
  transition: color 0.2s ease;
}
.main-nav .dropdown-menu li:last-child .dropdown-item {
  border-bottom: 0;
}

.main-nav .dropdown-item:hover,
.main-nav .dropdown-item:focus,
.main-nav .dropdown-item:active,
.main-nav .dropdown-item.active {
  background: transparent;
  color: var(--scc-mauve);
}

/* Desktop: open on hover, arrow, gap, fade-in */
@media (min-width: 992px) {
  .main-nav .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 18px;
  }
  .main-nav .dropdown-menu {
    margin-top: 18px;
    animation: ddFade 0.2s ease;
  }
  /* invisible bridge so hover isn't lost in the gap */
  .main-nav .dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -20px;
    height: 20px;
  }
  /* arrow pointing at the menu item */
  .main-nav .dropdown-menu::after {
    content: "";
    position: absolute;
    top: -7px;
    left: 26px;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 3px 0 0 0;
    transform: rotate(45deg);
    box-shadow: -2px -2px 4px rgba(27, 32, 56, 0.04);
    z-index: -1;
  }
  .main-nav .dropdown-menu-end::after {
    left: auto;
    right: 26px;
  }
}

@keyframes ddFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Team: Leadership › flyout ---------- */
.main-nav .team-menu {
  min-width: 280px;
}
.main-nav .dropdown-submenu {
  position: relative;
}

.main-nav .submenu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  color: var(--scc-text);
  border-bottom: 0;
}
.main-nav .submenu-toggle::after {
  content: "\F285"; /* bi-chevron-right */
  font-family: "bootstrap-icons";
  font-size: 0.8rem;
  line-height: 1;
  color: #8a8a8a;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}
.main-nav .dropdown-submenu:hover > .submenu-toggle,
.main-nav .dropdown-submenu:focus-within > .submenu-toggle,
.main-nav .submenu-toggle:hover {
  color: var(--scc-mauve);
}
.main-nav .dropdown-submenu:hover > .submenu-toggle::after,
.main-nav .dropdown-submenu:focus-within > .submenu-toggle::after,
.main-nav .submenu-toggle:hover::after {
  color: var(--scc-mauve);
  transform: translateX(3px);
}

.main-nav .sub-menu {
  display: none;
  position: absolute;
  top: 8px;
  left: 100%;
  min-width: 300px;
  margin: 0;
  padding: 6px 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(27, 32, 56, 0.12);
  z-index: 5;
}
.main-nav .sub-menu li:last-child .dropdown-item {
  border-bottom: 0;
}

@media (min-width: 992px) {
  .main-nav .dropdown-submenu:hover > .sub-menu,
  .main-nav .dropdown-submenu:focus-within > .sub-menu {
    display: block;
    animation: ddFade 0.2s ease;
  }
}
/* medium desktops: open flyout to the left */
@media (min-width: 992px) and (max-width: 1399.98px) {
  .main-nav .sub-menu {
    left: auto;
    right: 100%;
  }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--scc-navy);
  color: #cfd3e3;
  border-top: 4px solid var(--scc-mauve);
}
.footer-main {
  padding-top: 70px;
  padding-bottom: 60px;
}

/* ---------- Logo ---------- */
.footer-logo img {
  display: block;
  width: 300px; 
  max-width: 100%;
  margin: -10px -10px 0px;
  height: auto;
}

.footer-text {
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 1.4rem;
}

/* ---------- Headings (small mauve accent line) ---------- */
.footer-heading {
  position: relative;
  margin-bottom: 1.8rem;
  padding-bottom: 14px;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
}
.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  border-radius: 2px;
  background: var(--scc-mauve);
}

/* ---------- Quick links ---------- */
.footer-links li {
  margin-bottom: 0.8rem;
}
.footer-links a {
  position: relative;
  display: inline-block;
  padding-left: 20px;
  color: #cfd3e3;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-links a::before {
  content: "\F285"; /* bi-chevron-right */
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: "bootstrap-icons";
  font-size: 0.75rem;
  color: var(--scc-mauve);
}
.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
  transform: translateX(4px);
}

/* ---------- Contact ---------- */
.footer-contact li {
  gap: 16px;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.footer-contact li:last-child {
  margin-bottom: 0;
}
.footer-icon {
  flex: 0 0 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(150, 86, 107, 0.18);
  border: 1px solid rgba(150, 86, 107, 0.55);
  transition: background 0.25s ease;
}
.footer-icon i {
  color: #e6b3c3;
  font-size: 1.25rem;
  line-height: 1;
}
.footer-contact li:hover .footer-icon {
  background: var(--scc-mauve);
}
.footer-contact li:hover .footer-icon i {
  color: #fff;
}
.footer-contact small {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #9aa0b8;
}
.footer-contact a,
.footer-contact address {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.7;
  text-decoration: none;
  word-break: break-word;
}
.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: #e6b3c3;
}
.footer-sep {
  margin: 0 4px;
  color: #9aa0b8;
}

/* ---------- Map ---------- */
.footer-map {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}
.footer-map iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}

/* ---------- Social ---------- */
.footer-social {
  width: 40px;
  height: 40px;
  background: var(--btn-yt-bg);
  color: var(--btn-yt-icon);
}

/* ---------- Bottom bar ---------- */
.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
  text-align: center;
}
.footer-copy {
  font-size: 16px;
  line-height: 1.7;
  color: #cfd3e3;
  text-align: center;
}
.footer-copy a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.footer-copy a:hover {
  color: #e6b3c3;
  text-decoration: underline;
}
.footer-copy-sep {
  margin: 0 10px;
  color: #9aa0b8;
}

/* =========================================================
   FOOTER RESPONSIVE
   ========================================================= */

/* ---------- Tablet (768px – 991px) ---------- */
@media (max-width: 991.98px) {
  .footer-main {
    padding-top: 55px;
    padding-bottom: 45px;
  }
  .footer-logo img {
    width: 270px;
  }
  .footer-heading {
    font-size: 1.25rem;
  }
  .footer-map iframe {
    height: 250px;
  }
}

/* ---------- Mobile (up to 767px) ---------- */
@media (max-width: 767.98px) {
  .footer-main {
    padding-top: 40px;
    padding-bottom: 30px;
  }

  /* About block centered on phones */
  .footer-about {
    text-align: center;
  }
  .footer-about .footer-logo img {
    width: 240px;
    margin: 0 auto;
  }
  .footer-about .footer-social {
    margin: 0 auto;
  }

  .footer-text {
    font-size: 16px;
    line-height: 1.8;
  }
  .footer-heading {
    font-size: 1.2rem;
    margin-bottom: 1.4rem;
  }
  .footer-links a,
  .footer-contact a,
  .footer-contact address {
    font-size: 16px;
  }
  .footer-contact li {
    gap: 14px;
    margin-bottom: 1.2rem;
  }
  .footer-icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }
  .footer-icon i {
    font-size: 1.1rem;
  }
  .footer-map iframe {
    height: 220px;
  }

  .footer-bottom {
    padding: 18px 0;
  }
  .footer-copy {
    font-size: 15px;
  }
  .footer-copy-sep {
    display: none;
  }
  .footer-copy a {
    display: block; /* OMX line drops below the copyright */
  }
}

/* ---------- Small phones (up to 399px) ---------- */
@media (max-width: 399.98px) {
  .footer-about .footer-logo img {
    width: 200px;
  }
  .footer-heading {
    font-size: 1.1rem;
  }
  .footer-text,
  .footer-links a,
  .footer-contact a,
  .footer-contact address {
    font-size: 15px;
  }
  .footer-map iframe {
    height: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-links a,
  .footer-icon {
    transition: none;
  }
}

/* =========================================================
   HEADER RESPONSIVE
   ========================================================= */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .main-nav .navbar-brand img {
    width: 215px;
  }
  .main-nav .nav-link {
    padding: 0.6rem 0.5rem;
    font-size: 0.9rem;
  }
  .main-nav .nav-link::before {
    left: 0.5rem;
    right: 0.5rem;
  }
}

/* Tablet & below: collapsed menu */
@media (max-width: 991.98px) {
  .main-nav .navbar-collapse {
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    margin-top: 0.5rem;
    padding: 0.5rem 0 1rem;
    border-top: 1px solid #eee;
  }
  .main-nav .nav-link {
    padding: 0.75rem 0.25rem;
    border-bottom: 1px solid #f1f1f1;
  }
  .main-nav .dropdown-menu {
    min-width: 0;
    border: 0;
    box-shadow: none;
    background: #f8f9fa;
    border-radius: 0;
    margin: 0 0 0.25rem;
    padding: 0 0.5rem 0 1rem;
    animation: none;
  }
  .main-nav .dropdown-menu::before,
  .main-nav .dropdown-menu::after {
    display: none;
  }
  .main-nav .dropdown-item {
    padding: 0.7rem 0;
  }

  /* Team: doctors shown as an indented list under "Leadership" */
  .main-nav .team-menu {
    min-width: 0;
  }
  .main-nav .submenu-toggle {
    padding: 0.7rem 0;
    font-weight: 700;
    pointer-events: none;
  }
  .main-nav .submenu-toggle::after {
    display: none;
  }
  .main-nav .sub-menu {
    display: block;
    position: static;
    min-width: 0;
    padding: 0 0 0 1rem;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    animation: none;
  }
}

@media (max-width: 767.98px) {
  :root {
    --header-gap: 10px;
  }
  .main-nav .navbar-brand img {
    width: 190px;
  }
  .search-page {
    padding: 35px 0 50px;
  }
  .search-page h1 {
    font-size: 1.45rem;
  }
}

@media (max-width: 399.98px) {
  .main-nav .navbar-brand img {
    width: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .main-nav .dropdown-menu,
  .main-nav .sub-menu,
  .main-nav .submenu-toggle::after {
    animation: none;
    transition: none;
  }
}

/* =========================================================
   PAGE BANNER
   ========================================================= */
.page-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 330px;
  padding: 60px 0;
  text-align: center;
  background-color: var(--scc-navy);
  background-image: url("../images/aboutspinabifida.jpg"); /* change to your image path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
/* Stool Leakage page: different banner image */
.page-banner--stool {
  background-image: url("../images/8.jpg"); /* change to your image */
  background-position: center;
}

.page-banner .container {
  position: relative;
  z-index: 1;
}

.page-banner-title {
  margin: 0;
  font-size: 60px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}

@media (max-width: 991.98px) {
  .page-banner {
    min-height: 260px;
    padding: 45px 0;
  }
  .page-banner-title {
    font-size: 2.6rem;
  }
}
@media (max-width: 575.98px) {
  .page-banner {
    min-height: 190px;
    padding: 30px 0;
  }
  .page-banner-title {
    font-size: 1.8rem;
  }
  .page-banner::after {
    bottom: 22px;
  }
}

/* =========================================================
   FAQ SECTION
   ========================================================= */
.faq-section {
  --faq-space-top: 40px;
  --faq-space-bottom: 60px;
  padding-top: var(--faq-space-top);
  padding-bottom: var(--faq-space-bottom);
  background: #fff;
}

/* full width of .site-container, so it matches the header (1140px) */
.faq-wrapper {
  width: 100%;
  border: 1px solid #e6e6e6;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.05);
  background: #fff;
}

.faq-wrapper .accordion-item {
  border: 0;
  border-bottom: 1px solid #e6e6e6;
  border-radius: 0;
  background: transparent;
}
.faq-wrapper .accordion-item:last-child {
  border-bottom: 0;
}

.faq-wrapper .accordion-button {
  font-size: 1rem;
  font-weight: 600;
  color: var(--scc-navy);
  background: transparent;
  box-shadow: none;
  padding: 22px 20px 22px 30px;
  gap: 14px;
}
.faq-wrapper .accordion-button::after {
  order: -1;
  margin-left: 0;
  width: 0.9rem;
  height: 0.9rem;
  background-size: 0.9rem;
  flex-shrink: 0;
}
.faq-wrapper .accordion-button:not(.collapsed) {
  color: var(--scc-navy);
  background: transparent;
}
.faq-wrapper .accordion-button:hover {
  color: var(--scc-mauve);
}
.faq-wrapper .accordion-button:focus-visible {
  outline: 2px solid var(--scc-mauve);
  outline-offset: -2px;
}

.faq-wrapper .accordion-body {
  padding: 10px 20px 30px;
  color: var(--scc-text);
  font-size: 1rem;
  line-height: 2;
}

/* ---------- Tablet ---------- */
@media (max-width: 991.98px) {
  .faq-section {
    --faq-space-top: 30px;
    --faq-space-bottom: 50px;
  }
  .faq-wrapper .accordion-button {
    padding: 18px 16px 18px 22px;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 575.98px) {
  .faq-section {
    --faq-space-top: 25px;
    --faq-space-bottom: 40px;
  }
  .faq-wrapper .accordion-button {
    font-size: 0.95rem;
    padding: 16px 12px 16px 14px;
    gap: 10px;
    line-height: 1.4;
  }
  .faq-wrapper .accordion-body {
    font-size: 0.92rem;
    line-height: 1.8;
    padding: 6px 14px 22px;
  }
}

/* =========================================================
   VIDEO SECTION
   ========================================================= */
.video-section {
  background: var(--scc-mauve, #92606c);
  padding: 90px 0;
  color: #fff;
}

.video-heading {
  margin: 0;
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
}

/* circular play button */
.video-play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}
.video-play-btn i {
  margin-left: 6px; /* optically centers the triangle */
}
.video-play-btn:hover,
.video-play-btn:focus-visible {
  background: #fff;
  color: var(--scc-mauve, #92606c);
  transform: scale(1.06);
  outline: none;
}

/* modal */
.video-modal .modal-content {
  position: relative;
  background: #000;
  border: 0;
  border-radius: 8px;
  overflow: visible;
}
.video-modal .video-modal-close {
  position: absolute;
  top: -36px;
  right: 0;
  z-index: 5;
}

@media (max-width: 991.98px) {
  .video-section {
    padding: 60px 0;
  }
  .video-heading {
    font-size: 2.4rem;
  }
}
@media (max-width: 575.98px) {
  .video-section {
    padding: 40px 0;
  }
  .video-heading {
    font-size: 1.7rem;
  }
  .video-play-btn {
    width: 72px;
    height: 72px;
    font-size: 1.4rem;
  }
}
/* =========================================================
   LEADER SECTION
   ========================================================= */
.page-banner {
  background-attachment: fixed; /* image stays fixed, content scrolls */
  background-size: cover;
  background-position: center;
}

/* iOS Safari and many mobile browsers ignore "fixed", so use normal scroll there */
@media (max-width: 991.98px) {
  .page-banner {
    background-attachment: scroll;
  }
}
.leader-section {
  padding: 40px 0 100px;
  background: #fff;
}

.leader-name {
  margin: 0 0 12px;
  font-size: 2rem;
  font-weight: 700;
  color: var(--scc-navy);
}

.leader-intro {
  max-width: 540px;
  margin-bottom: 36px;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--scc-text);
}

.leader-subheading {
  margin-bottom: 24px;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--scc-mauve);
}

/* expertise list with round arrow bullets */
.expertise-list {
  max-width: 520px;
  margin-bottom: 40px;
  padding: 0;
}
.expertise-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--scc-text);
}
.expertise-list li::before {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  /* navy circle with white arrow; change %231f4e8c to your navy hex */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%231f4e8c'/%3E%3Cpath d='M4 8h6M7.5 5l3 3-3 3' stroke='white' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat center / contain;
}

/* download button (skip if .btn-scc already styles this) */
.btn-cv {
  display: inline-flex;
  align-items: center;
  padding: 16px 34px;
  font-weight: 600;
  color: #fff;
  background: var(--scc-mauve);
  border: 0;
  border-radius: 4px;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}
.btn-cv:hover {
  color: #fff;
  background: var(--scc-navy);
  transform: translateY(-2px);
}

/* photo */
.leader-img {
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
  margin-top: 20px;
  object-fit: cover;
}

@media (max-width: 991.98px) {
  .leader-section {
    padding: 30px 0 70px;
  }
  .leader-img {
    margin: 0 auto;
  }
}
@media (max-width: 575.98px) {
  .leader-name {
    font-size: 1.6rem;
  }
  .leader-subheading {
    font-size: 1.35rem;
  }
  .expertise-list li {
    font-size: 0.95rem;
  }
}
/* =========================================================
   DARK PAGE HERO + BREADCRUMB
   ========================================================= */
.page-hero {
  display: flex;
  align-items: stretch;
  min-height: 253px;
  background: #10131f;
}

.page-hero-inner {
  position: relative;
  display: flex;
  align-items: center;
}

.page-hero-title {
  margin: 0;
  padding-bottom: 30px;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}

/* white breadcrumb box attached to the bottom-right edge */
.page-breadcrumb {
  position: absolute;
  right: var(--site-gutter);
  bottom: 0;
  padding: 22px 36px;
  background: #fff;
}
.page-breadcrumb .breadcrumb {
  font-size: 1rem;
  font-weight: 700;
}
.page-breadcrumb .breadcrumb-item a {
  color: var(--scc-navy);
  text-decoration: none;
}
.page-breadcrumb .breadcrumb-item a:hover {
  color: var(--scc-mauve);
}
.page-breadcrumb .breadcrumb-item.active {
  color: var(--scc-mauve);
}
.page-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: #c4c4c4;
}

/* extra space between intro text and the CV button */
.leader-intro--spaced {
  margin-bottom: 60px;
}

@media (max-width: 991.98px) {
  .page-hero {
    min-height: 200px;
  }
  .page-hero-title {
    font-size: 2.3rem;
    padding-bottom: 60px;
  }
  .page-breadcrumb {
    padding: 16px 24px;
  }
}
@media (max-width: 575.98px) {
  .page-hero {
    min-height: 170px;
  }
  .page-hero-title {
    font-size: 1.7rem;
    padding-bottom: 56px;
  }
  .page-breadcrumb {
    right: 0;
    padding: 12px 16px;
  }
  .page-breadcrumb .breadcrumb {
    font-size: 0.85rem;
  }
} /* justified intro text, wider column, tighter spacing between paragraphs */
.leader-intro--justify {
  max-width: 100%;
  margin-bottom: 18px;
  text-align: justify;
}
.leader-intro--justify:last-of-type {
  margin-bottom: 36px;
}

/* smaller doctor photo */
.leader-img--small {
  max-width: 280px;
  margin-top: 0;
}

@media (min-width: 992px) {
  .leader-img--small {
    margin-left: 40px; /* pushes the photo slightly in from the left of its column */
  }
}

@media (max-width: 991.98px) {
  .leader-img--small {
    margin: 0 auto;
    max-width: 240px;
  }
}
/* =========================================================
   ROLE SECTION
   ========================================================= */
.role-section {
  padding: 40px 0 70px;
  background: #fff;
}

.role-heading {
  max-width: 800px;
  margin: 0 auto 60px;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  color: var(--scc-blue);
}

.role-list {
  margin: 0;
  padding: 0;
}
.role-list li {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}
.role-list li:last-child {
  margin-bottom: 0;
}

/* circle chevron icon */
.role-icon {
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-left: 20px;
  border: 2px solid var(--scc-mauve);
  border-radius: 50%;
  color: var(--scc-mauve);
  font-size: 1.1rem;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}
.role-list li:hover .role-icon {
  background: var(--scc-mauve);
  color: #fff;
}

.role-list p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--scc-text);
}

@media (max-width: 991.98px) {
  .role-section {
    padding: 30px 0 50px;
  }
  .role-heading {
    font-size: 2.3rem;
    margin-bottom: 40px;
  }
  .role-list li {
    gap: 24px;
  }
  .role-icon {
    margin-left: 0;
  }
}
@media (max-width: 575.98px) {
  .role-heading {
    font-size: 1.6rem;
    margin-bottom: 28px;
  }
  .role-list li {
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 28px;
  }
  .role-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }
  .role-list p {
    font-size: 0.95rem;
    font-weight: 600;
  }
}
/* =========================================================
   INFO / CONTENT PAGES
   (Urinary Incontinence, Spinal Cord, Spinal Defect)
   ========================================================= */

/* ---------- Section spacing (top / bottom per device) ---------- */
.info-page {
  --info-space-top: 50px; /* desktop top */
  --info-space-bottom: 90px; /* desktop bottom */

  padding-top: var(--info-space-top);
  padding-bottom: var(--info-space-bottom);
  background: #fff;
}

/* Tablet */
@media (max-width: 991.98px) {
  .info-page {
    --info-space-top: 35px;
    --info-space-bottom: 60px;
  }
}

/* Mobile */
@media (max-width: 575.98px) {
  .info-page {
    --info-space-top: 24px;
    --info-space-bottom: 40px;
  }
}

/* ---------- Width ---------- */
/* match the shared site width (was 1200px) */
.info-container {
  max-width: var(--site-max-width);
}

/* ---------- Image ---------- */
/* image with rounded corners, soft shadow and red edge */
.info-img--card {
  border-radius: 14px;
  border-right: 6px solid #d62828;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.info-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Titles & headings ---------- */
.info-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--scc-navy);
  margin: 0 0 30px; /* top 0: the section already has top padding */
}
.page-title.info-page-title {
  font-size: 2rem;
}

.info-heading {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--scc-navy);
  margin: 40px 0 14px;
}
.info-heading--first {
  margin-top: 0;
}
.info-heading--tight {
  margin-top: 22px;
}
.info-heading--indent {
  margin-top: 30px;
}

.info-type {
  font-size: 18px;
  font-weight: 800;
  color: #3d3d4d;
  margin: 26px 0 8px;
}

.info-lead {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--scc-navy);
  margin: 0 0 20px;
}

/* ---------- Body text ---------- */
.info-page p {
  font-size: 17px;
  line-height: 2;
  color: var(--scc-text);
  margin: 0 0 12px;
}
.info-page p strong {
  color: var(--scc-navy);
}

/* ---------- Intro: text left, image right ---------- */
.info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 540px;
  column-gap: 40px;
  align-items: start;
}
.info-intro {
  padding-left: 0;
}
.info-intro--justify p {
  text-align: justify;
}
/* second heading inside the left column sits closer */
.info-intro .info-heading {
  margin-top: 28px;
}
.info-intro .info-heading--first {
  margin-top: 0;
}

/* ---------- Lists ---------- */
/* bullet list */
.info-list {
  margin: 0 0 10px;
  padding-left: 20px;
  list-style: disc;
}
.info-list li {
  font-size: 17px;
  line-height: 1.9rem;
  color: var(--scc-text);
}
.info-list li::marker {
  color: #8a8a8a;
}

/* numbered list */
.info-olist {
  margin: 0 0 10px;
  padding-left: 22px;
  list-style: decimal;
}
.info-olist li {
  font-size: 16px;
  line-height: 1.9rem;
  color: var(--scc-text);
}
.info-olist li::marker {
  color: #8a8a8a;
}

/* tight label + text lines (symptoms / treatments) */
.info-points {
  margin-top: 18px;
}
.info-page p.info-point {
  margin: 0;
  line-height: 1.9rem;
}
.info-page p.info-point strong {
  color: #3d3d4d;
  font-weight: 800;
}
.info-points .info-point:has(> strong):not(:first-child) {
  margin-top: 6px;
}

/* ---------- Links ---------- */
.info-page a.info-link {
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}
.info-page a.info-link:hover,
.info-page a.info-link:focus {
  color: var(--scc-mauve);
}
/* underlined link (nocturia) */
.info-page a.info-link--underline {
  text-decoration: underline;
}

/* ---------- Full-width justified body text ---------- */
.info-body p {
  text-align: justify;
}

/* ---------- Smaller question headings (Stool Leakage page) ---------- */
.info-subheading {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--scc-navy);
  margin: 34px 0 10px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Tablet & below: image above the text */
@media (max-width: 991.98px) {
  .info-title {
    font-size: 1.7rem;
    margin-bottom: 22px;
  }
  .info-heading {
    font-size: 1.4rem;
    margin-top: 30px;
  }
  .info-lead {
    font-size: 1.15rem;
  }
  .info-grid {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }
  .info-media {
    order: -1;
    max-width: 540px;
  }
  .info-subheading {
    font-size: 1.1rem;
    margin-top: 26px;
  }
}

/* Mobile */
@media (max-width: 575.98px) {
  .info-title {
    font-size: 1.45rem;
    margin-bottom: 16px;
  }
  .info-heading {
    font-size: 1.25rem;
  }
  .info-lead {
    font-size: 1.05rem;
  }
  .info-page p,
  .info-list li,
  .info-olist li {
    font-size: 0.92rem;
  }
  .info-subheading {
    font-size: 1.02rem;
  }
}
/* =========================================================
   SYMPTOMS IN CHILDREN
   ========================================================= */

/* banner image for this page */
.page-banner--symptoms {
  background-image: url("../images/6.jpg"); /* change to your image */
  background-position: center;
}

/* section spacing (top / bottom per device) */
.symptoms-section {
  --sym-space-top: 90px;
  --sym-space-bottom: 90px;
  padding-top: var(--sym-space-top);
  padding-bottom: var(--sym-space-bottom);
  background: #fff;
}

.sym-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch; /* equal card height in each row */
}

/* bordered card, centered content */
.sym-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 14px 30px;
  border: 2px solid var(--scc-mauve);
  background: #fff;
  transition: border-color 0.3s ease;
}
.sym-card:hover {
  border-color: var(--scc-navy);
}

/* icon square (mauve by default, navy on even cards) */
.box-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  margin: 0 0 24px;
  background: var(--scc-mauve);
  overflow: hidden;
  transition: background 0.3s ease;
}
.sym-card:nth-child(even) .box-icon {
  background: var(--scc-blue);
}

/* hover: colours swap, icon zooms in and out */
.sym-card:hover .box-icon {
  background: var(--scc-blue);
}
.sym-card:nth-child(even):hover .box-icon {
  background: var(--scc-mauve);
}

.box-icon-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  transform-origin: center;
}
.box-icon-inner svg {
  display: block;
  width: 64px;
  height: 64px;
}
.sym-card:hover .box-icon-inner {
  animation: symZoom 1.1s ease-in-out infinite;
}
@keyframes symZoom {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}

/* title: always two lines tall so paragraphs start on the same line */
.sym-card h3 {
  width: 100%;
  min-height: calc(1.9em * 2);
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.9;
  color: var(--scc-text);
  text-align: center;
  transition: color 0.3s ease;
}
.sym-card:hover h3 {
  color: var(--scc-mauve);
}

/* paragraph */
.sym-card p {
  flex: 1;
  width: 100%;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--scc-text);
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

@media (prefers-reduced-motion: reduce) {
  .sym-card:hover .box-icon-inner {
    animation: none;
  }
  .box-icon,
  .sym-card,
  .sym-card h3 {
    transition: none;
  }
}

/* Tablet: 2 columns */
@media (max-width: 991.98px) {
  .symptoms-section {
    --sym-space-top: 60px;
    --sym-space-bottom: 60px;
  }
  .sym-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sym-card h3 {
    font-size: 1.1rem;
  }
  /* with 2 columns the even/odd colours would line up in stripes, so alternate per row */
  .sym-card:nth-child(even) .box-icon {
    background: var(--scc-mauve);
  }
  .sym-card:nth-child(4n + 2) .box-icon,
  .sym-card:nth-child(4n + 3) .box-icon {
    background: var(--scc-blue);
  }
  .sym-card:hover .box-icon {
    background: var(--scc-navy) !important;
  }
}

/* Mobile: 1 column */
@media (max-width: 575.98px) {
  .symptoms-section {
    --sym-space-top: 36px;
    --sym-space-bottom: 40px;
  }
  .sym-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .box-icon {
    width: 130px;
    height: 130px;
  }
  .sym-card h3 {
    min-height: 0;
    font-size: 1.05rem;
    line-height: 1.6;
  }
  .sym-card p {
    flex: none;
    font-size: 0.92rem;
    text-align: left;
  }

  /* back to simple alternating on one column */
  .sym-card .box-icon {
    background: var(--scc-mauve);
  }
  .sym-card:nth-child(even) .box-icon {
    background: var(--scc-blue);
  }
}
/* =========================================================
   SPLIT SECTIONS (text + image, coloured full-width background)
   ========================================================= */
.split-section--light {
  background: #e9e5e5;
}
.split-section--mauve {
  background: var(--scc-mauve);
}

.split-media {
  display: flex;
}
.split-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.split-text {
  display: flex;
  align-items: center;
  padding: 50px 30px;
}
/* spacing from the image side */
.split-section--light .split-text {
  padding-left: 0;
  padding-right: 40px;
}
.split-section--mauve .split-text {
  padding-left: 50px;
  padding-right: 0;
}

.split-list {
  margin: 0;
  padding: 0;
  width: 100%;
}
.split-list li {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 34px;
}
.split-list li:last-child {
  margin-bottom: 0;
}

.split-list p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
}
.split-section--light .split-list p {
  color: #5c5c5c;
}
.split-section--mauve .split-list p {
  color: #fff;
}

/* round chevron icon */
.split-icon {
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.3rem;
  transition: transform 0.25s ease;
}
.split-section--light .split-icon {
  background: var(--scc-mauve);
  color: #fff;
}
.split-section--mauve .split-icon {
  background: #fff;
  color: var(--scc-mauve);
}
.split-list li:hover .split-icon {
  transform: scale(1.1);
}

/* Tablet & mobile: stack, image on top */
@media (max-width: 991.98px) {
  .split-section .split-media {
    order: -1;
  }
  .split-img {
    min-height: 260px;
  }
  .split-section .split-text,
  .split-section--light .split-text,
  .split-section--mauve .split-text {
    padding: 36px var(--site-gutter);
  }
}
@media (max-width: 575.98px) {
  .split-list li {
    gap: 14px;
    margin-bottom: 24px;
  }
  .split-icon {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
  .split-list p {
    font-size: 0.98rem;
    font-weight: 600;
  }
}
/* =========================================================
   EFFECT ON KIDNEYS
   ========================================================= */

/* banner image for this page */
.page-banner--kidneys {
  background-image: url("../images/10.jpg"); /* change to your new banner image */
  background-position: center;
}

/* section spacing (top / bottom per device) */
.kidney-section {
  --kidney-space-top: 90px;
  --kidney-space-bottom: 90px;
  padding-top: var(--kidney-space-top);
  padding-bottom: var(--kidney-space-bottom);
  background: #fff;
}

.kidney-img {
  display: block;
  width: 100%;
  max-width: 540px;
  height: auto;
}

/* bullet rows */
.kidney-list {
  margin: 0;
  padding: 0;
}
.kidney-list li {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 44px;
}
.kidney-list li:last-child {
  margin-bottom: 0;
}

.kidney-list p {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--scc-text);
}

/* round mauve chevron icon */
.kidney-icon {
  flex: 0 0 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--scc-mauve);
  color: #fff;
  font-size: 1.5rem;
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}
.kidney-list li:hover .kidney-icon {
  background: var(--scc-mauve-dark);
  transform: scale(1.08);
}

/* heading + body text */
.kidney-heading {
  margin: 60px 0 40px;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--scc-navy);
}
.kidney-body p {
  margin: 0 0 14px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--scc-text);
  text-align: justify;
}
.kidney-body p strong {
  color: var(--scc-text);
  font-weight: 800;
}

/* Tablet */
@media (max-width: 991.98px) {
  .kidney-section {
    --kidney-space-top: 60px;
    --kidney-space-bottom: 60px;
  }
  .kidney-img {
    margin: 0 auto;
    max-width: 480px;
  }
  .kidney-list li {
    gap: 22px;
    margin-bottom: 30px;
  }
  .kidney-icon {
    flex-basis: 64px;
    width: 64px;
    height: 64px;
    font-size: 1.5rem;
  }
  .kidney-list p {
    font-size: 1.1rem;
  }
  .kidney-heading {
    margin: 40px 0 24px;
    font-size: 1.7rem;
  }
}

/* Mobile */
@media (max-width: 575.98px) {
  .kidney-section {
    --kidney-space-top: 36px;
    --kidney-space-bottom: 40px;
  }
  .kidney-list li {
    gap: 14px;
    margin-bottom: 24px;
  }
  .kidney-icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }
  .kidney-list p {
    font-size: 1rem;
    font-weight: 600;
  }
  .kidney-heading {
    margin: 30px 0 18px;
    font-size: 1.45rem;
  }
  .kidney-body p {
    font-size: 0.95rem;
    text-align: left;
  }
}
/* =========================================================
   VISION & MISSION
   ========================================================= */
.vm-section {
  --vm-space-top: 65px;
  --vm-space-bottom: 140px;
  padding-top: var(--vm-space-top);
  padding-bottom: var(--vm-space-bottom);
  background: #fff;
}

/* collage */
.vm-collage {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 645px;
}
.vm-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 327px;
  background: var(--scc-mauve);
}
.vm-img {
  position: absolute;
  display: block;
  object-fit: cover;
}
.vm-img--large {
  top: 0;
  left: 60px;
  width: calc(100% - 60px);
  height: 613px;
}
.vm-img--small {
  bottom: 0;
  left: 0;
  width: 286px;
  height: 286px;
}

/* text */
.vm-heading {
  margin: 0 0 60px;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--scc-blue);
}
.vm-list {
  margin: 0;
  padding: 0;
}
.vm-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 40px;
}
.vm-list li:last-child {
  margin-bottom: 0;
}
.vm-list p {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--scc-text);
}
.vm-icon {
  flex: 0 0 auto;
  margin-top: 3px;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--scc-mauve);
}

/* Tablet */
@media (max-width: 991.98px) {
  .vm-section {
    --vm-space-top: 45px;
    --vm-space-bottom: 70px;
  }
  .vm-collage {
    margin: 0 auto;
    height: 560px;
  }
  .vm-img--large {
    height: 530px;
  }
  .vm-img--small {
    width: 240px;
    height: 240px;
  }
  .vm-heading {
    margin-bottom: 36px;
    font-size: 2.4rem;
  }
}

/* Mobile */
@media (max-width: 575.98px) {
  .vm-section {
    --vm-space-top: 30px;
    --vm-space-bottom: 45px;
  }
  .vm-collage {
    height: 420px;
  }
  .vm-bar {
    width: 20px;
    height: 200px;
  }
  .vm-img--large {
    left: 40px;
    width: calc(100% - 40px);
    height: 390px;
  }
  .vm-img--small {
    width: 160px;
    height: 160px;
  }
  .vm-heading {
    font-size: 1.8rem;
    margin-bottom: 24px;
  }
  .vm-list li {
    margin-bottom: 26px;
  }
  .vm-list p {
    font-size: 1rem;
    font-weight: 600;
  }
}
/* =========================================================
   AIMS OF SCC
   ========================================================= */
.aims-heading {
  margin: 0 0 24px;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--scc-blue);
}

/* ---------- Education ---------- */
.aims-education {
  --aims-space-top: 60px;
  --aims-space-bottom: 90px;
  padding-top: var(--aims-space-top);
  padding-bottom: var(--aims-space-bottom);
  background: #fff;
}
.aims-intro {
  max-width: 980px;
  margin: 0 0 30px;
  font-size: 16px;
  line-height: 2;
  color: var(--scc-text);
}
.aims-list {
  margin: 0;
  padding: 0;
}
.aims-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.aims-list i {
  flex: 0 0 40px;
  text-align: center;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--scc-mauve);
}
.aims-list span {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--scc-text);
}

/* ---------- Facilities ---------- */
.facilities-head {
  padding: 80px 15px;
  text-align: center;
  background: var(--scc-blue);
}
.facilities-head h2 {
  margin: 0;
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.facility-tile {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 240px;
  padding: 40px 40px;
}
.facility-tile i {
  flex: 0 0 60px;
  text-align: center;
  font-size: 3rem;
  line-height: 1;
}
.facility-tile p {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.25;
}
/* checkerboard: 1 and 4 mauve, 2 and 3 white */
.facility-tile:nth-child(1),
.facility-tile:nth-child(4) {
  background: var(--scc-mauve);
  color: #fff;
}
.facility-tile:nth-child(2),
.facility-tile:nth-child(3) {
  background: #fff;
  color: var(--scc-text);
}
.facility-tile:nth-child(2) i,
.facility-tile:nth-child(3) i {
  color: var(--scc-mauve);
}
.facility-tile:nth-child(1) p,
.facility-tile:nth-child(4) p {
  color: #fff;
}
.facility-tile:nth-child(2) p,
.facility-tile:nth-child(3) p {
  color: var(--scc-text);
}

/* ---------- Departments ---------- */
.dept-section {
  --aims-space-top: 80px;
  --aims-space-bottom: 90px;
  padding-top: var(--aims-space-top);
  padding-bottom: var(--aims-space-bottom);
  background: #e9e5e5;
}
.dept-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
  max-width: 560px;
  margin-left: auto;
}
.dept-card {
  text-align: center;
}

/* icon box (same behaviour as Symptoms in Children) */
.dept-card .box-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  margin: 0 auto 18px;
  background: var(--scc-mauve);
  overflow: hidden;
  transition: background 0.3s ease;
}
/* order: mauve, blue, blue, mauve */
.dept-card:nth-child(2) .box-icon,
.dept-card:nth-child(3) .box-icon {
  background: var(--scc-blue);
}

/* hover: colours swap */
.dept-card:hover .box-icon {
  background: var(--scc-blue);
}
.dept-card:nth-child(2):hover .box-icon,
.dept-card:nth-child(3):hover .box-icon {
  background: var(--scc-mauve);
}

.dept-card .box-icon-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  transform-origin: center;
}
.dept-card .box-icon-inner svg {
  display: block;
  width: 64px;
  height: 64px;
}

/* hover: icon zooms in and out */
.dept-card:hover .box-icon-inner {
  animation: deptZoom 1.1s ease-in-out infinite;
}
@keyframes deptZoom {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}

.dept-card p {
  margin: 0 auto;
  width: 100%;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--scc-text);
  transition: color 0.3s ease;
}
.dept-card:hover p {
  color: var(--scc-mauve);
}

@media (prefers-reduced-motion: reduce) {
  .dept-card:hover .box-icon-inner {
    animation: none;
  }
  .dept-card .box-icon,
  .dept-card p {
    transition: none;
  }
}

/* ---------- Tablet ---------- */
@media (max-width: 991.98px) {
  .aims-heading,
  .facilities-head h2 {
    font-size: 2.4rem;
  }
  .aims-education {
    --aims-space-top: 40px;
    --aims-space-bottom: 60px;
  }
  .dept-section {
    --aims-space-top: 50px;
    --aims-space-bottom: 60px;
  }
  .facilities-head {
    padding: 55px 15px;
  }
  .facility-tile {
    padding: 30px 24px;
    min-height: 200px;
  }
  .facility-tile p {
    font-size: 1.3rem;
  }
  .dept-grid {
    margin: 0 auto;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 575.98px) {
  .aims-heading,
  .facilities-head h2 {
    font-size: 1.8rem;
  }
  .aims-education {
    --aims-space-top: 30px;
    --aims-space-bottom: 40px;
  }
  .dept-section {
    --aims-space-top: 36px;
    --aims-space-bottom: 40px;
  }
  .aims-list span {
    font-size: 0.95rem;
    font-weight: 600;
  }
  .aims-list i {
    flex-basis: 30px;
    font-size: 1.4rem;
  }
  .facilities-grid {
    grid-template-columns: 1fr;
  }
  /* one column: alternate mauve / white */
  .facility-tile:nth-child(odd) {
    background: var(--scc-mauve);
  }
  .facility-tile:nth-child(even) {
    background: #fff;
  }
  .facility-tile:nth-child(odd) i,
  .facility-tile:nth-child(odd) p {
    color: #fff;
  }
  .facility-tile:nth-child(even) i {
    color: var(--scc-mauve);
  }
  .facility-tile:nth-child(even) p {
    color: var(--scc-text);
  }
  .facility-tile {
    min-height: 150px;
    gap: 16px;
  }
  .facility-tile i {
    flex-basis: 44px;
    font-size: 2.2rem;
  }
  .facility-tile p {
    font-size: 1.1rem;
  }
  .dept-grid {
    gap: 22px 16px;
  }
  .dept-card .box-icon {
    width: 120px;
    height: 120px;
  }
  .dept-card p {
    font-size: 0.95rem;
  }
}/* =========================================================
   PATIENT WORKFLOW
   ========================================================= */
.workflow-section {
  --wf-space-top: 50px;
  --wf-space-bottom: 40px;
  padding-top: var(--wf-space-top);
  padding-bottom: var(--wf-space-bottom);
  background: #fff;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 30px;
}

.workflow-step {
  text-align: center;
}

/* big blue circle */
.workflow-circle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  height: 190px;
  margin: 0 auto 36px;
  border-radius: 50%;
  background: var(--scc-blue);
  color: #fff;
  transition: background 0.3s ease, transform 0.3s ease;
}

/* icon wrapper inside the circle (overrides the .box-icon square used on other pages) */
.workflow-circle .box-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  margin: -14px 0 0;      /* lifts the icon above the number badge */
  background: none;
  overflow: visible;
}
.workflow-circle .box-icon i {
  display: block;
  font-size: 3.4rem;
  line-height: 1;
  color: #fff;
}

/* small mauve number badge */
.workflow-num {
  position: absolute;
  left: 50%;
  bottom: -30px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--scc-mauve);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1;
  transform: translateX(-50%);
  transition: background 0.3s ease;
}

/* title */
.workflow-step h3 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--scc-navy);
  transition: color 0.3s ease;
}

/* hover */
.workflow-step:hover .workflow-circle {
  background: var(--scc-mauve);
  transform: translateY(-4px);
}
.workflow-step:hover .workflow-num {
  background: var(--scc-blue);
}
.workflow-step:hover h3 {
  color: var(--scc-mauve);
}

@media (prefers-reduced-motion: reduce) {
  .workflow-circle,
  .workflow-num,
  .workflow-step h3 { transition: none; }
  .workflow-step:hover .workflow-circle { transform: none; }
}

/* Tablet */
@media (max-width: 991.98px) {
  .workflow-section {
    --wf-space-top: 40px;
    --wf-space-bottom: 30px;
  }
  .workflow-grid { gap: 50px 20px; }
  .workflow-circle { width: 150px; height: 150px; }
  .workflow-circle .box-icon i { font-size: 2.8rem; }
  .workflow-num { width: 50px; height: 50px; bottom: -25px; font-size: 1.1rem; }
  .workflow-step h3 { font-size: 1.3rem; }
}

/* Mobile: 2 per row */
@media (max-width: 575.98px) {
  .workflow-section {
    --wf-space-top: 30px;
    --wf-space-bottom: 20px;
  }
  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 44px 12px;
  }
  .workflow-circle { width: 120px; height: 120px; margin-bottom: 32px; }
  .workflow-circle .box-icon i { font-size: 2.2rem; }
  .workflow-num { width: 42px; height: 42px; bottom: -21px; font-size: 0.95rem; }
  .workflow-step h3 { font-size: 1.05rem; }
}
/* =========================================================
   MMC IN PUNE
   ========================================================= */
.mmc-section {
  --mmc-space-top: 55px;
  --mmc-space-bottom: 60px;
  padding-top: var(--mmc-space-top);
  padding-bottom: var(--mmc-space-bottom);
  background: #fff;
}

.mmc-heading {
  margin: 0 15px 14px;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--scc-navy);
}

.mmc-list {
  margin: 0;
  padding: 0;
}
.mmc-list li {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 22px;
}
.mmc-list li:last-child {
  margin-bottom: 0;
}

/* large mauve chevron */
.mmc-icon {
  flex: 0 0 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--scc-mauve);
  transition: transform 0.25s ease;
}
.mmc-icon i {
  -webkit-text-stroke: 3px currentColor; /* makes the chevron bolder */
}
.mmc-list li:hover .mmc-icon {
  transform: translateX(5px);
}

.mmc-list p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--scc-text);
}

/* Tablet */
@media (max-width: 991.98px) {
  .mmc-section {
    --mmc-space-top: 40px;
    --mmc-space-bottom: 45px;
  }
  .mmc-heading { font-size: 1.7rem; }
  .mmc-list li { gap: 20px; }
  .mmc-icon { flex-basis: 40px; font-size: 2.2rem; }
}

/* Mobile */
@media (max-width: 575.98px) {
  .mmc-section {
    --mmc-space-top: 30px;
    --mmc-space-bottom: 35px;
  }
  .mmc-heading { font-size: 1.45rem; }
  .mmc-list li { gap: 12px; margin-bottom: 18px; }
  .mmc-icon { flex-basis: 28px; font-size: 1.6rem; }
  .mmc-list p { font-size: 0.98rem; font-weight: 600; }
}
/* banner image for this page (use a different image) */
.page-banner--about {
  background-image: url("../images/aboutscc.jpg"); /* change to your image */
  background-position: center;
}

/* =========================================================
   ABOUT SCC
   ========================================================= */
.about-section {
  --about-space-top: 40px;
  --about-space-bottom: 60px;
  padding-top: var(--about-space-top);
  padding-bottom: var(--about-space-bottom);
  background: #fff;
}

.about-title {
  margin: 0 0 14px;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--scc-navy);
}

.about-lead {
  max-width: 1040px;
  margin: 0 auto 18px;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: justify;
  color: var(--scc-text);
}

.about-text {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.55;
  text-align: justify;
  color: var(--scc-text);
}

/* Tablet */
@media (max-width: 991.98px) {
  .about-section {
    --about-space-top: 30px;
    --about-space-bottom: 45px;
  }
  .about-title { font-size: 1.7rem; }
  .about-lead { font-size: 1.4rem; }
  .about-text { font-size: 1rem; }
}

/* Mobile */
@media (max-width: 575.98px) {
  .about-section {
    --about-space-top: 24px;
    --about-space-bottom: 35px;
  }
  .about-title { font-size: 1.35rem; }
  .about-lead { font-size: 1.15rem; }
  .about-text { font-size: 0.95rem; text-align: justify; }
}/* =========================================================
   HERO BANNER
   ========================================================= */
.hero-banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 500px;
  padding: 60px 0;
  background: var(--scc-blue) url("../images/1.png") center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.hero-banner .site-container {
  position: relative;
  z-index: 1;
}

.hero-title {
  margin: 0 0 34px;
  font-size: 48px;
  font-weight: 700;
  color: #fff;
}
.hero-sub {
  max-width: 640px;
  margin: 0 0 34px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
}
.hero-btn {
  padding: 12px 28px;
  border-radius: 0;
  font-weight: 900;
  letter-spacing: 1px;
}

/* =========================================================
   INTRO CARD
   ========================================================= */
.intro-card {
  background: #fff;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.07);
}
.intro-inner {
  padding-top: 40px;
  padding-bottom: 30px;
}
.intro-heading {
  margin: 0 0 18px;
  font-size: 33px;
  font-weight: 800;
  color: var(--scc-blue);
}
.intro-card p {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--scc-text);
}
.intro-card p strong {
  color: var(--scc-navy);
}
.intro-card a.intro-link {
  color: var(--scc-navy);
  text-decoration: none;

  transition: color 0.2s ease;
}
.intro-card a.intro-link:hover,
.intro-card a.intro-link:focus {
  color: var(--scc-mauve);
}
/* =========================================================
   SPINE AND CHILD CENTRE
   ========================================================= */
.scc-section {
  --scc-space-top: 60px;
  --scc-space-bottom: 90px;
  padding-top: var(--scc-space-top);
  padding-bottom: var(--scc-space-bottom);
  background: #fff;
}

.scc-media {
  position: relative;
  max-width: 480px;
  margin-left: auto;
  padding-left: 0;
}
.scc-img {
  display: block;
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-bottom: 10px solid var(--scc-mauve);
}
.scc-card {
  position: absolute;
  left: -30px;
  top: 60px;
  width: 240px;
  padding: 28px 30px;
  background: #fff;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
}
.scc-card h3 {
  margin: 0 0 18px;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--scc-mauve);
}
.scc-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: var(--scc-text);
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.scc-heading {
  margin: 0 0 18px;
  font-size: 2rem;
  font-weight: 800;
  color: var(--scc-blue);
}
.scc-text {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 2.1;
  color: var(--scc-text);
}
.scc-offer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
  color: var(--scc-mauve);
}
.scc-offer i {
  font-size: 1.1rem;
}

.scc-list {
  margin: 0;
  padding-left: 20px;
  list-style: disc;
}
.scc-list li {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 2;
  color: var(--scc-text);
}
.scc-list li strong {
  color: #3d3d4d;
}
.scc-list li::marker {
  color: #8a8a8a;
}

.scc-list--wide {
  margin-top: 40px;
  padding-left: 38px;
}
.scc-list--wide li {
  margin-bottom: 14px;
}

/* =========================================================
   DOWNLOAD RESOURCES
   ========================================================= */

/* heading bar: sticky (fixed) background image */
.resources-head {
  position: relative;
  padding: 80px 15px;
  text-align: center;
  background: var(--scc-blue) url("../images/3.jpg") center / cover no-repeat;
  background-attachment: fixed; /* image stays fixed, page scrolls over it */
  overflow: hidden;
}

.resources-head .site-container {
  position: relative;
  z-index: 1;
}
.resources-head h2 {
  margin: 0;
  font-size: 60px;
  font-weight: 800;
  color: #fff;
}

/* tiles */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.resource-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 190px;
  padding: 36px 30px;
  background-color: var(--scc-mauve);
  overflow: hidden;
}

/* layer 1: background image (zooms on hover) */
.resource-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--tile-bg) center / cover no-repeat;
  transition: transform 0.6s ease;
}

/* layer 2: colour overlay (changes on hover) */
.resource-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(150, 86, 107, 0.88);
  transition: background 0.3s ease;
}

/* layer 3: content */
.resource-tile > * {
  position: relative;
  z-index: 2;
}



/* tile images (change the file names) */
.resource-tile--1 { --tile-bg: url("../images/4.jpg"); }
.resource-tile--2 { --tile-bg: url("../images/5.jpg"); }
.resource-tile--3 { --tile-bg: url("../images/5.jpg"); }
.resource-tile--4 { --tile-bg: url("../images/4.jpg"); }

.resource-top {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.resource-top i {
  flex: 0 0 auto;
  font-size: 2.6rem;
  line-height: 1;
  color: #fff;
}
.resource-top h3 {
  margin: 0;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
}
.resource-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  background: #fff;
  color: var(--scc-navy);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}


@media (prefers-reduced-motion: reduce) {
  .resource-tile::after,
  .resource-tile::before,
  .resource-btn {
    transition: none;
  }
  .resource-tile:hover::after {
    transform: none;
  }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991.98px) {
  .hero-banner { min-height: 340px; padding: 45px 0; }
  .hero-title { font-size: 1.9rem; margin-bottom: 22px; }
  .hero-sub { font-size: 1.7rem; margin-bottom: 24px; }

  .intro-heading,
  .scc-heading { font-size: 1.7rem; }

  .scc-section { --scc-space-top: 40px; --scc-space-bottom: 60px; }
  .scc-media { margin: 0 auto; max-width: 520px; }
  .scc-card { left: 0; top: 30px; }
  .scc-list--wide { padding-left: 20px; }

  /* "fixed" is ignored on iOS and many mobile browsers, so use scroll */
  .resources-head {
    padding: 55px 15px;
    background-attachment: scroll;
  }
  .resources-head h2 { font-size: 2.4rem; }
  .resources-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575.98px) {
  .hero-banner { min-height: 280px; padding: 35px 0; }
  .hero-title { font-size: 1.5rem; margin-bottom: 14px; }
  .hero-sub { font-size: 1.25rem; margin-bottom: 18px; }

  .intro-inner { padding-top: 28px; padding-bottom: 18px; }
  .intro-heading,
  .scc-heading { font-size: 1.45rem; }

  .scc-section { --scc-space-top: 30px; --scc-space-bottom: 40px; }
  .scc-img { height: 360px; }
  .scc-card { position: static; width: 100%; margin-top: -40px; padding: 22px; }
  .scc-media { display: flex; flex-direction: column; }

  .resources-head h2 { font-size: 1.8rem; }
  .resources-grid { grid-template-columns: 1fr; }
  .resource-tile { min-height: 0; padding: 28px 20px; }
  .resource-top h3 { font-size: 1.2rem; }
}
/* =========================================================
   CONTACT FORM
   ========================================================= */
.contact-section {
  --contact-space-top: 50px;
  --contact-space-bottom: 100px;
  padding-top: var(--contact-space-top);
  padding-bottom: var(--contact-space-bottom);
  background: #fff;
}

.contact-heading {
  margin: 0 0 40px;
  text-align: center;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--scc-blue);
}

.contact-panel {
  padding: 60px 80px 80px;
  background: #eef3f3;
}

.contact-field {
  margin-bottom: 20px;
}
.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.contact-row .contact-field {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  padding: 19px 15px;
  border: 1px solid transparent;
  border-radius: 0;
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
  color: var(--scc-navy);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form textarea {
  min-height: 220px;
  padding: 25px 20px;
  resize: vertical;
}
.contact-form ::placeholder {
  color: #7a7a7a;
  opacity: 1;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--scc-mauve);
  box-shadow: 0 0 0 3px rgba(150, 86, 107, 0.18);
}

.contact-btn {
  margin-top: 10px;
  padding: 18px 35px;
  min-width: 264px;
  border: 0;
  border-radius: 0;
  background: var(--scc-mauve);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.contact-btn:hover,
.contact-btn:focus-visible {
  background: var(--scc-mauve-dark);
  transform: translateY(-2px);
}

/* Tablet */
@media (max-width: 991.98px) {
  .contact-section {
    --contact-space-top: 40px;
    --contact-space-bottom: 70px;
  }
  .contact-heading { font-size: 2.4rem; margin-bottom: 30px; }
  .contact-panel { padding: 40px 30px 50px; }
}

/* Mobile */
@media (max-width: 575.98px) {
  .contact-section {
    --contact-space-top: 30px;
    --contact-space-bottom: 45px;
  }
  .contact-heading { font-size: 1.8rem; margin-bottom: 22px; }
  .contact-panel { padding: 24px 16px 30px; }
  .contact-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form textarea { min-height: 170px; }
  .contact-btn { width: 100%; min-width: 0; text-align: center; }
}
/* =========================================================
   GLOBAL TEXT JUSTIFY (all pages)
   Keep this block at the END of the stylesheet
   ========================================================= */
p,
li,
.accordion-body {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* ---------- Keep these left / centered ---------- */

/* navigation, top bar, breadcrumb */
.main-nav li,
.top-bar li,
.page-breadcrumb li,
.site-search-results {
  text-align: left;
}

/* footer */
.footer-text,
.footer-links li,
.footer-contact li,
.footer-contact address {
  text-align: left;
}
.footer-copy,
.footer-bottom p {
  text-align: center;
}

/* centered cards (these already have center, repeated here for safety) */
.dept-card p {
  text-align: center;
}

/* ---------- Mobile: your old rules forced left, so switch them to justify ---------- */
@media (max-width: 575.98px) {
  .sym-card p,
  .kidney-body p {
    text-align: justify;
  }
}

/* ---------- Mobile footer: About block stays centered ---------- */
@media (max-width: 767.98px) {
  .footer-about .footer-text {
    text-align: center;
  }
}