/* =====================================================
   BTPA – Custom Styles (Bootstrap 5)
   ===================================================== */


/* ---------- Brand variables ---------- */
:root {
    /* Primary brand colours (match existing site) */
    --btpa-blue: #21498f;        /* main brand blue */
    --btpa-blue-dark: #18376b;   /* hover / emphasis */

    --btpa-orange: #e67700;
    --btpa-orange-dark: #c75f00;

    --btpa-grey-light: #f4f6f8;
    --btpa-text: #212529;
    
    --border: #e5e7eb;
    --text: #374151;
    --muted: #6b7280;
    --soft: #f8fafc;
    --soft-warm: #fff8ef;
    --danger: #b91c1c;
    --success: #166534;
}

/* ---------- Base typography ---------- */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}


body {
    font-family: system-ui, -apple-system, "Segoe UI",
                 Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--btpa-text);
    line-height: 1.6;
}

h1, h2, h3, h4, h5 {
    font-weight: 600;
    color: var(--btpa-blue);
}

p {
    margin-bottom: 1rem;
}
p.lead {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 780px;
}

/* ---------- Base typography ---------- */

/* Default (mobile-first) */
p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Desktop and up */
@media (min-width: 992px) {  /* Bootstrap lg breakpoint */
  p {
    font-size: 1.2rem; 
  }
}

.members-login-page {
  min-height: calc(100vh - 160px);
}

.members-login-page .card {
  background: #ffffff;
}

.members-login-page .form-control {
  border-radius: 0.75rem;
  padding: 0.7rem 0.9rem;
}

.members-login-page .btn {
  border-radius: 0.75rem;
  padding: 0.7rem 1rem;
}

.btpa-hero-content {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.btpa-hero-content h1,
.btpa-hero-content p {
  text-align: center;
}

.btpa-hero-content p {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1400px) {
  .btpa-hero-content {
    max-width: 1200px;
  }

  .btpa-hero-content p {
    max-width: 900px;
  }
}

.btpa-check-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.25rem;
}

.btpa-check-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.6rem;
}

.btpa-check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: var(--btpa-blue);
}

.notice {
    background: var(--soft-warm);
    border: 1px solid #f3d6ac;
    border-radius: 10px;
    padding: 1rem 1.1rem;
    margin: 1rem 0 1.5rem;
}

.form-error {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid #b91c1c;
  border-radius: 0.5rem;
  background: #fff1f2;
  color: #991b1b;
  font-weight: 600;
}

.check-item.validation-error {
  border: 2px solid #b91c1c;
  background: #fff1f2;
  border-radius: 0.75rem;
  padding: 0.75rem;
}

.hidden {
  display: none !important;
}

.membership-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 2rem;
}

