/* =====================================================
   MILLAN PHARMACY LONDON ROAD - STYLESHEET
   -----------------------------------------------------
   Colour theme:
   - Navy Blue: main brand colour (headings, buttons, navbar)
   - Light Green: reassuring healthcare accent colour
   - Soft Grey: backgrounds and borders
   - White: main background colour

   TIP: To change the colours of the whole website, just
   edit the CSS variables in the ":root" section below.
   ===================================================== */

:root {
  /* ---- Brand Colours (edit these to re-theme the site) ---- */
  --primary: #123a5f;         /* navy blue - main Millan Pharmacy brand colour */
  --primary-dark: #082842;    /* darker navy - used for footer & gradients */
  --primary-light: #1f5f91;   /* lighter navy - used for hover states */
  --accent: #70c77a;          /* light green - reassuring healthcare accent */
  --accent-light: #ecf8ee;    /* very light green tint - used for highlights */
  --grey: #f4f6f8;
  --grey-border: #e2e6ea;
  --text-dark: #1c2733;
  --text-light: #6b7580;      /* soft grey - matches "LONDON ROAD" text in the logo */
  --white: #ffffff;

  /* ---- Layout ---- */
  --max-width: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(18, 58, 95, 0.08);
  --transition: 0.25s ease;
}

/* =====================================================
   RESET & BASE STYLES
   ===================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", Arial, sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Poppins", "Inter", Arial, sans-serif;
  color: var(--primary);
  font-weight: 600;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* =====================================================
   MOTION UTILITIES
   ===================================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

.reveal-delay-4 {
  transition-delay: 0.32s;
}

@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroCardIn {
  from {
    opacity: 0;
    transform: translateX(28px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes softFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* =====================================================
   REUSABLE SECTION STYLES
   ===================================================== */

.section {
  padding: 90px 0;
}

.section-alt {
  background-color: var(--grey);
}

.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.eyebrow {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.section-heading h2 {
  font-size: 2.1rem;
  margin-bottom: 14px;
}

.section-subtext {
  color: var(--text-light);
  font-size: 1.02rem;
}

/* =====================================================
   BUTTONS
   ===================================================== */

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color var(--transition), color var(--transition);
  text-align: center;
}

.btn:hover:not(:disabled) {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 30px rgba(18, 58, 95, 0.24);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(18, 58, 95, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-light);
}

.btn-secondary {
  background-color: var(--accent);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(112, 199, 122, 0.25);
}

.btn-secondary:hover {
  background-color: #5bbd67;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.75;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn-text {
  background: none;
  color: var(--primary);
  padding: 0;
  font-weight: 600;
}

.btn-text:hover {
  color: var(--accent);
  transform: translateX(3px);
}

/* =====================================================
   HEADER / NAVBAR
   ===================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: 0 2px 14px rgba(18, 58, 95, 0.07);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 30px rgba(18, 58, 95, 0.14);
}

.top-contact-bar {
  background-color: var(--primary-dark);
  color: var(--white);
  font-size: 0.8rem;
}

.top-contact-content {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 18px;
  min-height: 38px;
}

.top-contact-content span {
  color: var(--accent-light);
  font-weight: 700;
}

.top-opening-hours {
  color: var(--white) !important;
}

.top-contact-content a {
  color: #dce8f2;
  transition: color var(--transition);
}

.top-contact-content a:hover {
  color: var(--accent);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: auto;
  max-width: 180px;
  max-height: 54px;
  object-fit: contain;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 10px;
}

.logo-text {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.96rem;
  position: relative;
  transition: color var(--transition);
}

.nav-link::after,
.dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width var(--transition);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-dropdown {
  position: relative;
  padding: 26px 0;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dropdown-toggle::before {
  content: "▾";
  order: 2;
  color: var(--accent);
  font-size: 0.72rem;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  padding: 12px;
  background-color: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--text-dark);
  font-size: 0.9rem;
  transition: background-color var(--transition), color var(--transition);
}

.dropdown-menu a:hover {
  background-color: var(--accent-light);
  color: var(--primary);
}

.nav-cta {
  padding: 10px 22px;
}

/* Hamburger menu button (hidden on desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Hamburger animates into an X when the menu is open */
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =====================================================
   HERO SECTION
   ===================================================== */

