/* ============================================
   MedVeik – style.css
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary:       #5eb9e6;
  --primary-light: #EBF1FF;
  --primary-dark:  #1250CC;
  --accent-teal:   #00C8C8;
  --text-dark:     #171544;
  --text-body:     #4A5568;
  --text-muted:    #8A96A8;
  --bg-white:      #FFFFFF;
  --bg-light:      #F4F7FF;
  --border:        #E2E8F8;
  --shadow-sm:     0 2px 12px rgba(26,107,255,.08);
  --shadow-md:     0 8px 30px rgba(26,107,255,.13);
  --shadow-card:   0 4px 20px rgba(26,107,255,.10);
  --radius-card:   18px;
  --radius-btn:    10px;
  --font:          'Poppins', sans-serif;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font);
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.65;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800 !important; }

.x-small { font-size: 0.72rem; }
.small   { font-size: 0.82rem; }


.container {
  max-width: 1280px !important;
}
/* ---------- Navbar ---------- */
.navbar {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.navbar-brand {
  padding: 0;
  margin-right: 0;
}

.brand-logo-img {
  display: block;
  width: auto;
  height: 40px;
  max-width: 180px;
  object-fit: contain;
}

.brand-logo-img--footer {
  height: 36px;
  max-width: 160px;
}

.footer-brand-link {
  display: inline-block;
  text-decoration: none;
}

.login-link {
  color: var(--primary) !important;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- Hero ---------- */
.hero-section {
  background: linear-gradient(135deg, #F0F6FF 0%, #EAF2FF 60%, #F4F9FF 100%);
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(26,107,255,.07) 0%, transparent 70%);
  pointer-events: none;
}

.heading {
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1.heading {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.18;
  margin-bottom: 20px;
}

h2.heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 14px;
}

h3.heading {
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
  margin-bottom: 14px;
}

h6.heading {
  font-size: 0.9rem;
  margin-bottom: 14px;
  text-transform: capitalize;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-body);
  max-width: 440px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.download-label {
  font-size: 0.92rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

/* ---------- App Store Buttons ---------- */
.app-btn {
  display: inline-block;
  border-radius: 8px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.app-btn img { height: 44px; width: auto; display: block; }
.app-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.app-btn-lg img { height: 52px; }

/* ---------- Phone Mockup (Hero) ---------- */
.hero-mockup-wrapper {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.hero-illustration {
  display: block;
  max-width: min(100%, 520px);
  margin-inline: auto;
  height: auto;
}

.phone-mockup {
  background: #fff;
  border-radius: 28px;
  padding: 28px 24px;
  width: 280px;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
  text-align: left;
}

.dash-title  { font-size: 0.9rem; color: var(--text-dark); }
.dash-sub    { font-size: 0.78rem; color: var(--text-dark); }

.member-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 600;
}

.reminder-item { border-radius: 10px; }

.shield-badge {
  position: absolute;
  top: -18px;
  right: -22px;
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  color: #fff;
  box-shadow: var(--shadow-md);
  z-index: 3;
}

/* ---------- Sections Common ---------- */
.about-section  { background: var(--bg-white); }
.bg-light-blue  { background: var(--bg-light); }

.section-subtitle {
  font-size: 0.97rem;
  color: var(--text-body);
  max-width: 920px;
  line-height: 1.75;
}

/* ---------- Feature Sections ---------- */


.feature-section-wrapper {
  display: flex;
  align-items: stretch;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.feature-section-wrapper--reverse {
  flex-direction: row-reverse;
}

.feature-left,
.feature-right {
  flex: 1 1 50%;
  min-height: 100%;
}

.feature-left {
  background: linear-gradient(135deg, #f7f8fd 0%, #f7f8fd47 60%, #fff 100%);
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-left-reverse{ background: linear-gradient(135deg, #fff 0%, #f7f8fd47 60%, #f7f8fd 100%);}

.feature-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--bg-white);
}

.feature-right .feature-illustration {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-card);
  /* box-shadow: var(--shadow-card); */
}
.feature-icon-wrap {
  width: 56px; height: 56px;
  background: var(--primary-light);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
}

.feature-desc {
  font-size: 0.97rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 22px;
  max-width: 440px;
}

.feature-list li {
  font-size: 0.92rem;
  color: var(--text-body);
  margin-bottom: 10px;
  font-weight: 500;
}

.feature-list .bi-check-circle-fill { font-size: 1rem; }

.coming-soon {
  font-size: 0.72rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 20px;
  padding: 2px 10px;
  font-weight: 600;
}

/* ---------- UI Card Mockups ---------- */
.ui-card-mockup {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
  max-width: 320px;
  transition: transform .3s, box-shadow .3s;
  border: 1px solid var(--border);
}
.ui-card-mockup:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* Search bar */
.search-bar {
  background: var(--bg-light);
  border-radius: 10px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
}

/* Doctor avatars */
.doc-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 600;
  flex-shrink: 0;
  color: #fff;
}
.doc-avatar-blue  { background: #4A90E2; }
.doc-avatar-pink  { background: #E25A8A; }
.doc-avatar-green { background: #27AE82; }

.doctor-item { background: var(--bg-light); border-radius: 12px; }
.doctor-item:hover { background: var(--primary-light); cursor: pointer; }

/* Calendar mockup */
.mini-calendar {
  background: var(--bg-light);
  border-radius: 14px;
  padding: 14px;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
  font-size: 0.7rem;
}
.cal-day-header { font-weight: 600; color: var(--text-muted); padding: 2px 0; }
.cal-grid span  { padding: 3px 0; color: var(--text-body); border-radius: 50%; }
.cal-today {
  background: var(--primary);
  color: #fff !important;
  font-weight: 600;
  border-radius: 50%;
}

/* Prescription card */
.ai-badge {
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
}

.rx-item {
  background: var(--bg-light);
  border-radius: 10px;
  padding: 8px 10px;
}
.rx-icon {
  width: 30px; height: 30px;
  background: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

/* ---------- Notification Mockup ---------- */
.notif-mockup {
  background: linear-gradient(160deg, #1e3c72 0%, #2a5298 100%);
  border-radius: 36px;
  width: 240px;
  padding: 36px 22px 28px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-md);
  color: #fff;
}

.phone-time {
  font-size: 2.8rem;
  font-weight: 600;
  letter-spacing: -.5px;
  line-height: 1;
  margin-bottom: 4px;
}

.phone-date {
  font-size: 0.75rem;
  opacity: .75;
  margin-bottom: 22px;
}

.notif-card {
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 14px 16px;
  text-align: left;
  border: 1px solid rgba(255,255,255,.2);
}
.notif-card .fw-700 { color: #fff; }
.notif-card .text-muted { color: rgba(255,255,255,.65) !important; }

.bell-float {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 50px; height: 50px;
  background: var(--accent-teal);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,200,200,.35);
}

/* ---------- CTA Section ---------- */
.cta-section-wrapper{
  background: linear-gradient(135deg, #F0F6FF 0%, #EAF2FF 100%);
  border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    padding: 2.5rem 2.25rem;
}


/* ---------- Footer ---------- */
.footer-section {
  background: #F8FAFF;
  border-top: 1px solid var(--border);
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 220px;
  line-height: 1.6;
}

.footer-links li { margin-bottom: 8px; }
.footer-links a  {
  font-size: 0.85rem;
  color: var(--text-body);
  transition: color .18s;
}
.footer-links a:hover { color: var(--primary); }

.social-links a {
  width: 34px; height: 34px;
  border: 1px solid var(--border);
  border-radius: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--primary);
  transition: background .2s, color .2s;
}
.social-links a:hover { background: var(--primary); color: #fff; }

.footer-divider { background: var(--border) ;  margin: 20px 0; }
.footer-copy { font-size: 0.82rem; color: var(--text-muted); }

/* ---------- Inner Pages ---------- */
.page-hero {
  background: linear-gradient(135deg, #F0F6FF 0%, #EAF2FF 65%, #F8FBFF 100%);
  border-bottom: 1px solid var(--border);
  padding: 72px 0 56px;
}

.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.page-lead {
  max-width: 760px;
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 0;
}

.page-section {
  padding: 56px 0;
}

.content-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-tile {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  background: #fff;
  height: 100%;
}

.info-tile i {
  color: var(--primary);
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.info-tile h3 {
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.info-tile p,
.content-panel p,
.content-panel li {
  color: var(--text-body);
  font-size: 0.92rem;
  line-height: 1.75;
}

.content-panel h2 {
  color: var(--text-dark);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.content-panel h3 {
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 8px;
}

.content-panel ul {
  padding-left: 1.1rem;
  margin-bottom: 0;
}

.page-cta {
  background: var(--primary-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 991px) {
  .hero-section   { padding: 60px 0 50px; }


  .feature-section-wrapper,
  .feature-section-wrapper--reverse {
    flex-direction: column;
  }

  .feature-left,
  .feature-right {
    flex: none;
    width: 100%;
  }

  .feature-left {
    padding: 2rem 1.5rem;
  }

  .feature-right {
    padding: 1.5rem;
  }

  .feature-right .feature-illustration {
    height: auto;
    max-height: none;
  }
  .phone-mockup   { width: 240px; padding: 22px 18px; }
  .hero-right     { margin-top: 40px; }

  .feature-desc   { max-width: 100%; }
}

@media (max-width: 767px) {
  h1.heading { font-size: 2rem; }
  h2.heading { font-size: 1.5rem; }
  h3.heading { font-size: 1.3rem; }
  .ui-card-mockup { max-width: 100%; }
  .notif-mockup   { width: 200px; }
  .phone-time     { font-size: 2.2rem; }

  .shield-badge {
    width: 60px; height: 60px;
    font-size: 1.6rem;
    top: -12px; right: -10px;
  }

  .page-hero { padding: 48px 0 40px; }
  .page-section { padding: 40px 0; }
  .content-panel { padding: 24px; }
  .info-grid { grid-template-columns: 1fr; }

}

@media (max-width: 480px) {
  .hero-section  { padding: 44px 0 40px; }
  .app-btn img   { height: 38px; }
  .app-btn-lg img{ height: 44px; }
  .phone-mockup  { width: 100%; max-width: 260px; }
}