.membership-card {
    position: relative;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: #fff;
    padding: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.membership-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.membership-card input[type="radio"] {
    position: absolute;
    inset: 1rem 1rem auto auto;
    width: 20px;
    height: 20px;
}

.membership-card.is-selected {
    border-color: var(--btpa-orange);
    box-shadow: 0 0 0 3px rgba(239,130,20,0.12);
}

.membership-card h3 {
    margin-top: 0;
    margin-right: 2rem;
}

.membership-card .price {
    font-weight: 700;
    color: var(--btpa-orange);
    margin: 0 0 0.5rem;
}

.membership-card ul {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

.file-size-status {
    margin: 1rem 0 0.5rem;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}
.file-size-status.too-large {
    border-color: #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

.file-size-warning {
    margin: 0 0 1rem;
    padding: 0.75rem 1rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    border-radius: 8px;
    font-weight: 600;
}

.file-size-placeholder {
  margin-top: 1rem;
}

.hidden {
    display: none !important;
}

.form-actions {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.form-section {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    margin: 1.25rem 0;
    background: #fff;
}

.form-section.hidden {
    display: none;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 820px) {
    .form-row-3 {
        grid-template-columns: 1fr;
    }
}

.form-row-country-email {
    grid-template-columns: 160px minmax(0, 1fr);
}
@media (max-width: 820px) {
    .form-row-country-email {
        grid-template-columns: 1fr;
    }
}

.field {
    display: flex;
    flex-direction: column;
}

.field.full-width {
    grid-column: 1 / -1;
}

/* Keep clinic form fields consistent */
.form-row .field input[type="email"],
.form-row .field input[type="url"] {
    height: calc(1.5em + 0.75rem + 2px);
    box-sizing: border-box;
}

label {
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--btpa-blue);
}

.hint {
    font-size: 0.92rem;
    color: var(--muted);
    margin-top: 0.25rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea,
select {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font: inherit;
    background: #fff;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.check-group {
    display: grid;
    gap: 0.65rem;
    margin-top: 0.5rem;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.check-item input {
    margin-top: 0.2rem;
}

.check-item input[type="checkbox"] {
    transform: scale(1.6);   /* increase size */
    margin-right: 10px;      /* spacing from text */
    cursor: pointer;
}

.upload-list {
    display: grid;
    gap: 1rem;
}

.upload-item {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem;
    background: var(--soft);
}

.upload-item.required {
    border-left: 4px solid var(--btpa-orange);
}

.upload-item.optional {
    border-left: 4px solid #94a3b8;
}

.upload-item label {
    margin-bottom: 0.5rem;
    display: block;
}

.review-box {
    background: var(--soft);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem;
}

.status-list {
    margin: 0;
    padding-left: 1.2rem;
}

.status-list li {
    margin-bottom: 0.4rem;
}

.status-ok {
    color: var(--success);
    font-weight: 600;
}

.status-problem {
    color: var(--danger);
    font-weight: 600;
}

.actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.btn {
    border: 0;
    border-radius: 8px;
    padding: 0.9rem 1.2rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

/* DUPLUCATE .btn-primary {
    background: var(--btpa-orange);
    color: #fff;
}*/

/* DUPLICATE .btn-secondary {
    background: #e5e7eb;
    color: #111827;
}*/

.btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
}

.small {
    font-size: 0.92rem;
    color: var(--muted);
}

.divider {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 2rem 0;
}

@media (max-width: 820px) {
    .membership-grid,
    .form-row {
        grid-template-columns: 1fr;
    }
}

.text-small {
    font-size: 0.75rem;
}

.text-btpa-orange {
    color: var(--btpa-orange);
}

.text-primary { color: var(--btpa-blue) !important; }  /* official BTPA blue */
.bg-primary { background-color: var(--btpa-blue) !important; }  /* official BTPA blue */

/* ---------- Social media icons ---------- */
.social-links {
    gap: 0.35rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    color: rgba(255,255,255,0.9);
    font-size: 1.15rem;

    text-decoration: none !important;

    transition:
        color 0.2s ease,
        opacity 0.2s ease,
        transform 0.2s ease;
}

.social-icon:hover,
.social-icon:focus {
    color: var(--btpa-orange);
    opacity: 1;
    transform: translateY(-1px);
    text-decoration: none !important;
}

.social-icon i {
    display: inline-block;
}

/* ---------- Homepage feature cards ---------- */
.feature-card {
    background-color: #fff;
    border: 1px solid #c5ccd6;
    border-radius: 0.75rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
    height: 100%;
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    border-color: #bfc7d1;
}

.feature-card h5 {
    color: var(--btpa-blue);
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-card p {
    margin-bottom: 0;
    color: #374151;
}


.featured-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.clinic-block {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-top: 1rem;
    background-color: #f8fafc;
}

.btn-btpa-outline {
    color: var(--btpa-blue);
    border: 2px solid var(--btpa-blue);  /* explicitly define border */
    background-color: transparent;
}

.btn-btpa-outline:hover {
    color: #fff;
    background-color: var(--btpa-blue);
    border-color: var(--btpa-blue);
}

.btn-btpa-outline:focus,
.btn-btpa-outline:active {
    box-shadow: 0 0 0 0.2rem rgba(0, 114, 206, 0.25);
}

.kids-clinic-photo {
    box-shadow: 0 4px 10px rgba(0,0,0,.15);
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.hover-opacity:hover {
    opacity: 0.75;
}

.inactive-field {
    opacity: 0.5;
    pointer-events: none;
}

.search-results {
    animation: highlightFade 2s ease;
}

#results {
    scroll-margin-top: 100px; /* prevents header overlap */
}

#backToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;

    width: 44px;
    height: 44px;

    display: none;
    z-index: 9999;

    border-radius: 50px;

    /* Remove padding if using fixed width/height */
    padding: 0;

    font-size: 14px;
    opacity: 0.85;

    display: flex;
    align-items: center;
    justify-content: center;
}

#backToTopBtn:hover {
    opacity: 1;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;   /* optional – keeps it tidy on large screens */
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  overflow: hidden;
  background: #000;  /* prevents white flash */
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.modal-header {
  background-color: #21498f; /* BTPA blue */
}

.modal-footer .btn-primary {
  background-color: #f7941d; /* BTPA orange */
  border-color: #f7941d;
}

#cookieModal .modal-title {
  color: #fff;
}

#returnToCookieChoice {
  font-size: 0.9rem;
  text-decoration: none;
}

#returnToCookieChoice:hover {
  text-decoration: underline;
}

@keyframes highlightFade {
    0%   { background-color: #fff3cd; } /* light yellow */
    50%  { background-color: #fff9e6; }
    100% { background-color: transparent; }
}

.practitioner {
    margin-bottom: 1rem;
}

.practitioner-row {
  display: flex;
  width: 100%;
  gap: 1rem;
  align-items: flex-start;
}

.practitioner-left,
.practitioner-right {
  flex-shrink: 0;
}
.practitioner-left {
    display: flex;
    flex-direction: column;  /* photo on top, icon below */
    align-items: center;
    gap: 0.25rem;
}

.practitioner-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0.25rem;
  margin-left: 1.5rem;
}

.practitioner-right img {
  max-width: 160px;
  width: 100%;
  height: auto;
}

.practitioner-info {
  flex: 1 1 auto;
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@media (max-width: 480px) {
  .practitioner-left {
    flex-direction: column;
    align-items: center;
    min-width: 80px;
  }

  .practitioner-info {
    flex: 1 1 auto;
    min-width: 0;
  }
}

@media (max-width: 768px) {
  .practitioner-row {
    flex-wrap: wrap;
  }

  .practitioner-right {
    width: 100%;
    margin-left: 0;
    margin-top: 1rem;
    align-items: center;
    text-align: center;
  }

  .practitioner-right img {
    max-width: 130px;
  }
}

.practitioner-photo {
    width: 80px;            /* fixed width for small thumbnails */
    height: 80px;
    object-fit: cover;      /* keep aspect ratio */
    border-radius: 50%;     /* optional circular photo */
}
.practitioner-profile-icon {
    /*flex: 0 0 auto;         /* do not shrink the icon */
    font-size: 1.1rem;      /* bigger icon for visibility */
    text-decoration: none;
}
.profile-icon-inner {
    text-align: center;   /* desktop default */
    color: var(--btpa-blue);
}

@media (max-width: 576px) {

    .practitioner-profile-icon {
        margin-left: 0 !important;   /* cancel ms-3 */
        display: block;
    }

    .profile-icon-inner {
        text-align: left;            /* left-align icon + label */
        margin-top: 0.5rem;
    }

}

.practitioner-separator {
    border: none;
    border-top: 2px solid #21498f; /* BTPA blue */
    margin: 1rem 0;                /* spacing above and below */
}

.cnhc-logo {
  max-width: 160px;
  height: auto;
}

/* ---------- Links ---------- */
a {
    color: var(--btpa-blue);
    text-decoration: none;
}

a:hover {
    color: var(--btpa-blue-dark);
    text-decoration: underline;
}


/* ---------- Buttons ---------- */
/* Primary = orange (actions users should take) */
.btn-primary {
    background-color: var(--btpa-orange);
    border-color: var(--btpa-orange);
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--btpa-orange-dark);
    border-color: var(--btpa-orange-dark);
}

/* Secondary = blue (navigation / less urgent actions) */
.btn-secondary {
    background-color: var(--btpa-blue);
    border-color: var(--btpa-blue);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--btpa-blue-dark);
    border-color: var(--btpa-blue-dark);
}

/* ---------- Navbar ---------- */
.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.navbar-brand {
    font-weight: 700;
}

.navbar .nav-link {
    text-decoration: none;
    font-weight: 500;
    color: var(--btpa-blue);
    border-bottom: 2px solid transparent;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
    text-decoration: none;   /* override global a:hover */
    color: var(--btpa-orange);
    border-bottom-color: var(--btpa-orange);
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background-color: #f8f9fa;
    color: #ff6600;
}

/* ---------- Fixed navbar (all screen sizes) ---------- */
.btpa-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 2000;
    background-color: #ffffff;
    transition: box-shadow 0.2s ease;
}

#joining-requirements {
    scroll-margin-top: 110px; /* adjust to your header height */
}