.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  color: var(--white);
  padding: 90px 0 110px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(112, 199, 122, 0.35), transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content .eyebrow {
  color: var(--accent-light);
}

.hero-content {
  animation: heroTextIn 0.75s ease both;
}

.hero-content h1 {
  color: var(--white);
  font-size: 2.7rem;
  margin-bottom: 18px;
}

.hero-subtext {
  color: #d6e2ee;
  font-size: 1.08rem;
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-buttons .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-buttons .btn-outline:hover {
  background-color: var(--white);
  color: var(--primary);
}

/* Side card in hero showing rating & quick facts */
.hero-card {
  background-color: var(--white);
  color: var(--text-dark);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  animation: heroCardIn 0.75s ease 0.12s both, floatCard 7s ease-in-out 1s infinite;
}

.hero-card-rating {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.rating-score {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
  font-family: "Poppins", sans-serif;
}

.stars {
  color: #f5b301;
  font-size: 1.1rem;
  letter-spacing: 2px;
  animation: softFadeIn 0.7s ease 0.35s both;
}

.hero-card-reviews {
  color: var(--text-light);
  margin-top: 4px;
  margin-bottom: 22px;
  font-size: 0.95rem;
}

.hero-card-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--grey-border);
  font-weight: 500;
  font-size: 0.95rem;
}

.hero-card-list li:first-child {
  border-top: none;
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  background-color: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
}

/* =====================================================
   CARDS & GRIDS (used across multiple sections)
   ===================================================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.card-grid.three-up {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background-color: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  min-width: 52px;
  background-color: var(--accent-light);
  border-radius: var(--radius-sm);
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

/* =====================================================
   PREMIUM FLOATING CARD EFFECT
   -----------------------------------------------------
   Uses the individual "translate" property for the gentle
   float so it does not interfere with carousel transforms.
   ===================================================== */

.card,
.service-card,
.review-card,
.info-card,
.form-card,
.hero-card,
.contact-item,
.contact-summary-card,
.form-intro-card,
.request-form-card,
.price-card,
.price-table-card,
.faq-item,
.why-card,
.pharmacy-first-card,
.booking-flow,
.booking-service-card,
.booking-summary-card,
.calendly-booking-panel,
.condition-panel,
.service-summary,
.map-placeholder,
.review-summary-strip div,
.review-summary-strip a,
.policy-card {
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  animation: floatCard 7s ease-in-out infinite;
  will-change: transform, translate;
}

.card:hover,
.service-card:hover,
.review-card:hover,
.info-card:hover,
.form-card:hover,
.hero-card:hover,
.contact-item:hover,
.contact-summary-card:hover,
.form-intro-card:hover,
.request-form-card:hover,
.price-card:hover,
.price-table-card:hover,
.faq-item:hover,
.why-card:hover,
.pharmacy-first-card:hover,
.booking-flow:hover,
.booking-service-card:hover,
.booking-summary-card:hover,
.calendly-booking-panel:hover,
.condition-panel:hover,
.service-summary:hover,
.map-placeholder:hover,
.review-summary-strip div:hover,
.review-summary-strip a:hover,
.policy-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.14);
}

@keyframes floatCard {
  0% {
    translate: 0 0;
  }

  50% {
    translate: 0 -5px;
  }

  100% {
    translate: 0 0;
  }
}

.card:nth-child(2n),
.service-card:nth-child(2n),
.review-card:nth-child(2n),
.info-card:nth-child(2n),
.contact-item:nth-child(2n),
.price-row:nth-child(2n),
.booking-service-card:nth-child(2n) {
  animation-delay: 0.8s;
}

