/* =========================================================
   DR. NOTES - GENERAL PRACTICE LANDING PAGE
========================================================= */

.general-practice-page {
  --gp-blue: #0d6efd;
  --gp-blue-dark: #0756ce;
  --gp-blue-soft: #eaf3ff;
  --gp-navy: #061b56;
  --gp-text: #263756;
  --gp-muted: #64718a;
  --gp-border: #dce7f6;
  --gp-background: #ffffff;
  --gp-warm: #fffaf4;

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

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

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

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

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

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

.gp-hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 0;
  background:
    radial-gradient(
      circle at 2% 8%,
      rgba(13, 110, 253, 0.12),
      transparent 22%
    ),
    linear-gradient(
      135deg,
      #f4f8ff 0%,
      #eef5ff 58%,
      #e7f0ff 100%
    );
}

.gp-hero::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -150px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

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

/*
  This also supports the earlier custom gp-hero-main
  structure, but the current Bootstrap row works directly.
*/
.gp-hero-main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 48px;
}

/*
  The HTML uses col-xl-5 and col-xl-7.
  Override them only in this hero so the layout becomes
  the same balanced 50/50 structure as Physiotherapy.
*/
@media (min-width: 1200px) {
  .gp-hero > .container > .row {
    align-items: center !important;
  }

  .gp-hero > .container > .row > .col-xl-5,
  .gp-hero > .container > .row > .col-xl-7 {
    flex: 0 0 auto;
    width: 50%;
    max-width: 50%;
  }
}

.gp-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 610px;
  padding-bottom: 44px;
}

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

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

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

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

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

.gp-store-buttons a:hover {
  transform: translateY(-2px);
  filter:
    drop-shadow(
      0 8px 12px rgba(13, 110, 253, 0.15)
    );
}

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

.gp-hero-visual {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  min-height: 470px;
}

.gp-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 28px;
  background: #eaf0f9;
  box-shadow:
    0 24px 60px rgba(14, 47, 102, 0.14);
}

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

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

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

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

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

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

.gp-why {
  position: relative;
  overflow: hidden;
  padding: 58px 0 80px;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(13, 110, 253, 0.12),
      transparent 24%
    ),
    radial-gradient(
      circle at 0 100%,
      rgba(13, 110, 253, 0.1),
      transparent 22%
    ),
    #ffffff;
}

.gp-section-heading {
  max-width: 800px;
  margin: 0 auto 34px;
}

.gp-section-label {
  display: inline-block;
  margin-bottom: 11px;
  color: var(--gp-blue);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.gp-section-heading h2 {
  margin: 0 0 13px;
  color: var(--gp-navy);
  font-size: clamp(35px, 3.5vw, 49px);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: -0.04em;
}

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

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

.gp-benefits-wrap {
  max-width: 780px;
  margin: 0 auto;
}

.gp-benefit-card {
  height: 100%;
  min-height: 195px;
  padding: 25px 27px;
  border: 1px solid var(--gp-border);
  border-radius: 18px;
  background: #ffffff;
  box-shadow:
    0 14px 34px rgba(12, 42, 96, 0.06);
}

.gp-benefit-icon {
  width: 57px;
  height: 57px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--gp-blue-soft);
  color: var(--gp-blue);
  font-size: 23px;
}

.gp-benefit-card h3 {
  margin: 0 0 7px;
  color: var(--gp-navy);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 850;
}

.gp-benefit-card p {
  margin: 0;
  color: #53627d;
  font-size: 13px;
  line-height: 1.6;
}

/* =========================================================
   PATIENT STORY
========================================================= */

.gp-story {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(13, 110, 253, 0.1),
      transparent 22%
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fbfdff 100%
    );
}

.gp-story-image {
  overflow: hidden;
  min-height: 575px;
  border-radius: 28px;
  box-shadow:
    0 22px 50px rgba(13, 43, 96, 0.12);
}

.gp-story-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 575px;
  object-fit: cover;
}

.gp-story-content h2 {
  margin: 0 0 21px;
  color: var(--gp-navy);
  font-size: clamp(38px, 4vw, 55px);
  line-height: 1.1;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.gp-story-content h2 span {
  display: block;
  color: var(--gp-blue);
}

.gp-story-content > p {
  margin: 0 0 26px;
  color: #435473;
  font-size: 16px;
  line-height: 1.75;
}

.gp-story-points {
  display: grid;
  gap: 16px;
  margin-bottom: 27px;
}

.gp-story-points > div {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gp-navy);
  font-size: 15px;
  font-weight: 650;
}

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

