/* =========================================================
   DR. NOTES - PHYSIOTHERAPY LANDING PAGE
========================================================= */

.physiotherapy-page {
  --physio-blue: #1268f4;
  --physio-blue-dark: #0a4fbe;
  --physio-blue-deep: #082b63;
  --physio-blue-medium: #3f86ed;
  --physio-sky: #68b7f7;
  --physio-aqua-blue: #5bc4d8;

  --physio-ice: #f4f8ff;
  --physio-cloud: #edf4fc;
  --physio-soft-blue: #e5f0ff;
  --physio-white: #ffffff;

  --physio-navy: #071b45;
  --physio-text: #344563;
  --physio-muted: #68758b;
  --physio-border: #dce7f5;

  overflow-x: hidden;
  background: var(--physio-white);
  color: var(--physio-text);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
}

.physiotherapy-page *,
.physiotherapy-page *::before,
.physiotherapy-page *::after {
  box-sizing: border-box;
}

.physiotherapy-page h1,
.physiotherapy-page h2,
.physiotherapy-page h3,
.physiotherapy-page p {
  margin-top: 0;
}

.physiotherapy-page img {
  max-width: 100%;
}

.physiotherapy-page .row > * {
  min-width: 0;
}

/* =========================================================
   SHARED HEADINGS
========================================================= */

.physio-section-heading {
  max-width: 830px;
  margin: 0 auto 46px;
}