body.scrolled .btpa-navbar {
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

body {
    padding-top: 90px;
}

/* ---------- Join block ---------- */
.btpa-join-block {
    margin-bottom: 2rem;
}

.btpa-intro {
    max-width: 760px;
    line-height: 1.6;
    color: #4b5563;
}

/* ---------- Accordion ---------- */
.btpa-accordion {
    margin-top: 1.25rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background-color: #ffffff;
    overflow: hidden;
}

.btpa-accordion summary {
    position: relative;
    padding: 1rem 1.25rem;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    color: var(--btpa-blue);
}

.btpa-accordion summary::-webkit-details-marker {
    display: none;
}

.btpa-accordion summary::after {
    content: "+";
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--btpa-orange);
}

.btpa-accordion[open] summary::after {
    content: "–";
}

.btpa-accordion summary:hover,
.btpa-accordion summary:focus {
    background-color: #f8fafc;
}

.btpa-accordion-content {
    padding: 0 1.25rem 1.25rem;
    border-top: 1px solid #e5e7eb;
}

.btpa-nested-accordion {
    margin-top: 1rem;
}

.btpa-nested-accordion .btpa-accordion {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    margin-bottom: 0.75rem;
    background: #fff;
}

.btpa-nested-accordion .btpa-accordion summary {
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: var(--btpa-blue);
    cursor: pointer;
}

