
:root {
  --clinic-blue: #0f8ec5;
  --pharmacy-red: #c50f3c;
  --ink-900: #0b1726;
  --ink-700: #25364d;
  --ink-500: #6b7a90;
  --bg-50: #ffffff;
  --bg-100: #eef6fb;
  --white: #fff;
  --card: #ffffff;
  --shadow: 0 10px 25px rgba(0,0,0,.07);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji"; color: var(--ink-900); background: var(--bg-50);}

a { color: var(--clinic-blue); text-decoration: none; }
a:hover { text-decoration: none; }




p.lead { font-size: 1.125rem; color: var(--ink-700); max-width: 70ch; }


.cta-row { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1rem; }
.button { display: inline-block; padding: .8rem 1.1rem; border-radius: 12px; font-weight: 700; border: 2px solid transparent; box-shadow: var(--shadow); }
.button.primary { background: var(--clinic-blue); color: white; }
.button.secondary { background: white; border-color: var(--clinic-blue); color: var(--clinic-blue); }
.button.red { background: var(--pharmacy-red); color: white; }

.section { padding: 3rem 0; }
.card { background: var(--card); border-radius: 16px; padding: 1.1rem; box-shadow: var(--shadow); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }

.hours table { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: .5rem .6rem; border-bottom: 1px solid #e7eef5; }

.site-footer { background: #0e2436; color: #e3edf7; padding: 2rem 0; margin-top: 2rem; }
.site-footer a { color: #cfe8ff; }
.site-footer .fine { color: #a7c1dc; font-size: .9rem; margin-top: .75rem; }

.notice { padding: .75rem 1rem; border-left: 4px solid var(--clinic-blue); background: #e9f7ff; border-radius: 8px; }


/* --- keep Book Doctor & Book Pharmacist buttons on one line --- */
.nav-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* or space-between */
  gap: 8px; /* adds spacing between buttons */
}

.nav-footer li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-footer a.btn {
  white-space: nowrap;
  padding: 10px 16px;
}

/* Smaller buttons on small screens */
@media (max-width: 480px) {
  .nav-footer a.btn {
    font-size: 13px;
    padding: 8px 12px;
  }
}


/* --- Make both booking buttons fit side-by-side on mobile --- */
.nav-footer {
  display: flex;
  flex-wrap: nowrap;         /* keep on one line */
  justify-content: center;   /* center the pair */
  gap: 6px;                  /* space between buttons */
}

.nav-footer li {
  flex: 1 1 auto;            /* allow flexible width */
  list-style: none;
}

.nav-footer a.btn {
  display: block;
  width: 100%;
  font-size: 13px;
  padding: 8px 10px;
  white-space: nowrap;       /* stop text wrapping */
  text-align: center;
}

/* On very small phones, shrink font slightly */
@media (max-width: 400px) {
  .nav-footer a.btn {
    font-size: 12px;
    padding: 7px 8px;
  }
}

/* === Doctor Profile Styling - Dixon Medical === */

#doctor-awans-profile {
  margin-top: 40px;
  margin-bottom: 60px;
}

/* Text hierarchy */
#doctor-awans-profile h2 {
  font-size: 1.8rem;           /* Main heading larger */
  margin-bottom: 0.4rem;
  font-weight: 700;
}

#doctor-awans-profile h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: #222;
}

#doctor-awans-profile p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

/* Image styling */
#doctor-awans-profile .span4 img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Add spacing between image and text */
#doctor-awans-profile .span8 {
  padding-left: 30px;
}

#doctor-awans-profile .btn.btn-black {
  padding: 8px 18px;
  font-size: 0.95rem;
  border-radius: 4px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  display: inline-block;
  margin: 12px 0;              /* equal top & bottom space */
}

/* Desktop refinement */
@media (min-width: 992px) {
  #doctor-awans-profile .btn.btn-black {
    padding: 6px 16px;
    font-size: 0.9rem;
    margin: 14px 0;            /* slightly more breathing room on desktop */
  }
}

/* Hover color */
#doctor-awans-profile .btn.btn-black:hover {
  background-color: #b1042c;   /* Pharmasave red */
  color: #fff;
  transition: all 0.2s ease-in-out;
}

/* Divider spacing */
#doctor-awans-profile hr {
  margin: 20px 0;
}






/* === Global Button Styling - Dixon Medical === */

/* All black buttons site-wide */
.btn.btn-black {
  display: inline-block;
  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: 4px;
  padding: 1px 8px;
  font-size: 0.95rem;
  margin: 2px 0;                /* ? equal top & bottom space */
  line-height: 1.2;
}

/* Hover effect */
.btn.btn-black:hover {
  background-color: #b1042c;     /* Pharmasave red accent */
  color: #fff;
  transition: all 0.2s ease-in-out;
}

/* Desktop refinement */
@media (min-width: 992px) {
  .btn.btn-black {
    padding: 2px 16px;
    font-size: 0.9rem;
    margin: 4px 0;              /* slightly more breathing room */
  }
}

/* Optional: make sure button text doesn't wrap oddly */
.btn.btn-black {
  white-space: nowrap;
}

/* --- Remove arrow icons and restore clean button style --- */
.btn.btn-black::after {
  content: none !important;   /* completely disable added arrow */
}

/* Restore balanced button styling */
.btn.btn-black {
  display: inline-block;
  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: 4px;
  padding: 1px 4px;
  font-size: 0.95rem;
  margin: 2px 0;             /* equal top & bottom spacing */
  line-height: 1.2;
}

/* Hover effect (keep red transition) */
.btn.btn-black:hover {
  background-color: #b1042c;
  color: #fff;
  transition: all 0.2s ease-in-out;
}

/* Slightly refined desktop look */
@media (min-width: 992px) {
  .btn.btn-black {
    padding: 2px 4px;
    font-size: 0.9rem;
    margin: 2px 0;
  }
}