/* Apollo 24|7-inspired theme for this copy of the portfolio: Apollo's deep teal (#02475B) for
   headings, teal-blue (#106C89) buttons, their orange (#FC9916) for highlights, Inter throughout
   and soft pastel tiles, like apollo247.com. Overrides the site's own colour variables
   (html[...] beats the original [data-theme=...]). This copy is light mode only (forced in index.html). */

/* Inter is loaded here rather than with <link> tags: extra tags in <head> break React's hydration. */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

html[data-theme] {
  --ap-navy: #02475b;
  --ap-blue: #106c89;
  --ap-blue-deep: #0b5770;
  --ap-orange: #fc9916;
  --ap-sky: #e6f4f8;
  --ap-mint: #e9f8f1;
  --ap-yellow: #fff4d6;
  --ap-pink: #fcebf1;
  --ap-peach: #fdeee6;
  --ap-ink: #121414;
  --font-geist-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Inter", ui-sans-serif, system-ui, sans-serif;
  --radius-card: 1rem;
}

html[data-theme=product] {
  --color-surface: #ffffff;
  --color-surface-raised: #ffffff;
  --color-surface-sunken: #f6f6f6;
  --color-muted: #f6f6f6;
  --color-on-muted: #4b4a48;
  --color-primary: #106c89;
  --color-primary-hover: #0b5770;
  --color-on-primary: #ffffff;
  --color-primary-subtle: #e6f4f8;
  --color-primary-text: #106c89;
  --color-primary-border: #a9d3e0;
  --color-text-default: #121414;
  --color-text-muted: #4b4a48;
  --color-text-faint: #989795;
  --color-border-default: #ececec;
  --color-border-emphasis: #dcdcdc;
  --color-border-strong: #c4c4c4;
  --color-focus-ring: #106c89;
}

header button[aria-label="Switch to Light theme"],
header button[aria-label="Switch to Dark theme"] { display: none !important; }

/* Hero name in Inter, bold, in Apollo's deep teal (main uses a serif here). */
main h1 { font-family: "Inter", ui-sans-serif, system-ui, sans-serif; font-weight: 700; letter-spacing: -0.03em; color: var(--ap-navy); }
main h2 { color: var(--ap-navy); }

/* Ticker strip: the orange "Now Delivering Medicines" tab from Apollo's banner. */
.construction-banner { background: var(--ap-orange); color: var(--ap-navy); border-color: transparent; font-weight: 600; }

/* Header: white like apollo247.com, active section in a light-teal pill. */
header.sticky nav a.is-active { background: var(--ap-sky); color: var(--ap-navy); }
header.sticky nav a:hover { color: var(--ap-navy); }

/* Buttons: Apollo's solid teal-blue, 8px corners. */
a[data-ph-cta="hero"], .btn-flat-primary {
  background: var(--ap-blue) !important; color: #fff !important; border-radius: 8px; font-weight: 600;
}
a[data-ph-cta="hero"]:hover, .btn-flat-primary:hover { background: var(--ap-blue-deep) !important; }

/* Tags as Apollo's small uppercase chips ("ON TIME GUARANTEE"). */
.gs-tag { background: var(--ap-sky); color: var(--ap-navy); border-color: transparent; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }

/* Why Apollo 24|7: four cards, each with a pastel icon tile like Apollo's service tiles. */
.gs-pitch { display: flex; flex-direction: column; gap: 12px; }
.gs-pitch-icon {
  display: grid; place-items: center; width: 48px; height: 48px; flex: none;
  border-radius: 14px; background: var(--ap-sky); font-size: 22px;
}
.gs-pitch-icon.mint { background: var(--ap-mint); }
.gs-pitch-icon.yellow { background: var(--ap-yellow); }
.gs-pitch-icon.pink { background: var(--ap-pink); }
.gs-pitch-icon.peach { background: var(--ap-peach); }
.gs-pitch-proof {
  margin-top: auto; padding: 10px 12px; border-radius: 10px;
  background: var(--ap-sky); color: #23434d; font-size: 0.875rem; line-height: 1.5;
}
.gs-pitch-proof b { color: var(--ap-navy); }

/* Hero card (apollo-card.js): hides the globe + photo and shows an Apollo doctor-listing-style card. */
div.aspect-square.max-w-\[960px\] > :not(.gs-ap-wrap) { visibility: hidden; }
div.aspect-square.max-w-\[960px\] { clip-path: none !important; }
.gs-ap-wrap {
  position: absolute; inset: 4% 4%; z-index: 5;
  display: flex; align-items: center; justify-content: center;
}
.gs-ap-card {
  width: min(100%, 420px); background: #fff; border-radius: 16px; padding: 18px;
  box-shadow: 0 22px 44px -22px rgb(2 71 91 / 0.35), 0 0 0 1px #ececec;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif; color: var(--ap-ink);
}
.gs-ap-chip {
  display: inline-block; background: var(--ap-sky); color: var(--ap-navy);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; padding: 5px 8px; border-radius: 4px;
}
.gs-ap-row { display: flex; gap: 14px; margin-top: 14px; }
.gs-ap-photo {
  position: relative; flex: none; width: 104px; height: 118px; border-radius: 10px; overflow: hidden;
  background: radial-gradient(110% 90% at 50% 100%, #b9dde8 0%, #e6f4f8 60%, #f4fafc 100%);
}
.gs-ap-photo img { position: absolute; left: 50%; top: 4px; width: 230%; max-width: none; translate: -50% 0; }
.gs-ap-name { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.25; color: var(--ap-ink); }
.gs-ap-name .tick { color: var(--ap-blue); font-size: 13px; margin-left: 4px; }
.gs-ap-spec { margin: 3px 0 0; font-size: 12.5px; font-weight: 500; color: #4b4a48; }
.gs-ap-quals { margin: 4px 0 0; font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; color: #7045c4; text-transform: uppercase; }
.gs-ap-loc { margin: 4px 0 0; font-size: 12px; font-weight: 500; color: #989795; }
.gs-ap-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 12px; }
.gs-ap-stats div { border-radius: 10px; padding: 8px 6px; text-align: center; }
.gs-ap-stats div:nth-child(1) { background: var(--ap-mint); }
.gs-ap-stats div:nth-child(2) { background: var(--ap-yellow); }
.gs-ap-stats div:nth-child(3) { background: var(--ap-pink); }
.gs-ap-stats b { display: block; font-size: 15px; font-weight: 700; color: var(--ap-navy); }
.gs-ap-stats span { display: block; margin-top: 2px; font-size: 10.5px; line-height: 1.3; color: #4b4a48; }
.gs-ap-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  height: 50px; border-radius: 10px; border: 1px solid var(--ap-blue); background: #fff;
  color: var(--ap-blue); font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background-color 150ms ease;
}
.gs-ap-btn small { font-size: 11px; font-weight: 500; color: #4b4a48; }
.gs-ap-btn:hover { background: var(--ap-sky); }
@media (max-width: 767px) {
  .gs-ap-wrap { inset: 2% 0; }
  .gs-ap-card { width: min(100%, 330px); padding: 12px; }
  .gs-ap-row { margin-top: 10px; gap: 12px; }
  .gs-ap-photo { width: 76px; height: 86px; }
  .gs-ap-name { font-size: 15px; }
  .gs-ap-stats { margin: 10px 0 10px; gap: 6px; }
  .gs-ap-stats b { font-size: 13.5px; }
  .gs-ap-btn { height: 44px; font-size: 13px; }
}