.btpa-nested-accordion .btpa-accordion-content {
    padding: 0 1rem 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.btpa-nested-accordion .btpa-accordion-content p {
    margin-bottom: 1rem;
}


/* ---------- CPD pages ---------- */
.btpa-action-button {
  min-height: 64px;
}

.cpd-summary-accordion,
.cpd-breakdown-accordion {
  background: transparent;
}

.cpd-summary-accordion .accordion-item,
.cpd-breakdown-accordion .accordion-item {
  border: 1px solid rgba(33, 73, 143, 0.18);
}

.cpd-accordion-button {
  background-color: #f8f9fa;
  color: var(--btpa-blue);
  border-left: 5px solid var(--btpa-orange);
  font-weight: 600;
  padding: 1rem 1.25rem;
}

.cpd-accordion-button:hover,
.cpd-accordion-button:focus {
  background-color: #eef3fb;
  color: var(--btpa-blue);
  box-shadow: none;
}

.cpd-accordion-button:not(.collapsed) {
  background-color: #eef3fb;
  color: var(--btpa-blue);
  border-left-color: var(--btpa-blue);
  box-shadow: none;
}

.cpd-accordion-button .text-muted {
  font-weight: 400;
  margin-top: 0.2rem;
}

.cpd-breakdown-table th,
.cpd-breakdown-table td {
  vertical-align: top;
}

.cpd-details-panel {
  background: #f8f9fa;
  border-left: 5px solid var(--btpa-orange);
}

.cpd-total-card {
  background: linear-gradient(180deg, #fff8ef 0%, #ffffff 100%);
  border: 2px solid rgba(230, 119, 0, 0.45) !important;
  border-left: 6px solid var(--btpa-orange) !important;
}

.cpd-total-card h3 {
  color: var(--btpa-blue);
  font-weight: 700;
}

.cpd-total-card .display-6 {
  color: var(--btpa-blue);
  font-weight: 600;
}

.cpd-total-card-label {
  color: var(--btpa-orange);
  letter-spacing: 0.04em;
}

.cpd-total-card .progress {
  height: 0.65rem;
  background-color: rgba(33, 73, 143, 0.12);
}

.cpd-total-card .progress-bar {
  background-color: var(--btpa-orange);
}

#cycle-repeats {
  scroll-margin-top: 120px;
}
#joining-as-full-member {
  scroll-margin-top: 120px;
}
#leaving-and-rejoining {
  scroll-margin-top: 120px;
}
#hands-on-bowen-cpd {
  scroll-margin-top: 120px;
}
#other-cpd {
  scroll-margin-top: 120px;
}

.cpd-requirements-table th {
  background-color: #f8fafc;
  color: var(--btpa-blue);
  font-weight: 700;
}