.card:nth-child(3n),
.service-card:nth-child(3n),
.review-card:nth-child(3n),
.info-card:nth-child(3n),
.contact-item:nth-child(3n),
.price-row:nth-child(3n),
.booking-service-card:nth-child(3n) {
  animation-delay: 1.5s;
}

.form-card {
  animation-duration: 10s;
}

.form-card:focus-within {
  animation-play-state: paused;
}

/* =====================================================
   TWO-COLUMN LAYOUT (Prescriptions, Travel Clinic, Ear Wax)
   ===================================================== */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.two-col.reverse {
  direction: rtl;
}

.two-col.reverse > * {
  direction: ltr;
}

.two-col-text .eyebrow {
  margin-bottom: 12px;
}

.two-col-text h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}

.two-col-text p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.bullet-list {
  margin-bottom: 26px;
}

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-weight: 500;
}

/* Simple highlighted info card used in Travel Clinic & Ear Wax sections */
.info-card {
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  align-self: center;
}

.info-card h3 {
  color: var(--white);
  margin-bottom: 14px;
}

.info-card p {
  color: #d6e2ee;
  margin-bottom: 20px;
}

.info-card-tag {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* =====================================================
   FORMS (Prescriptions, Booking & Queries)
   ===================================================== */

.form-card {
  background-color: var(--white);
}

.form-card h3 {
  margin-bottom: 20px;
}

form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
  margin-top: 16px;
}

form label:first-of-type {
  margin-top: 0;
}

form input,
form select,
form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--grey-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  background-color: var(--grey);
  transition: border-color var(--transition), background-color var(--transition);
}

form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background-color: var(--white);
}

form textarea {
  resize: vertical;
}

.hidden {
  display: none;
}

.delivery-address-group label {
  margin-top: 16px;
}

.delivery-address-note {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.45;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-dark);
  line-height: 1.45;
  cursor: pointer;
}

.checkbox-label input {
  width: auto;
  min-width: 18px;
  margin-top: 3px;
  accent-color: var(--primary);
}

.checkbox-label span {
  font-size: 0.9rem;
}

.form-submit {
  width: 100%;
  margin-top: 24px;
}

/* Form messages are hidden by default, then shown via JavaScript */
.form-success,
.form-error {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
}

.form-success {
  background-color: var(--accent-light);
  color: var(--primary-dark);
}

.form-error {
  background-color: #fff0f0;
  color: #9c2525;
  border: 1px solid #ffd5d5;
}

.form-success.show,
.form-error.show {
  display: block;
}

/* =====================================================
   BOOKING & QUERY SECTIONS
   ===================================================== */

.booking-query-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: start;
}

.form-intro-card,
.contact-summary-card {
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}

.form-intro-card h3,
.contact-summary-card h3 {
  color: var(--white);
  margin-bottom: 18px;
}

.form-intro-card p,
.form-intro-card a,
.contact-summary-card p {
  color: #dce8f2;
}

.form-intro-card a {
  font-weight: 700;
}

.form-intro-card .bullet-list {
  margin-bottom: 22px;
}

.form-intro-card .bullet-list li {
  color: var(--white);
}

.request-form-card {
  border-top: 5px solid var(--accent);
  box-shadow: var(--shadow);
}

.booking-request-note {
  margin-bottom: 18px;
  padding: 12px 14px;
  background-color: var(--accent-light);
  border-radius: var(--radius-sm);
  color: var(--primary-dark);
  font-size: 0.92rem;
  font-weight: 600;
}

.price-note {
  margin-top: 10px;
  color: var(--text-light);
  font-size: 0.85rem;
}