.gp-story-note {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 17px;
  padding: 20px 22px;
  border: 1px solid #cfe1fb;
  border-radius: 17px;
  background: var(--gp-blue-soft);
}

.gp-story-note-icon {
  width: 57px;
  height: 57px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-right: 2px solid var(--gp-blue);
  color: var(--gp-blue);
  font-size: 25px;
}

.gp-story-note p {
  margin: 0;
  color: #31486d;
  font-size: 14px;
  line-height: 1.6;
}

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

.gp-features-heading {
  padding: 92px 0 78px;
  background:
    linear-gradient(
      135deg,
      #f8fbff 0%,
      #f1f6ff 100%
    );
}

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

.gp-feature-section {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
}

.gp-feature-white {
  background: #ffffff;
}

.gp-feature-warm {
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(13, 110, 253, 0.12),
      transparent 18%
    ),
    linear-gradient(
      135deg,
      #fffdf9 0%,
      #fff9f1 100%
    );
}

.gp-app-preview {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gp-feature-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.gp-preview-standard {
  max-width: 660px;
}

.gp-preview-wide {
  max-width: 760px;
}

.gp-feature-content h2 {
  margin: 0 0 15px;
  color: var(--gp-navy);
  font-size: clamp(39px, 4vw, 58px);
  line-height: 1.04;
  font-weight: 850;
  letter-spacing: -0.045em;
}

.gp-feature-content > p {
  margin: 0 0 24px;
  color: #405171;
  font-size: 17px;
  line-height: 1.65;
}

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

.gp-feature-content li {
  position: relative;
  min-height: 61px;
  display: flex;
  align-items: center;
  padding: 14px 0 14px 48px;
  border-bottom: 1px solid #dce6f3;
  color: var(--gp-navy);
  font-size: 16px;
  line-height: 1.45;
}

.gp-feature-content li:last-child {
  border-bottom: 0;
}

.gp-feature-content li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gp-blue);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
}

/* =========================================================
   GENERAL PRACTICE TOOLS
========================================================= */

.gp-tools-section {
  position: relative;
  overflow: hidden;
  padding: 96px 0 84px;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(13, 110, 253, 0.13),
      transparent 23%
    ),
    radial-gradient(
      circle at 0 100%,
      rgba(13, 110, 253, 0.1),
      transparent 20%
    ),
    linear-gradient(
      135deg,
      #fffdf8 0%,
      #fff9ef 100%
    );
}

.gp-tools-header {
  max-width: 900px;
  margin: 0 auto 42px;
}

.gp-tools-header h2 {
  margin: 0 0 12px;
  color: var(--gp-navy);
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.gp-tools-header p {
  margin: 0;
  color: var(--gp-muted);
  font-size: 16px;
  line-height: 1.65;
}

.gp-tool-card {
  height: 100%;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 31px 25px 24px;
  border: 1px solid #e3e7ec;
  border-radius: 18px;
  background: #ffffff;
  box-shadow:
    0 14px 30px rgba(29, 43, 69, 0.09);
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.gp-tool-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 20px 40px rgba(29, 43, 69, 0.13);
}

.gp-tool-icon {
  width: 101px;
  height: 101px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border: 2px solid var(--gp-navy);
  border-radius: 26px;
  background:
    linear-gradient(
      145deg,
      #6db7ff 0%,
      #278cff 100%
    );
  color: #ffffff;
  font-size: 42px;
  box-shadow:
    0 10px 20px rgba(13, 110, 253, 0.18);
}

.gp-tool-card h3 {
  margin: 0 0 11px;
  color: var(--gp-navy);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 850;
}

.gp-tool-card p {
  margin: 0 0 23px;
  color: #5a6578;
  font-size: 14px;
  line-height: 1.55;
}

.gp-tool-button {
  width: 100%;
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--gp-blue);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow:
    0 10px 20px rgba(13, 110, 253, 0.2);
}

.gp-tool-button:hover {
  background: var(--gp-blue-dark);
  color: #ffffff;
}