.cpd-requirements-table td {
  padding: 1rem;
  vertical-align: top;
}

.cpd-requirements-table td p {
  font-size: 1rem;
  line-height: 1.55;
}

.cpd-requirements-table .cpd-hours-col {
  width: 180px;
}

.cpd-requirements-table .badge {
  background-color: var(--btpa-blue) !important;
  font-weight: 600;
  padding: 0.55rem 0.8rem;
}

.cpd-requirements-table.table-hover tbody tr:hover > * {
  background-color: rgba(230, 119, 0, 0.08) !important;
}

@media (max-width: 767.98px) {
  .cpd-requirements-table {
    font-size: 0.95rem;
  }

  .cpd-requirements-table .cpd-hours-col {
    width: auto;
  }

  .cpd-requirements-table td,
  .cpd-requirements-table th {
    padding: 0.85rem;
  }
}


.membership-highlights {
    margin: 1rem 0 0;
    padding-left: 1.2rem;
}

.membership-highlights li {
    margin-bottom: 0.6rem;
    line-height: 1.6;
    color: #374151;
}

/* ---------- Comparison table ---------- */
.membership-comparison-section {
    margin-top: 2.5rem;
}

.membership-table-title {
    margin-bottom: 0.5rem;
    color: var(--btpa-blue);
    font-size: 1.25rem;
    font-weight: 700;
}

.membership-table-intro {
    margin-bottom: 1rem;
    color: #4b5563;
    line-height: 1.6;
}

.membership-benefits-table {
    margin-bottom: 0;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
}

.membership-benefits-table th,
.membership-benefits-table td {
    padding: 0.9rem;
    vertical-align: middle;
    border: 1px solid #e5e7eb;
}

.membership-benefits-table thead th {
    background-color: #f8fafc;
    color: var(--btpa-blue);
    font-weight: 700;
}

.membership-benefits-table .benefit-col {
    width: 55%;
    text-align: left;
}

.membership-benefits-table tbody tr:nth-child(even) {
    background-color: #fcfcfd;
}

.membership-benefits-table td.text-center,
.membership-benefits-table th.text-center {
    text-align: center;
}

.benefit-yes,
.benefit-no {
    font-size: 1.15rem;
    font-weight: 700;
    display: inline-block;
    line-height: 1;
}

.benefit-yes {
    color: #15803d;
}

.benefit-no {
    color: #dc2626;
}

/* ---------- Mobile ---------- */
@media (max-width: 767.98px) {
    .membership-benefits-table {
        font-size: 0.95rem;
    }

    .membership-benefits-table th,
    .membership-benefits-table td {
        padding: 0.7rem;
    }
}



/* ---------- Sections ---------- */
section {
    position: relative;
}

.bg-light {
    background-color: var(--btpa-grey-light) !important;
}


/* ---------- Navbar logo ---------- */
.navbar-brand img {
    height: 48px;
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .navbar-brand img {
        height: 36px;
    }
}


/* ---------- Cards / panels ---------- */
.border {
    border-color: #dee2e6 !important;
}

.rounded {
    border-radius: 0.375rem !important;
}


/* ---------- Testimonials ---------- */
blockquote {
    font-size: 0.95rem;
    line-height: 1.5;
}

blockquote footer {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    background-color: #ffffff;
}

.testimonials blockquote p {
  font-size: 1.15rem; /* match .lead */
  line-height: 1.6;
}

.testimonials .blockquote-footer {
  font-size: 1rem;
  line-height: 1.5;
}


/* ---------- Footer ---------- */
footer {
    background-color: var(--btpa-blue);
    color: #ffffff;
    font-size: 0.9rem;
}

footer a {
    color: #ffffff;
    text-decoration: underline;
}

footer a:hover {
    color: var(--btpa-orange);
}

footer p {
    margin-bottom: 0.25rem;
}


/* ---------- Responsive tweaks ---------- */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}

.text-muted {
    color: #6b7280 !important;
}

.clinic-extra-info {
    font-size: 1rem;
    line-height: 1.6;
}

.clinic-extra-info p {
    margin-bottom: 1rem;
    font-size: inherit;
}

.clinic-extra-info .text-muted {
    font-size: inherit;
}

:focus-visible {
    outline: 3px solid var(--btpa-orange);
    outline-offset: 2px;
}