.service-summary {
  margin-top: 18px;
  padding: 18px;
  background-color: var(--grey);
  border: 1px solid var(--grey-border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
}

.service-summary h4 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.service-summary p {
  margin-bottom: 8px;
  color: var(--text-light);
  font-size: 0.92rem;
}

.service-summary p:last-child {
  margin-bottom: 0;
}

.service-summary strong {
  color: var(--primary);
}

.section-cta {
  margin-top: 28px;
  text-align: center;
}

.condition-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 34px;
  padding: 30px;
  background-color: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.condition-panel h3 {
  margin-bottom: 10px;
}

.condition-panel p {
  color: var(--text-light);
}

.condition-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.condition-grid span {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  background-color: var(--accent-light);
  color: var(--primary-dark);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.price-table-card {
  max-width: 860px;
  margin: 0 auto;
  overflow: hidden;
  background-color: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.price-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--grey-border);
}

.price-row:last-child {
  border-bottom: none;
}

.price-row span:first-child {
  color: var(--primary);
  font-weight: 700;
}

.price-row span:last-child {
  color: var(--text-light);
  font-weight: 600;
}

.price-row-heading {
  background-color: var(--primary);
}

.price-row-heading span:first-child,
.price-row-heading span:last-child {
  color: var(--white);
}

.query-form-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.privacy-note {
  max-width: 860px;
  margin: 28px auto 0;
  padding: 16px 18px;
  background-color: var(--grey);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-size: 0.92rem;
}

/* =====================================================
   CALENDLY BOOKING FLOW
   ===================================================== */

.booking-flow {
  background-color: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  padding: 30px;
}

.booking-calendly-note {
  max-width: 900px;
  margin: 0 auto 28px;
  padding: 18px 20px;
  background-color: var(--white);
  border: 1px solid var(--grey-border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.booking-calendly-note p {
  color: var(--text-light);
  margin-bottom: 8px;
}

.booking-calendly-note p:last-child {
  margin-bottom: 0;
}

.booking-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}

.booking-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background-color: var(--grey);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-weight: 700;
}

.booking-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  min-width: 30px;
  background-color: var(--white);
  color: var(--primary);
  border-radius: 50%;
}

.booking-step p {
  margin: 0;
  font-size: 0.9rem;
}

.booking-step.active {
  background-color: var(--accent-light);
  color: var(--primary-dark);
}

.booking-step.active span {
  background-color: var(--accent);
  color: var(--white);
}

.booking-flow-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 28px;
  align-items: start;
}

.booking-service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.booking-service-card {
  min-height: 230px;
  padding: 24px;
  background-color: var(--white);
  border: 2px solid var(--grey-border);
  border-radius: var(--radius);
  color: var(--text-dark);
  cursor: pointer;
  text-align: left;
}

.booking-service-card.selected {
  border-color: var(--accent);
  background-color: var(--accent-light);
}

.booking-service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 16px;
  background-color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 1.45rem;
}

.booking-service-card h3 {
  margin-bottom: 10px;
}

.booking-service-card p {
  color: var(--text-light);
  margin-bottom: 16px;
}

