/* ==========================================================================
   Shumaila Amjad — Senior Physiotherapist
   Clean, calming healthcare aesthetic. Teal + white.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --teal-900: #0f4c4c;
  --teal-800: #125c5a;
  --teal-700: #147a75;
  --teal-600: #1a9a92;
  --teal-500: #2bb3a9;
  --teal-100: #d6efec;
  --teal-50: #eef8f7;

  --ink: #1c2b2b;
  --body: #46595a;
  --muted: #6b7d7e;

  --bg: #ffffff;
  --bg-soft: #f4faf9;
  --bg-tint: #eef8f7;
  --line: #e2ecec;

  --white: #ffffff;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;

  --shadow-sm: 0 1px 3px rgba(15, 76, 76, 0.08);
  --shadow-md: 0 10px 30px rgba(15, 76, 76, 0.10);
  --shadow-lg: 0 24px 60px rgba(15, 76, 76, 0.16);

  --radius: 14px;
  --radius-lg: 22px;
  --container: 1140px;
  --header-h: 76px;

  --font-head: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--teal-700);
  text-decoration: none;
}
a:hover {
  color: var(--teal-600);
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  font-weight: 600;
}

h1 {
  font-size: clamp(2rem, 4.6vw, 3.15rem);
  font-weight: 700;
}
h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.35rem);
}
h3 {
  font-size: 1.2rem;
}

p {
  margin-top: 0.85em;
}
p:first-child {
  margin-top: 0;
}

:focus-visible {
  outline: 3px solid var(--teal-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

.section {
  padding-block: clamp(56px, 9vw, 104px);
}
.section:nth-of-type(even) {
  background: var(--bg-soft);
}

.section-head {
  max-width: 640px;
  margin-bottom: 46px;
}
.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
}

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal-600);
  margin-bottom: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease,
    box-shadow 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--teal-700);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--teal-600);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--teal-800);
  border-color: var(--teal-100);
}
.btn-ghost:hover {
  background: var(--teal-50);
  color: var(--teal-800);
}

.btn-outline {
  background: transparent;
  color: var(--teal-800);
  border-color: currentColor;
  width: 100%;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.6);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #06331b;
  width: 100%;
}
.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  color: #fff;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s ease, border-color 0.2s ease,
    background-color 0.2s ease;
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
  background: var(--teal-50);
  padding: 4px;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text strong {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
}
.brand-text small {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.02em;
}

.main-nav .nav-list {
  list-style: none;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-link {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--ink);
  position: relative;
  padding-block: 6px;
}
.nav-list .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--teal-600);
  transition: width 0.2s ease;
}
.nav-list .nav-link:hover::after,
.nav-list .nav-link.active::after {
  width: 100%;
}
.nav-cta-mobile {
  display: none;
}

.header-cta {
  padding: 11px 20px;
}

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  /* Greener, still light and airy (green intensity bumped ~15%) */
  background: linear-gradient(
    180deg,
    #d5efe3 0%,
    #e8f6f0 46%,
    var(--white) 82%
  );
  padding-block: clamp(48px, 8vw, 90px);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-lead {
  font-size: 1.12rem;
  color: var(--body);
  max-width: 46ch;
  margin-top: 20px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-stats {
  list-style: none;
  padding: 0;
  margin-top: 44px;
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}
.hero-stats li {
  display: flex;
  flex-direction: column;
}
.hero-stats strong {
  font-family: var(--font-head);
  font-size: 1.7rem;
  color: var(--teal-800);
  font-weight: 700;
}
.hero-stats span {
  font-size: 0.86rem;
  color: var(--muted);
}

.hero-media {
  position: relative;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-photo-frame {
  position: relative;
  width: 340px;
  max-width: 100%;
  aspect-ratio: 41 / 50;
  /* white inner frame so any residual scan edge reads as border, not artifact */
  border: 7px solid var(--white);
  border-radius: 34px 34px 34px 104px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--white);
}
.hero-photo-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 76, 76, 0.12));
  z-index: 1;
}
.hero-photo {
  /* oversized + absolutely placed so object-fit does the cropping and the
     rounded wrapper clips it cleanly (no transform = no rounded-clip bugs) */
  position: absolute;
  top: -8%;
  left: -8%;
  width: 116%;
  height: 116%;
  object-fit: cover;
  object-position: center 25%;
}
.hero-media::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  background: radial-gradient(circle, var(--teal-100), transparent 70%);
  border-radius: 50%;
  top: -40px;
  right: -40px;
  z-index: -1;
}
.hero-badge {
  /* sits fully below the photo, never overlapping it */
  margin-top: 20px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.8rem;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: center;
}
.hero-badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal-500);
  box-shadow: 0 0 0 4px var(--teal-100);
}

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px 48px;
}
.about-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 360px;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.about-bio h3 {
  margin-top: 30px;
  margin-bottom: 12px;
  color: var(--teal-800);
}
.cred-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}
.cred-list li {
  position: relative;
  padding-left: 28px;
  color: var(--body);
}
.cred-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal-100);
  border: 3px solid var(--teal-500);
}