.physio-section-heading h2 {
  margin: 0 0 16px;
  color: var(--physio-navy);
  font-size: clamp(36px, 4vw, 50px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.physio-section-heading h2 span {
  color: var(--physio-blue);
}

.physio-section-heading p {
  max-width: 690px;
  margin: 0 auto;
  color: var(--physio-muted);
  font-size: 17px;
  line-height: 1.72;
}

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

.physio-hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 0;
  background:
    radial-gradient(
      circle at 8% 15%,
      rgba(18, 104, 244, 0.1),
      transparent 28%
    ),
    radial-gradient(
      circle at 90% 20%,
      rgba(91, 196, 216, 0.1),
      transparent 30%
    ),
    linear-gradient(
      120deg,
      #ffffff 0%,
      #f3f8ff 55%,
      #edf6ff 100%
    );
}

.physio-hero::before {
  content: "";
  position: absolute;
  top: -170px;
  left: -190px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(18, 104, 244, 0.11);
  border-radius: 50%;
  box-shadow:
    0 0 0 30px rgba(18, 104, 244, 0.025),
    0 0 0 60px rgba(104, 183, 247, 0.018);
  pointer-events: none;
}

.physio-hero .container {
  position: relative;
  z-index: 2;
}

.physio-hero-content {
  max-width: 610px;
  padding-bottom: 44px;
}

.physio-hero-content h1 {
  margin: 0 0 23px;
  color: var(--physio-navy);
  font-size: clamp(43px, 4.7vw, 64px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.physio-hero-content h1 span {
  display: block;
  color: var(--physio-blue);
}

.physio-hero-content > p {
  max-width: 590px;
  margin-bottom: 29px;
  color: #40516c;
  font-size: 16px;
  line-height: 1.8;
}

.physio-store-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.physio-store-buttons a {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

.physio-store-buttons a:hover {
  transform: translateY(-2px);
  filter: drop-shadow(
    0 8px 12px rgba(18, 104, 244, 0.15)
  );
}

.physio-store-buttons img {
  display: block;
  width: auto;
  height: 50px;
}

.physio-hero-visual {
  position: relative;
  min-height: 470px;
}

.physio-hero-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 28px;
  background: var(--physio-cloud);
  box-shadow: 0 26px 62px rgba(23, 55, 97, 0.15);
}

.physio-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.physio-hero-benefits {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 15px auto 34px;
  padding: 14px 18px;
  border: 1px solid var(--physio-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 14px 34px rgba(7, 27, 69, 0.07);
}

.physio-hero-benefit {
  min-width: 0;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 24px;
  color: var(--physio-navy);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}

.physio-hero-benefit + .physio-hero-benefit {
  border-left: 1px solid #e4ebf5;
}

.physio-hero-benefit i {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: var(--physio-soft-blue);
  color: var(--physio-blue);
  font-size: 18px;
}

.physio-hero-benefit:nth-child(2) i {
  background: #edf5ff;
  color: var(--physio-blue-medium);
}

.physio-hero-benefit:nth-child(3) i {
  background: #e8effa;
  color: var(--physio-blue-deep);
}

.physio-hero-benefit:nth-child(4) i {
  background: #ecf7ff;
  color: #3b91d6;
}

/* =========================================================
   WHY DR. NOTES
========================================================= */

.physio-why {
  position: relative;
  overflow: hidden;
  padding: 94px 0 104px;
  background: #f7faff;
}

.physio-why::before {
  content: "";
  position: absolute;
  top: -160px;
  left: -155px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(18, 104, 244, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 26px rgba(18, 104, 244, 0.018),
    0 0 0 52px rgba(104, 183, 247, 0.014);
  pointer-events: none;
}

.physio-why .container {
  position: relative;
  z-index: 2;
}

.physio-benefit-card {
  --card-accent: var(--physio-blue);

  height: 100%;
  min-height: 300px;
  padding: 29px 25px;
  border: 1px solid #e1e9f5;
  border-top: 4px solid var(--card-accent);
  border-radius: 16px;
  background: var(--physio-white);
  box-shadow: 0 14px 35px rgba(8, 38, 91, 0.065);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.physio-why .row > div:nth-child(2) .physio-benefit-card {
  --card-accent: var(--physio-blue-medium);
}

.physio-why .row > div:nth-child(3) .physio-benefit-card {
  --card-accent: var(--physio-blue-deep);
}

.physio-why .row > div:nth-child(4) .physio-benefit-card {
  --card-accent: var(--physio-sky);
}

.physio-benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 21px 45px rgba(8, 38, 91, 0.11);
}

.physio-benefit-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 17px;
  background: var(--physio-soft-blue);
  color: var(--card-accent);
  font-size: 26px;
}

.physio-benefit-card h3 {
  position: relative;
  margin: 0 0 25px;
  color: var(--physio-navy);
  font-size: 20px;
  line-height: 1.3;
  font-weight: 800;
}

.physio-benefit-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -11px;
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: var(--card-accent);
}

.physio-benefit-card p {
  margin: 0;
  color: var(--physio-muted);
  font-size: 15px;
  line-height: 1.72;
}

/* =========================================================
   RECOVERY STORY
========================================================= */

.physio-story {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background:
    radial-gradient(
      circle at 92% 15%,
      rgba(91, 196, 216, 0.08),
      transparent 27%
    ),
    #ffffff;
}

.physio-story-image {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--physio-cloud);
  box-shadow: 0 24px 58px rgba(15, 43, 83, 0.13);
}

.physio-story-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.physio-story-content {
  max-width: 610px;
  padding-left: 18px;
}

.physio-story-content h2 {
  margin: 0 0 24px;
  color: var(--physio-navy);
  font-size: clamp(39px, 4vw, 56px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.physio-story-content > p {
  margin-bottom: 25px;
  color: #40516e;
  font-size: 16px;
  line-height: 1.8;
}

.physio-story-points {
  display: grid;
  gap: 0;
  margin-bottom: 24px;
  padding: 10px 22px;
  border: 1px solid #d9e7f7;
  border-radius: 18px;
  background: #f1f6ff;
}

.physio-story-points > div {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--physio-navy);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
}

.physio-story-points > div + div {
  border-top: 1px solid #dfe8f5;
}

.physio-story-points i {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--physio-blue);
  color: #ffffff;
  font-size: 11px;
}

.physio-story-closing {
  margin: 0 !important;
  color: #52617a !important;
  font-size: 15px !important;
}

/* =========================================================
   FEATURE SECTIONS
========================================================= */

.physio-features-heading {
  padding: 94px 0 70px;
  background:
    linear-gradient(
      180deg,
      #edf5ff 0%,
      #f7faff 100%
    );
}

.physio-features-heading .physio-section-heading {
  margin-bottom: 0;
}

.physio-feature-section {
  --section-accent: 18, 104, 244;

  position: relative;
  overflow: hidden;
  padding: 82px 0;
  border-top: 1px solid #eaf0f8;
}

.physio-tone-white {
  background: #ffffff;
}

.physio-tone-ice {
  --section-accent: 63, 134, 237;

  background:
    radial-gradient(
      circle at 12% 20%,
      rgba(18, 104, 244, 0.07),
      transparent 27%
    ),
    var(--physio-ice);
}

.physio-tone-cloud {
  --section-accent: 91, 196, 216;

  background:
    radial-gradient(
      circle at 90% 18%,
      rgba(91, 196, 216, 0.07),
      transparent 27%
    ),
    var(--physio-cloud);
}

.physio-feature-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 570px;
}

.physio-feature-content h2 {
  margin: 0 0 18px;
  color: var(--physio-navy);
  font-size: clamp(38px, 4vw, 52px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.physio-feature-content > p {
  margin-bottom: 25px;
  color: var(--physio-muted);
  font-size: 16px;
  line-height: 1.75;
}

.physio-feature-content ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.physio-feature-content li {
  position: relative;
  padding-left: 31px;
  color: #31425f;
  font-size: 15px;
  line-height: 1.58;
  font-weight: 650;
}

.physio-feature-content li::before {
  content: "\2713";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--physio-blue);
  font-size: 18px;
  font-weight: 900;
}

/* Responsive feature screenshots */

.physio-app-preview {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
}

.physio-app-preview::before {
  content: "";
  position: absolute;
  width: min(390px, 72%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    linear-gradient(
      145deg,
      rgba(var(--section-accent), 0.13),
      rgba(var(--section-accent), 0.025)
    );
}

.physio-feature-preview-image {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(
      0 22px 30px rgba(8, 32, 77, 0.14)
    );
}

.physio-preview-standard {
  width: min(100%, 700px);
}

.physio-preview-wide {
  width: min(100%, 820px);
}

/*
   Feature 1 uses a two-phone image with more transparent breathing room
   inside the source artwork. Give only this preview a wider column and
   slightly larger render so its visual scale matches Feature 2.
*/
.physio-feature-notes .physio-app-preview {
  padding-right: 0;
  padding-left: 0;
  overflow: visible;
}

.physio-preview-notes {
  width: min(118%, 880px);
  max-width: none;
}

/* =========================================================
   PHYSIOTHERAPY TOOLS
========================================================= */

.physio-tools-section {
  position: relative;
  overflow: hidden;
  padding: 94px 0 104px;
  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(104, 183, 247, 0.22),
      transparent 28%
    ),
    radial-gradient(
      circle at 92% 90%,
      rgba(91, 196, 216, 0.16),
      transparent 32%
    ),
    linear-gradient(
      135deg,
      #071b45 0%,
      #0b4a92 58%,
      #1268f4 100%
    );
}

.physio-tools-header {
  max-width: 780px;
  margin: 0 auto 42px;
}

.physio-tools-header h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(38px, 4vw, 50px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.physio-tools-header h2 span {
  color: #9bd7ff;
}

.physio-tools-header p {
  max-width: 660px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.72;
}

.physio-tool-card {
  --tool-accent: var(--physio-blue-medium);

  height: 100%;
  min-height: 315px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 29px 25px 24px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-top: 5px solid var(--tool-accent);
  border-radius: 17px;
  background: #ffffff;
  text-align: left;
  box-shadow: 0 18px 42px rgba(3, 22, 53, 0.23);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.physio-tools-section .row > div:nth-child(2) .physio-tool-card {
  --tool-accent: var(--physio-blue);
}

.physio-tools-section .row > div:nth-child(3) .physio-tool-card {
  --tool-accent: var(--physio-sky);
}

.physio-tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 52px rgba(3, 22, 53, 0.3);
}

.physio-tool-card h3 {
  margin: 0 0 12px;
  color: var(--physio-navy);
  font-size: 19px;
  line-height: 1.38;
  font-weight: 800;
}

.physio-tool-card p {
  flex: 1;
  margin: 0 0 22px;
  color: var(--physio-muted);
  font-size: 14px;
  line-height: 1.67;
}

.physio-tool-btn {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 21px;
  border-radius: 9px;
  background: var(--physio-blue);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(18, 104, 244, 0.2);
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.physio-tool-btn:hover {
  background: var(--physio-blue-dark);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(18, 104, 244, 0.25);
}

/* =========================================================
   PHYSIOTHERAPY BLOGS
========================================================= */

.physio-blogs-section {
  background:
    linear-gradient(
      180deg,
      #f7faff 0%,
      #ffffff 100%
    );
}

.physiotherapy-page .latest-blogs-title {
  color: var(--physio-navy);
}

.physiotherapy-page .highlights-underline {
  background: var(--physio-blue);
}

.physiotherapy-page .latest-blogs-viewall-btn {
  border-color: var(--physio-blue);
  background: var(--physio-blue);
  color: #ffffff;
}

.physiotherapy-page .latest-blogs-viewall-btn:hover {
  border-color: var(--physio-blue-dark);
  background: var(--physio-blue-dark);
  color: #ffffff;
}

/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1200px) {
  .physio-hero-visual {
    min-height: auto;
    display: flex;
    align-items: center;
  }

  .physio-hero-photo {
    position: relative;
    width: 100%;
    height: 470px;
  }

  .physio-story {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .physio-story-image {
    width: 100%;
    height: 640px;
    min-height: 0;
  }

  .physio-story-content {
    padding-left: 8px;
  }
}

/* =========================================================
   LAPTOP AND SMALL DESKTOP
========================================================= */

@media (max-width: 1199.98px) {
  .physio-hero {
    padding-top: 45px;
  }

  .physio-hero-content {
    max-width: 760px;
    margin: 0 auto;
    padding-bottom: 12px;
    text-align: center;
  }

  .physio-hero-content h1 {
    font-size: 49px;
  }

  .physio-hero-content h1 span {
    display: inline;
  }

  .physio-hero-content > p {
    margin-right: auto;
    margin-left: auto;
  }

  .physio-store-buttons {
    justify-content: center;
  }

  .physio-hero-visual {
    width: 100%;
    max-width: 820px;
    min-height: 500px;
    margin: 20px auto 0;
  }

  .physio-hero-photo {
    border-radius: 28px;
  }

  .physio-hero-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 820px;
    margin-top: 24px;
    padding: 10px;
  }

  .physio-hero-benefit {
    padding: 15px 20px;
  }

  .physio-hero-benefit:nth-child(3) {
    border-left: 0;
  }

  .physio-hero-benefit:nth-child(n + 3) {
    border-top: 1px solid #e4ebf5;
  }

  .physio-story-image {
    max-width: 820px;
    min-height: 520px;
    margin: 0 auto;
  }

  .physio-story-content {
    max-width: 760px;
    margin: 0 auto;
    padding-left: 0;
  }

  .physio-feature-content {
    max-width: 760px;
    margin: 0 auto;
  }

  .physio-app-preview {
    max-width: 840px;
    min-height: 400px;
    margin: 0 auto;
    padding: 22px;
  }

  .physio-preview-standard {
    width: min(100%, 640px);
  }

  .physio-preview-wide {
    width: min(100%, 720px);
  }

  .physio-preview-notes {
    width: min(108%, 760px);
  }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {
  .physio-section-heading h2 {
    font-size: 38px;
  }

  .physio-story-content h2 {
    font-size: 42px;
  }

  .physio-feature-content h2 {
    font-size: 40px;
  }

  .physio-feature-section {
    padding: 70px 0;
  }

  .physio-benefit-card {
    min-height: 280px;
  }

  .physio-tool-card {
    min-height: 300px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {
  .physio-section-heading {
    margin-bottom: 35px;
  }

  .physio-section-heading h2 {
    font-size: 34px;
  }

  .physio-section-heading p {
    font-size: 15px;
  }

  .physio-hero-content h1 {
    font-size: 40px;
  }

  .physio-hero-visual {
    min-height: 410px;
  }

  .physio-hero-benefits {
    grid-template-columns: 1fr;
    margin-bottom: 24px;
  }

  .physio-hero-benefit {
    min-height: 62px;
    padding: 12px 16px;
    border-left: 0 !important;
  }

  .physio-hero-benefit + .physio-hero-benefit {
    border-top: 1px solid #e4ebf5;
  }

  .physio-why,
  .physio-story,
  .physio-tools-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .physio-benefit-card {
    min-height: auto;
  }

  .physio-story-image {
    min-height: 420px;
  }

  .physio-story-content h2 {
    font-size: 38px;
  }

  .physio-features-heading {
    padding: 72px 0 55px;
  }

  .physio-feature-section {
    padding: 65px 0;
  }

  .physio-feature-content h2 {
    font-size: 37px;
  }

  .physio-app-preview {
    min-height: 320px;
    padding: 14px;
  }

  .physio-app-preview::before {
    width: min(290px, 72vw);
  }

  .physio-preview-standard,
  .physio-preview-wide,
  .physio-preview-notes {
    width: min(100%, 620px);
    max-width: 100%;
  }

  .physio-feature-notes .physio-app-preview {
    overflow: hidden;
  }

  .physio-tool-card {
    min-height: auto;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575.98px) {
  .physio-hero {
    padding-top: 32px;
  }

  .physio-hero-content h1 {
    font-size: 35px;
  }

  .physio-hero-content > p {
    font-size: 15px;
  }

  .physio-store-buttons {
    gap: 9px;
  }

  .physio-store-buttons img {
    height: 43px;
  }

  .physio-hero-visual {
    min-height: 330px;
  }

  .physio-hero-photo {
    border-radius: 20px;
  }

  .physio-story-image {
    min-height: 350px;
    border-radius: 20px;
  }

  .physio-section-heading h2 {
    font-size: 30px;
  }

  .physio-benefit-card {
    padding: 25px 22px;
  }

  .physio-story-content h2 {
    font-size: 33px;
  }

  .physio-story-points {
    padding: 9px 15px;
  }

  .physio-story-points > div {
    align-items: flex-start;
    padding: 11px 0;
  }

  .physio-feature-content h2 {
    font-size: 32px;
  }

  .physio-app-preview {
    min-height: 245px;
    padding: 8px;
  }

  .physio-app-preview::before {
    width: min(225px, 70vw);
  }

  .physio-preview-standard,
  .physio-preview-wide,
  .physio-preview-notes {
    width: 100%;
    max-width: 100%;
  }

  .physio-tools-header h2 {
    font-size: 32px;
  }
}