.booking-service-duration {
  display: inline-flex;
  padding: 7px 12px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.booking-card-link {
  display: block;
  width: 100%;
  margin-top: 18px;
  padding: 11px 18px;
}

.booking-summary-card {
  position: sticky;
  top: 140px;
  padding: 26px;
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  border-radius: var(--radius);
}

.booking-summary-card h3 {
  color: var(--white);
  margin-bottom: 18px;
}

.booking-summary-card p {
  color: #dce8f2;
  margin-bottom: 12px;
}

.booking-summary-card strong {
  color: var(--white);
}

.booking-summary-note {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.booking-continue-btn {
  width: 100%;
  margin-top: 12px;
}

.booking-continue-btn:disabled {
  background-color: #9aa8b5;
  box-shadow: none;
}

.calendly-booking-panel {
  padding: 26px;
  background-color: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
}

.calendly-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.calendly-panel-header h3 {
  margin-bottom: 8px;
}

.calendly-panel-header p {
  color: var(--text-light);
}

.calendly-embed-box {
  overflow: hidden;
  min-height: 660px;
  background-color: var(--grey);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
}

.calendly-embed-box iframe {
  width: 100%;
  min-height: 660px;
  border: 0;
  background-color: var(--white);
}

.calendly-new-tab-btn {
  margin-top: 18px;
}

/* =====================================================
   REVIEWS SECTION
   ===================================================== */

.rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.reviews-google-btn {
  margin-top: 22px;
}

.review-summary-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 860px;
  margin: 0 auto 34px;
}

.review-summary-strip div,
.review-summary-strip a {
  display: block;
  padding: 20px;
  background-color: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.review-summary-strip a:hover {
  border-color: var(--accent);
}

.review-summary-strip strong {
  display: block;
  color: var(--primary);
  font-family: "Poppins", sans-serif;
  font-size: 1.35rem;
}

.review-summary-strip span {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 600;
}

.reviews-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
}

.reviews-viewport {
  overflow: hidden;
  padding: 4px;
}

.reviews-track {
  --reviews-gap: 22px;
  --reviews-per-view: 3;
  display: flex;
  gap: var(--reviews-gap);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.review-card {
  flex: 0 0 calc((100% - (var(--reviews-gap) * (var(--reviews-per-view) - 1))) / var(--reviews-per-view));
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  background-color: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.review-card .stars {
  margin-bottom: 18px;
}

.review-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.review-card-header h3 {
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.review-card-header span {
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 600;
}

.review-badge {
  white-space: nowrap;
  padding: 6px 10px;
  background-color: var(--accent-light);
  color: var(--primary-dark) !important;
  border-radius: 999px;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
}

.review-card p {
  color: var(--text-dark);
  font-style: italic;
  font-size: 0.98rem;
}

.carousel-arrow {
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(18, 58, 95, 0.22);
  transition: background-color var(--transition), transform var(--transition);
}

.carousel-arrow:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 28px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background-color: #c9d1d8;
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition);
}

.carousel-dot.active {
  background-color: var(--accent);
  transform: scale(1.25);
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */

.about-content {
  max-width: 780px;
  text-align: center;
}

.about-content h2 {
  font-size: 2.1rem;
  margin-bottom: 20px;
}

.about-text {
  color: var(--text-light);
  font-size: 1.08rem;
}

/* =====================================================
   LEGAL / POLICY PAGES
   ===================================================== */

.legal-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 70px 0;
}

.legal-hero h1 {
  color: var(--white);
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.legal-hero p {
  color: #dce8f2;
  max-width: 760px;
}

.legal-content {
  max-width: 920px;
}

.policy-card {
  background-color: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}

.policy-card section {
  padding: 24px 0;
  border-bottom: 1px solid var(--grey-border);
}

.policy-card section:first-child {
  padding-top: 0;
}

.policy-card section:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.policy-card h2 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.policy-card p,
.policy-card li {
  color: var(--text-light);
}

.policy-card ul {
  list-style: disc;
  padding-left: 22px;
  margin-top: 10px;
}

.policy-card li {
  margin-bottom: 8px;
}

.policy-disclaimer {
  margin-bottom: 22px;
  padding: 16px 18px;
  background-color: var(--accent-light);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  color: var(--primary-dark);
  font-weight: 600;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease;
  opacity: 0;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  opacity: 1;
}

.faq-arrow {
  transition: transform 0.3s ease;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 26px;
}

.contact-item .card-icon {
  margin-bottom: 0;
  width: 46px;
  height: 46px;
  min-width: 46px;
  font-size: 1.2rem;
}

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-buttons {
  display: flex;
  gap: 14px;
  margin: 10px 0 26px;
  flex-wrap: wrap;
}

.contact-summary-card {
  align-self: start;
  height: auto;
}

.contact-summary-card p {
  margin-bottom: 18px;
}

.contact-summary-card .contact-buttons {
  margin: 0;
}

.map-placeholder {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--grey-border);
}

.disclaimer {
  text-align: center;
  color: var(--text-light);
  font-size: 0.85rem;
  margin-top: 60px;
  padding-top: 26px;
  border-top: 1px solid var(--grey-border);
}

/* =====================================================
   FOOTER
   ===================================================== */

.site-footer {
  background-color: var(--primary-dark);
  color: #b8c6d6;
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.25fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo img {
  max-width: 170px;
  max-height: 58px;
  object-fit: contain;
}

.footer-brand .logo-text {
  color: var(--white);
}

.footer-brand p {
  margin-top: 10px;
  font-size: 0.9rem;
}

.footer-links h4,
.footer-contact h4,
.footer-compliance h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  margin-bottom: 10px;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact p,
.footer-compliance p {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.footer-compliance strong {
  color: var(--white);
}

.policy-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 14px;
}

.policy-links a,
.policy-links span {
  font-size: 0.9rem;
  transition: color var(--transition);
}

.policy-links a:hover {
  color: var(--accent);
}

.policy-links span {
  color: inherit;
}

.footer-bottom {
  text-align: center;
  padding: 22px 0;
  font-size: 0.85rem;
}

/* =====================================================
   BACK TO TOP BUTTON
   ===================================================== */

.back-to-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(18, 58, 95, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), background-color var(--transition);
  z-index: 900;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background-color: var(--accent);
  transform: translateY(-3px);
}

.whatsapp-button {
  position: fixed;
  right: 26px;
  bottom: 84px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  background-color: #25d366;
  color: var(--white);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(18, 58, 95, 0.25);
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(18, 58, 95, 0.3);
}

/* =====================================================
   RESPONSIVE STYLES
   ===================================================== */

/* Tablet */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 420px;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid.three-up {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-track {
    --reviews-per-view: 2;
  }

  .two-col,
  .contact-grid,
  .booking-query-grid,
  .booking-flow-grid,
  .condition-panel {
    grid-template-columns: 1fr;
  }

  .booking-summary-card {
    position: static;
  }

  .top-contact-content {
    justify-content: center;
    gap: 8px 16px;
    padding: 8px 24px;
    text-align: center;
  }

  .two-col.reverse {
    direction: ltr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile */
@media (max-width: 720px) {
  .section {
    padding: 60px 0;
  }

  .hero {
    padding: 60px 0 80px;
  }

  .hero-content h1 {
    font-size: 2.1rem;
  }

  .section-heading h2,
  .two-col-text h2 {
    font-size: 1.7rem;
  }

  /* Mobile navigation menu */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    background-color: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 20px 24px 30px;
    box-shadow: 0 12px 20px rgba(18, 58, 95, 0.08);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-link {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--grey-border);
  }

  .nav-dropdown {
    width: 100%;
    padding: 0;
  }

  .dropdown-toggle {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    min-width: 100%;
    margin: 4px 0 10px;
    padding: 8px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    background-color: var(--grey);
  }

  .dropdown-menu a {
    padding: 8px 10px;
    font-size: 0.88rem;
  }

  .nav-cta {
    margin-top: 12px;
    width: 100%;
  }

  .hamburger {
    display: flex;
  }

  .logo-img {
    max-width: 145px;
    max-height: 46px;
  }

  .card-grid,
  .card-grid.three-up {
    grid-template-columns: 1fr;
  }

  .review-summary-strip {
    grid-template-columns: 1fr;
  }

  .booking-flow {
    padding: 22px;
  }

  .booking-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .booking-service-grid {
    grid-template-columns: 1fr;
  }

  .calendly-panel-header {
    flex-direction: column;
  }

  .calendly-panel-header .btn {
    width: 100%;
  }

  .calendly-embed-box,
  .calendly-embed-box iframe {
    min-height: 560px;
  }

  .reviews-carousel {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .reviews-track {
    --reviews-per-view: 1;
  }

  .carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 42px;
    height: 42px;
    transform: translateY(-50%);
  }

  .carousel-arrow:hover {
    transform: translateY(-50%);
  }

  .carousel-arrow-left {
    left: 10px;
  }

  .carousel-arrow-right {
    right: 10px;
  }

  .reviews-viewport {
    padding: 4px 54px;
  }

  .price-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .condition-panel {
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .contact-buttons {
    flex-direction: column;
  }

  .contact-buttons .btn {
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-intro-card,
  .contact-summary-card {
    padding: 28px 24px;
  }

  .policy-card {
    padding: 24px;
  }

  .whatsapp-button {
    right: 18px;
    bottom: 78px;
    padding: 10px 14px;
    font-size: 0.85rem;
  }
}

@media (max-width: 720px) {
  .card,
  .service-card,
  .review-card,
  .info-card,
  .form-card,
  .hero-card,
  .contact-item,
  .contact-summary-card,
  .form-intro-card,
  .request-form-card,
  .price-card,
  .price-table-card,
  .faq-item,
  .why-card,
  .pharmacy-first-card,
  .booking-flow,
  .booking-service-card,
  .booking-summary-card,
  .calendly-booking-panel,
  .condition-panel,
  .service-summary,
  .map-placeholder,
  .review-summary-strip div,
  .review-summary-strip a,
  .policy-card {
    animation-duration: 9s;
  }

  .card:hover,
  .service-card:hover,
  .review-card:hover,
  .info-card:hover,
  .form-card:hover,
  .hero-card:hover,
  .contact-item:hover,
  .contact-summary-card:hover,
  .form-intro-card:hover,
  .request-form-card:hover,
  .price-card:hover,
  .price-table-card:hover,
  .faq-item:hover,
  .why-card:hover,
  .pharmacy-first-card:hover,
  .booking-flow:hover,
  .booking-service-card:hover,
  .booking-summary-card:hover,
  .calendly-booking-panel:hover,
  .condition-panel:hover,
  .service-summary:hover,
  .map-placeholder:hover,
  .review-summary-strip div:hover,
  .review-summary-strip a:hover,
  .policy-card:hover {
    transform: translateY(-5px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal.active {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-content,
  .hero-card,
  .stars {
    animation: none;
  }

  .btn,
  .nav-link,
  .dropdown-menu,
  .reviews-track,
  .back-to-top,
  .faq-answer,
  .faq-arrow {
    transition: none;
  }

  .card,
  .service-card,
  .review-card,
  .info-card,
  .form-card,
  .hero-card,
  .contact-item,
  .contact-summary-card,
  .form-intro-card,
  .request-form-card,
  .price-card,
  .price-table-card,
  .faq-item,
  .why-card,
  .pharmacy-first-card,
  .booking-flow,
  .booking-service-card,
  .booking-summary-card,
  .calendly-booking-panel,
  .condition-panel,
  .service-summary,
  .map-placeholder,
  .review-summary-strip div,
  .review-summary-strip a,
  .policy-card {
    animation: none;
    translate: 0 0;
    transition: none;
  }

  .card:hover,
  .service-card:hover,
  .review-card:hover,
  .info-card:hover,
  .form-card:hover,
  .hero-card:hover,
  .contact-item:hover,
  .contact-summary-card:hover,
  .form-intro-card:hover,
  .request-form-card:hover,
  .price-card:hover,
  .price-table-card:hover,
  .faq-item:hover,
  .why-card:hover,
  .pharmacy-first-card:hover,
  .booking-flow:hover,
  .booking-service-card:hover,
  .booking-summary-card:hover,
  .calendly-booking-panel:hover,
  .condition-panel:hover,
  .service-summary:hover,
  .map-placeholder:hover,
  .review-summary-strip div:hover,
  .review-summary-strip a:hover,
  .policy-card:hover {
    transform: none;
  }
}