.about-qualities {
  grid-column: 1 / -1;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
  margin-top: 4px;
}
.about-qualities h3 {
  margin-bottom: 18px;
  color: var(--teal-800);
}
.qualities-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 32px;
}
.qualities-list li {
  display: flex;
  gap: 14px;
}
.quality-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--teal-50);
  color: var(--teal-700);
  display: grid;
  place-items: center;
}
.quality-icon svg {
  width: 20px;
  height: 20px;
}
.qualities-list strong {
  display: block;
  font-family: var(--font-head);
  color: var(--ink);
  font-size: 0.98rem;
}
.qualities-list p {
  margin-top: 2px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-100);
}
.service-media {
  margin: -30px -26px 0;
  aspect-ratio: 16 / 10;
  background: var(--teal-50);
  overflow: hidden;
}
.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.service-card:hover .service-media img {
  transform: scale(1.05);
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--teal-50), var(--teal-100));
  color: var(--teal-700);
  display: grid;
  place-items: center;
  margin-top: -34px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 5px var(--white);
}
.service-icon svg {
  width: 26px;
  height: 26px;
}
.service-card h3 {
  margin-bottom: 8px;
}
.service-card p {
  font-size: 0.95rem;
  color: var(--muted);
}
.service-card em {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--teal-600);
  font-style: normal;
}
.services-note:empty {
  display: none;
}

/* ==========================================================================
   Experience timeline
   ========================================================================== */
.timeline {
  list-style: none;
  padding: 0;
  position: relative;
  max-width: 780px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--teal-100);
}
.timeline-item {
  position: relative;
  padding-left: 42px;
  padding-bottom: 30px;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-marker {
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--teal-500);
}
.timeline-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}
.timeline-date {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-600);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.timeline-card h3 {
  margin: 6px 0 2px;
}
.timeline-org {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}
.timeline-card p:last-child {
  font-size: 0.95rem;
  margin-top: 10px;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 34px;
  align-items: start;
}
.contact-cards {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 14px;
}
.contact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--teal-50);
  color: var(--teal-700);
  display: grid;
  place-items: center;
}
.contact-icon svg {
  width: 22px;
  height: 22px;
}
.contact-card strong {
  display: block;
  font-family: var(--font-head);
  color: var(--ink);
  font-size: 0.95rem;
  margin-bottom: 3px;
}
.contact-card a,
.contact-card address,
.contact-card span {
  font-style: normal;
  font-size: 0.92rem;
  color: var(--body);
}

.contact-cta-panel {
  background: linear-gradient(160deg, var(--teal-800), var(--teal-600));
  color: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-md);
}
.contact-cta-panel h3 {
  color: var(--white);
  margin-bottom: 6px;
}
.contact-cta-panel p {
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.contact-cta-panel .btn {
  margin-top: 10px;
}
.contact-cta-panel .btn-outline {
  color: var(--white);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--teal-900);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 46px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 26px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand img {
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.9);
  padding: 4px;
}
.footer-brand strong {
  color: #fff;
  font-family: var(--font-head);
  display: block;
}
.footer-brand p {
  margin: 0;
  font-size: 0.85rem;
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-head);
  font-size: 0.92rem;
}
.footer-nav a:hover {
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.9rem;
}
.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
}
.footer-contact a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-block: 20px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom p {
  margin: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-lead {
    margin-inline: auto;
  }
  .hero-actions,
  .hero-stats {
    justify-content: center;
  }
  .hero-media {
    order: -1;
  }
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-photo {
    min-height: 260px;
    max-height: 420px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .header-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 22px 22px;
  }
  .nav-list li {
    border-bottom: 1px solid var(--line);
  }
  .nav-list li:last-child {
    border-bottom: none;
  }
  .main-nav .nav-link {
    display: block;
    padding: 15px 0;
    font-size: 1rem;
  }
  .nav-list .nav-link::after {
    display: none;
  }
  .nav-cta-mobile {
    display: block;
    margin-top: 16px;
  }
  .nav-cta-mobile .btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .services-grid,
  .contact-cards,
  .qualities-list {
    grid-template-columns: 1fr;
  }
  .brand-text small {
    display: none;
  }
  .hero-badge {
    white-space: normal;
    border-radius: 18px;
  }
  .hero-stats {
    gap: 22px;
  }
  .footer-inner {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