.gp-tools-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 37px;
  color: #4e596d;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.gp-tools-note i {
  color: var(--gp-blue);
  font-size: 19px;
}

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

.gp-blogs-section {
  background: #ffffff;
}

.general-practice-page .latest-blogs-title {
  color: var(--gp-navy);
}

.general-practice-page .highlights-underline {
  background: var(--gp-blue);
}

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

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

.gp-why,
.gp-story,
.gp-features-heading,
.gp-feature-section,
#general-practice-tools,
#general-practice-blogs {
  scroll-margin-top: 95px;
}

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

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

  .gp-hero-main {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .gp-hero-content h1 {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
    font-size: 49px;
  }

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

  .gp-hero-content > p {
    max-width: 700px;
    margin-right: auto;
    margin-left: auto;
  }

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

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

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

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

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

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

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

  .gp-app-preview {
    margin-top: 15px;
  }
}

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

@media (max-width: 991.98px) {
  .gp-hero-content h1 {
    font-size: 44px;
  }

  .gp-hero-visual {
    min-height: 440px;
  }

  .gp-story-image,
  .gp-story-image img {
    min-height: 500px;
  }

  .gp-benefits-wrap {
    max-width: 760px;
  }

  .gp-benefit-card {
    min-height: 190px;
  }

  .gp-tool-card {
    min-height: 365px;
  }
}

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

@media (max-width: 767.98px) {
  .gp-hero {
    padding-top: 36px;
  }

  .gp-hero-content h1 {
    font-size: 40px;
    line-height: 1.06;
  }

  .gp-hero-content > p {
    font-size: 15px;
    line-height: 1.75;
  }

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

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

  .gp-hero-photo {
    border-radius: 21px;
  }

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

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

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

  .gp-why,
  .gp-tools-section {
    padding-top: 68px;
    padding-bottom: 70px;
  }

  .gp-story,
  .gp-feature-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .gp-section-heading h2,
  .gp-story-content h2,
  .gp-feature-content h2,
  .gp-tools-header h2 {
    font-size: 38px;
  }

  .gp-benefits-wrap {
    max-width: 100%;
  }

  .gp-benefit-card {
    min-height: 0;
    padding: 24px;
  }

  .gp-story-image,
  .gp-story-image img {
    min-height: 410px;
  }

  .gp-feature-content > p {
    font-size: 16px;
  }

  .gp-feature-content li {
    font-size: 15px;
  }
}

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

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

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

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

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

@media (max-width: 479.98px) {
  .gp-store-buttons {
    align-items: flex-start;
    flex-direction: column;
  }

  .gp-store-buttons img {
    height: 46px;
  }

  .gp-section-heading h2,
  .gp-story-content h2,
  .gp-feature-content h2,
  .gp-tools-header h2 {
    font-size: 32px;
  }

  .gp-section-heading p,
  .gp-story-content > p,
  .gp-tools-header p {
    font-size: 15px;
  }

  .gp-story-image,
  .gp-story-image img {
    min-height: 340px;
  }

  .gp-story-note {
    grid-template-columns: 1fr;
  }

  .gp-story-note-icon {
    width: 100%;
    border-right: 0;
    border-bottom: 2px solid var(--gp-blue);
  }

  .gp-tool-card {
    min-height: 0;
  }

  .gp-tools-note {
    align-items: flex-start;
  }
}
/* =========================================================
   FEATURE 1 IMAGE SIZE FIX

   Enlarges only the General Practice Clinical Notes image.
   Features 2, 3 and 4 remain unchanged.
========================================================= */

.gp-feature-notes .gp-app-preview {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  padding-right: 0;
  padding-left: 0;
  overflow: visible;
}

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

/* Laptop and stacked desktop layout */
@media (max-width: 1199.98px) {
  .gp-feature-notes .gp-app-preview {
    max-width: 860px;
    min-height: 410px;
    margin-right: auto;
    margin-left: auto;
  }

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

/* Tablet and mobile */
@media (max-width: 767.98px) {
  .gp-feature-notes .gp-app-preview {
    min-height: 320px;
    overflow: hidden;
  }

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

/* Small mobile */
@media (max-width: 575.98px) {
  .gp-feature-notes .gp-app-preview {
    min-height: 245px;
  }

  .gp-preview-notes {
    width: 100%;
    max-width: 100%;
  }
}