* {
  box-sizing: border-box;
}

:root {
  --navy: #102c5a;
  --blue: #0968d8;
  --cyan: #20b9c7;
  --text: #14213d;
  --muted: #65718a;
  --border: #d7dfeb;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #f4f8ff;
}

.demo-page {
  min-height: 100vh;
  padding: 24px;
  background:
    radial-gradient(circle at 60% 40%, rgba(100, 170, 255, .18), transparent 34%),
    linear-gradient(135deg, #f8fbff 0%, #eaf3ff 100%);
}

.demo-hero-section {
  max-width: 1540px;
  min-height: calc(100vh - 48px);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(440px, .85fr);
  gap: 32px;
  border: 1px solid #b8cbea;
  overflow: hidden;
  position: relative;
}

.demo-hero-content {
  padding: 42px 42px 28px;
  position: relative;
  overflow: hidden;
}

.demo-hero-content::before {
  
  position: absolute;
  top: 70px;
  right: 46%;
  color: #cfe0fa;
  font-size: 72px;
  font-weight: bold;
}

.brand img {
  width: 330px;
  max-width: 62%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.intro {
  margin-top: 36px;
  max-width: 510px;
}

.intro h1 {
  margin: 0;
  font-size: clamp(56px, 5vw, 88px);
  line-height: .98;
  letter-spacing: -3px;
}

.intro h1 span {
  color: #2792c0;
}

.title-line {
  width: 78px;
  height: 5px;
  border-radius: 10px;
  background: #1264d6;
  margin: 28px 0;
}

.intro p {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
  color: #253450;
}

.demo-features {
  margin-top: 30px;
  display: grid;
  gap: 18px;
  position: relative;
  z-index: 2;
}

.demo-feature{
	display: flex;
    align-items: center;
    gap: 18px;
    transition:.3s;
    padding:12px;
    border-radius:15px;
}

.demo-feature:hover{
    background:#fff;
    transform:translateX(8px);
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.demo-feature-icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.demo-feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e7f1ff;
  color: #2792c0;
  border: 1px solid #d3e4fc;
  font-weight: bold;
  font-size: 23px;
  flex: 0 0 auto;
}

.demo-feature h3 {
  margin: 0 0 4px;
  color: #2792c0;
  font-size: 20px;
}

.demo-feature p {
  margin: 0;
  font-size: 16px;
}
.demo-product-visual::before{
    content:"";
    position:absolute;
    width:500px;
    height:500px;
    background:radial-gradient(circle,
        rgba(39,146,192,.25),
        transparent 70%);
    right:80px;
    top:-100px;
    z-index:0;
}

.demo-laptop{
    position:relative;
    width:720px;
    margin:auto;
    transform:perspective(1600px) rotateX(10deg) rotateY(-18deg);
    transform-style:preserve-3d;
}

.demo-screen{
    background:#111827;
    border:12px solid #111827;
    border-radius:18px;
    overflow:hidden;
    box-shadow:
        0 40px 80px rgba(0,0,0,.25),
        0 12px 20px rgba(0,0,0,.18);
}

.demo-screen-header {
  height: 28px;
  background: white;
  color: #6c7890;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 9px;
  font-size: 7px;
}

.demo-keyboard{
    width:112%;
    height:26px;
    margin-left:-6%;
    background:linear-gradient(
        to bottom,
        #d7dde8,
        #b8c3d2,
        #e8edf3
    );

    border-radius:0 0 35px 35px;

    position:relative;

    box-shadow:
        0 8px 25px rgba(0,0,0,.25);
}

.demo-keyboard:before{

    content:"";

    position:absolute;

    width:140px;

    height:8px;

    left:50%;

    margin-left:-70px;

    background:#9aa7b7;

    border-radius:20px;

    top:3px;
}

.demo-product-visual{

    position:relative;

    display:flex;

    justify-content:center;

    margin-top:40px;
}

.demo-product-visual:after{

    content:"";

    position:absolute;

    width:420px;

    height:45px;

    bottom:-25px;

    background:rgba(0,0,0,.18);

    filter:blur(30px);

    border-radius:50%;
}

.mini-logo {
  font-weight: bold;
  color: #2792c0;
}

.demo-dashboard {
  display: flex;
  height: calc(100% - 28px);
  background: #f7faff;
}

.demo-dashboard aside {
  width: 22%;
  background: #2792c0;
  color: white;
  padding: 10px 7px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 7px;
}

.demo-dashboard aside b {
  font-size: 10px;
  margin-bottom: 5px;
}

.demo-dash-main {
  flex: 1;
  padding: 12px;
}

.demo.dash-main h4 {
  margin: 0 0 8px;
  font-size: 12px;
}

.demo-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.demo-stat-row div {
  background: white;
  padding: 6px;
  font-size: 6px;
  border-radius: 3px;
}

.demo-stat-row strong {
  display: block;
  margin-top: 4px;
  color: #0759ba;
  font-size: 9px;
}

.demo-chart-area {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 8px;
  margin-top: 8px;
}

.demo-chart-area > div {
  background: white;
  padding: 8px;
  border-radius: 4px;
}

.demo-chart-area h5 {
  margin: 0 0 5px;
  font-size: 8px;
}

.demo-chart-area svg {
  width: 100%;
  height: 90px;
}

.demo-top-medicines p {
  font-size: 6px;
  border-bottom: 1px solid #edf0f5;
  padding-bottom: 4px;
}

.demo-top-medicines p b {
  float: right;
  color: #1264d6;
}

.medicine-bottle {
  position: absolute;
  left: 28%;
  top: 200px;
  z-index: 3;
  transform: rotate(-3deg);
}

.bottle-cap {
  width: 75px;
  height: 18px;
  background: #eef2f7;
  border-radius: 8px 8px 3px 3px;
  margin: auto;
}

.bottle-body {
  width: 100px;
  height: 130px;
  background: linear-gradient(90deg, #eef2f7, #fff, #dce3eb);
  border-radius: 14px 14px 28px 28px;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 20px rgba(20, 50, 100, .18);
}

.bottle-body span {
  color: #2792c0;
  font-size: 45px;
  font-weight: bold;
}

.stethoscope {
  position: absolute;
  left: 37%;
  bottom: 12px;
  width: 48%;
  height: 115px;
  z-index: 4;
}

.tube {
  position: absolute;
  width: 72%;
  height: 78px;
  border: 8px solid #075fc6;
  border-top: 0;
  border-radius: 0 0 100px 100px;
  transform: rotate(7deg);
}

.chest-piece {
  position: absolute;
  right: 2%;
  bottom: 8px;
  width: 50px;
  height: 50px;
  border: 8px solid #788493;
  border-radius: 50%;
  background: #dbe1e9;
}

.demo-trust-bar{
    position:relative;
    margin-top:40px;
    width:100%;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    background:#fff;
    border-radius:20px;
    padding:20px 25px;
    box-shadow:0 8px 24px rgba(20,60,120,.08);
}

.demo-trust-bar > div {
  padding: 0 20px;
  border-right: 1px solid #d8e0ed;
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 12px;
  align-items: center;
}

.demo-trust-bar > div:last-child {
  border-right: 0;
}

.demo-trust-bar span {
  grid-row: span 2;
  font-size: 32px;
  color: #2792c0;
}

.demo-trust-bar strong {
  color: #2792c0;
  font-size: 17px;
}

.demo-trust-bar small {
  font-size: 13px;
  line-height: 1.3;
}

.demo-form-card {
  background: rgba(255, 255, 255, .96);
  border-radius: 25px;
  padding: 32px;
  margin: 30px 30px 30px 0;
  box-shadow: 0 15px 35px rgba(30, 70, 130, .12);
  align-self: stretch;
  position: relative;
  z-index: 5;
}

.demo-form-heading {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
}

.calendar-icon {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #2792c0;
  color: white;
  font-size: 35px;
}

.demo-form-heading h2 {
  margin: 0 0 6px;
  font-size: 30px;
}

.demo-form-heading p {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
  color: #26344c;
}

form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

label {
  margin-top: 6px;
  font-size: 16px;
  font-weight: 500;
}

label em {
  color: #e23838;
  font-style: normal;
}

label span {
  font-weight: normal;
  color: #667085;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 10px 14px;
  font: inherit;
  font-size: 14px;
  color: #59657b;
  background: white;
  outline: none;
}

input,
select {
  height: 30px;
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 5px;
}

input[type="radio"] {
  height: auto;
  width: auto;
}
textarea {
  height: 72px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #1264d6;
  box-shadow: 0 0 0 3px rgba(18, 100, 214, .1);
}

button {
  border: 0;
  border-radius: 8px;
  background: #2792c0;
  color: white;
  font-size: 20px;
  font-weight: bold;
  padding: 15px;
  cursor: pointer;
  margin-top: 8px;
}

button:hover {
  background: #0759ba;
}

.privacy {
  text-align: center;
  color: #59657b;
  font-size: 13px;
  margin-top: 8px;
}

@media (max-width: 1150px) {
  .demo-hero-section {
    grid-template-columns: 1fr;
  }

  .demo-form-card {
    margin: 0 30px 30px;
  }

  .demo-product-visual {
    height: 430px;
    margin-bottom:60px;
  }

  .demo-trust-bar {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 10px;
  }
}

@media (max-width:1200px) {
    .demo-product-visual {
        display: none !important;
    }
}

@media (max-width: 700px) {
  .demo-page {
    padding: 0;
  }

  .demo-features{
        display:flex;
        flex-direction:column;
        gap:20px;
        margin-bottom:30px;
    }

  .demo-hero-section {
    min-height: 100vh;
    border: 0;
  }

  .demo-hero-content{
        overflow: visible;
    }

  .brand img {
    width: 230px;
  }

  .intro h1 {
    font-size: 54px;
  }

  .intro p {
    font-size: 17px;
  }

   .demo-product-visual{
        display:none;
    }

    .demo-laptop{
        position:static;
        display:inline-block;
        width:85%;
        max-width:100%;
        transform:none;
    }
        
  .medicine-bottle {
    left: 8%;
    top: 170px;
    transform: scale(.7);
  }

  .stethoscope {
    left: 25%;
    width: 70%;
  }

  .demo-trust-bar {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .demo-trust-bar > div {
    padding: 0;
    border-right: 0;
  }

  .demo-form-card {
    margin: 0 16px 16px;
    padding: 22px;
  }

  .demo-form-heading h2 {
    font-size: 24px;
  }

  .demo-form-heading p {
    font-size: 14px;
  }
}

.doctor-icon {
    position: relative;
}

.doctor-icon .head {
    width: 14px;
    height: 14px;
    border: 2px solid #0765d4;
    border-radius: 50%;
    position: absolute;
    top: 12px;
    left: 21px;
}

.doctor-icon .body {
    width: 28px;
    height: 15px;
    border: 2px solid #0765d4;
    border-bottom: 0;
    border-radius: 18px 18px 0 0;
    position: absolute;
    top: 31px;
    left: 15px;
}