* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

body {
  background: #f4f7fb;
  color: #222;
  font-size: 15px;
  line-height: 1.7;
}

a {
  text-decoration: none;
}

.hero {
  width: 100%;
  height: 100vh;
  background-image: url('https://images.unsplash.com/photo-1504439468489-c8920d796a29?w=1920&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10,30,90,0.82) 0%, rgba(22,80,200,0.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 20px;
  color: white;
}

.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.28);
  color: #bfdbfe;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 22px;
}

.hero-content h1 {
  font-family: Georgia, serif;
  font-size: 50px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: white;
}

.hero-content h1 span { color: #93c5fd; }

.hero-desc {
  font-size: 15px;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 38px;
  flex-wrap: wrap;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.badge {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #e0eeff;
  font-size: 12px;
  font-weight: bold;
  padding: 6px 16px;
  border-radius: 50px;
}

.btn-white {
  background: white;
  color: #1650cd;
  padding: 12px 28px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  border: 2px solid white;
  display: inline-block;
  transition: 0.2s;
  font-family: Georgia, serif;
}

.btn-white:hover { background: #eef2ff; }

.btn-ghost {
  border: 2px solid rgba(255,255,255,0.6);
  color: white;
  padding: 12px 28px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  display: inline-block;
  transition: 0.2s;
  font-family: Georgia, serif;
}

.btn-ghost:hover { background: rgba(255,255,255,0.15); }

.btn-primary {
  background: white;
  color: #1650cd;
  padding: 12px 28px;
  border-radius: 5px;
  text-decoration: none;
  margin: 5px;
  display: inline-block;
  font-weight: bold;
  font-size: 14px;
  border: 2px solid white;
  transition: 0.2s;
  font-family: Georgia, serif;
}

.btn-primary:hover { background: #1650cd; color: white; }

.btn-outline-dark {
  border: 2px solid #1650cd;
  padding: 12px 28px;
  color: #1650cd;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin: 5px;
  transition: 0.2s;
  font-family: Georgia, serif;
}

.btn-outline-dark:hover { background: #1650cd; color: white; }

.btn-blue {
  display: inline-block;
  background: #1650cd;
  color: white;
  padding: 11px 24px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  transition: 0.2s;
  border: none;
  cursor: pointer;
  font-family: Georgia, serif;
}

.btn-blue:hover { background: #1040a8; }

.btn-red {
  display: inline-block;
  background: #1650cd;
  color: white;
  padding: 9px 20px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: bold;
  transition: 0.2s;
  border: none;
  cursor: pointer;
  font-family: Georgia, serif;
}

.btn-red:hover { background: #b91c1c; }

.btn-green {
  display: inline-block;
  background: #16a34a;
  color: white;
  padding: 9px 20px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: bold;
  transition: 0.2s;
  border: none;
  cursor: pointer;
  font-family: Georgia, serif;
}

.btn-green:hover { background: #15803d; }

.btn-sm { padding: 6px 14px; font-size: 12px; }

section { padding: 70px 60px; }

.section-label {
  display: block;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1650cd;
  margin-bottom: 8px;
  text-align: center;
}

.section-title {
  font-family: Georgia, serif;
  font-size: 28px;
  color: #0f172a;
  text-align: center;
  margin-bottom: 10px;
}

.section-sub {
  text-align: center;
  color: #666;
  margin-bottom: 35px;
  font-size: 14px;
}

section h2 {
  text-align: center;
  font-size: 26px;
  color: #1a1a2e;
  margin-bottom: 10px;
  font-family: Georgia, serif;
}

.about-section {
  background: white;
  padding: 90px 60px;
}

.about-inner {
  display: flex;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.about-img-wrap { flex: 1; min-width: 280px; }

.about-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(22,80,200,0.15);
}

.about-text { flex: 1; min-width: 280px; }

.about-text h2 {
  text-align: left;
  font-family: Georgia, serif;
  font-size: 28px;
  color: #0f172a;
  margin-bottom: 18px;
}

.about-text p {
  font-size: 14px;
  color: #555;
  margin-bottom: 14px;
  line-height: 1.85;
}

.features { background: #f4f7fb; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 35px;
}

.feat-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.feat-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.feat-text { padding: 20px 20px 24px; }

.feat-text h3 {
  font-family: Georgia, serif;
  font-size: 16px;
  color: #1650cd;
  margin-bottom: 8px;
}

.feat-text p {
  font-size: 13px;
  color: #555;
  line-height: 1.72;
}

.process { background: white; }

.steps-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 35px auto 0;
}

.step-box {
  background: #1650cd;
  color: white;
  border-radius: 10px;
  padding: 30px 22px;
  text-align: center;
  width: 210px;
  flex-shrink: 0;
}

.step-num {
  font-family: Georgia, serif;
  font-size: 42px;
  color: #93c5fd;
  margin-bottom: 10px;
  display: block;
}

.step-box h3 {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
  font-family: Georgia, serif;
}

.step-box p {
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.65;
}

.step-line {
  height: 2px;
  width: 40px;
  background: #1650cd;
  align-self: center;
  flex-shrink: 0;
}

.stats {
  display: flex;
  justify-content: space-around;
  background: linear-gradient(135deg, #1650cd 0%, #0f172a 100%);
  color: white;
  padding: 65px 40px;
  flex-wrap: wrap;
  gap: 30px;
}

.stat-item { text-align: center; }

.stat-item h3 {
  font-family: Georgia, serif;
  font-size: 42px;
  margin-bottom: 6px;
}

.stat-item p {
  font-size: 14px;
  color: #bfdbfe;
  font-weight: bold;
}

.roles { background: #f4f7fb; }

.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 35px;
}

.role-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.role-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.role-body { padding: 24px; }

.role-body h3 {
  font-family: Georgia, serif;
  font-size: 20px;
  color: #1650cd;
  margin-bottom: 10px;
}

.role-body p {
  font-size: 13px;
  color: #666;
  margin-bottom: 14px;
  line-height: 1.75;
}

.role-body ul {
  list-style: none;
  padding: 0;
  margin-bottom: 18px;
}

.role-body ul li {
  font-size: 13px;
  color: #444;
  padding: 5px 0;
  border-bottom: 1px solid #f0f4fa;
  font-weight: bold;
}

.role-body ul li:last-child { border-bottom: none; }

.role-link {
  display: inline-block;
  color: #1650cd;
  font-size: 13px;
  font-weight: bold;
  border-bottom: 2px solid #1650cd;
  padding-bottom: 2px;
}

.why { background: #eef2ff; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 35px;
}

.why-card {
  background: white;
  border-radius: 10px;
  padding: 26px 22px;
  border: 1px solid #dde5f5;
}

.why-card h3 {
  font-family: Georgia, serif;
  font-size: 15px;
  color: #0f172a;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.78;
}

.testimonials { background: white; }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 35px;
}

.testi-card {
  background: #f4f7fb;
  border-radius: 10px;
  padding: 28px 24px;
  border: 1px solid #e2e8f0;
  position: relative;
}

.quote-mark {
  font-size: 70px;
  font-family: Georgia, serif;
  color: #1650cd;
  opacity: 0.15;
  line-height: 1;
  position: absolute;
  top: 10px;
  left: 18px;
}

.testi-text {
  font-size: 13px;
  color: #555;
  line-height: 1.82;
  font-style: italic;
  margin-bottom: 20px;
  padding-top: 22px;
}

.testi-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-person img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #1650cd;
}

.testi-person strong {
  display: block;
  font-size: 13px;
  color: #1a1a2e;
}

.testi-person span {
  font-size: 12px;
  color: #888;
}

.cta {
  text-align: center;
  background: #eef2ff;
  padding: 80px 60px;
}

.cta h2 { margin-bottom: 14px; }

.cta p {
  color: #555;
  margin-bottom: 28px;
  font-size: 14px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 55px 60px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-brand h3 {
  font-family: Georgia, serif;
  font-size: 22px;
  color: white;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 13px;
  margin-bottom: 6px;
  line-height: 1.7;
}

.footer-grid h4 {
  font-size: 11px;
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: bold;
  margin-bottom: 14px;
}

.footer-grid a {
  display: block;
  color: #cbd5e1;
  font-size: 13px;
  margin-bottom: 7px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-grid a:hover { color: #60a5fa; }

.footer-grid p {
  font-size: 13px;
  margin-bottom: 7px;
}

.footer-copy {
  text-align: center;
  border-top: 1px solid #1e293b;
  padding-top: 22px;
  font-size: 12px;
  color: #475569;
}

.page-hero {
  width: 100%;
  height: 380px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10,30,90,0.80) 0%, rgba(22,80,200,0.65) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 680px;
}

.page-hero-content h1 {
  font-family: Georgia, serif;
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 14px;
  color: white;
}

.page-hero-content p {
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.75;
}

.form-page {
  min-height: 100vh;
  background: #112050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.form-box {
  background: white;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 30px rgba(0,0,0,0.07);
  padding: 42px 44px;
  width: 100%;
  max-width: 480px;
}

.form-box.wide { max-width: 700px; }

.form-box h2 {
  font-family: Georgia, serif;
  font-size: 24px;
  color: #0f172a;
  margin-bottom: 6px;
  text-align: center;
}

.form-sub {
  text-align: center;
  color: #777;
  font-size: 13px;
  margin-bottom: 28px;
}

.form-logo {
  text-align: center;
  margin-bottom: 22px;
}

.form-logo span {
  font-family: Georgia, serif;
  font-size: 26px;
  color: #1650cd;
  font-weight: bold;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: bold;
  color: #333;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #d0d7e5;
  border-radius: 6px;
  font-size: 14px;
  font-family: Verdana, sans-serif;
  color: #333;
  background: #fafbfd;
  transition: border 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #1650cd;
  background: white;
}

.form-group textarea {
  height: 100px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-btn {
  width: 100%;
  padding: 13px;
  background: #1650cd;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: bold;
  font-family: Georgia, serif;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 6px;
}

.form-btn:hover { background: #1040a8; }

.form-link {
  text-align: center;
  margin-top: 18px;
  font-size: 13px;
  color: #666;
}

.form-link a {
  color: #1650cd;
  font-weight: bold;
  text-decoration: none;
}

.form-link a:hover { text-decoration: underline; }

.role-tabs {
  display: flex;
  margin-bottom: 26px;
  border: 1px solid #d0d7e5;
  border-radius: 6px;
  overflow: hidden;
}

.role-tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  font-size: 13px;
  font-weight: bold;
  color: #555;
  background: #f4f7fb;
  cursor: pointer;
  border: none;
  font-family: Georgia, serif;
  transition: 0.2s;
}

.role-tab.active {
  background: #1650cd;
  color: white;
}

.divider {
  height: 1px;
  background: #e2e8f0;
  margin: 22px 0;
}

.page-heading { margin-bottom: 28px; }

.page-heading h2 {
  font-family: Georgia, serif;
  font-size: 24px;
  color: #0f172a;
  margin-bottom: 4px;
  text-align: left;
}

.page-heading p {
  font-size: 13px;
  color: #777;
}

.summary-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.summary-card {
  background: white;
  border-radius: 10px;
  padding: 22px 20px;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #1650cd;
}

.summary-card.green { border-left-color: #16a34a; }
.summary-card.orange { border-left-color: #d97706; }
.summary-card.red { border-left-color: #1650cd; }

.summary-card h4 {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.summary-card h3 {
  font-family: Georgia, serif;
  font-size: 32px;
  color: #0f172a;
  margin-bottom: 4px;
}

.summary-card p {
  font-size: 12px;
  color: #aaa;
}

.dashboard-section {
  background: white;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  margin-bottom: 26px;
}

.dashboard-section-head {
  padding: 18px 24px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dashboard-section-head h3 {
  font-family: Georgia, serif;
  font-size: 16px;
  color: #0f172a;
}

.dashboard-section-body { padding: 24px; }

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  background: #f4f7fb;
  font-size: 12px;
  font-weight: bold;
  color: #555;
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.data-table td {
  font-size: 13px;
  color: #333;
  padding: 12px 14px;
  border-bottom: 1px solid #f0f4fa;
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: #f8faff; }

.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: bold;
}

.status-confirmed { background: #dcfce7; color: #16a34a; }
.status-pending { background: #fef3c7; color: #d97706; }
.status-cancelled { background: #fee2e2; color: #1650cd; }
.status-completed { background: #dbeafe; color: #1650cd; }
.status-emergency { background: #fee2e2; color: #1650cd; border: 1px solid #1650cd; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.appt-page {
  background: #f4f7fb;
  padding: 60px;
}

.appt-inner { max-width: 1100px; margin: 0 auto; }

.appt-tabs {
  display: flex;
  margin-bottom: 30px;
  border: 1px solid #d0d7e5;
  border-radius: 8px;
  overflow: hidden;
  width: fit-content;
}

.appt-tab {
  padding: 11px 28px;
  font-size: 13px;
  font-weight: bold;
  color: #555;
  background: white;
  cursor: pointer;
  border: none;
  font-family: Georgia, serif;
  transition: 0.2s;
}

.appt-tab.active {
  background: #1650cd;
  color: white;
}

.alert-box {
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 13px;
  margin-bottom: 18px;
}

.alert-info { background: #dbeafe; color: #1d4ed8; border: 1px solid #bfdbfe; }
.alert-warning { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.alert-danger, .alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }

.star-rating { display: flex; gap: 6px; margin-bottom: 8px; }
.star { font-size: 28px; color: #d1d5db; cursor: pointer; transition: color 0.15s; }
.star.filled { color: #f59e0b; }

.info-card {
  background: white;
  border-radius: 10px;
  padding: 22px 24px;
  border: 1px solid #e2e8f0;
  margin-bottom: 16px;
}

.info-card h4 {
  font-family: Georgia, serif;
  font-size: 15px;
  color: #0f172a;
  margin-bottom: 12px;
  border-bottom: 1px solid #f0f4fa;
  padding-bottom: 10px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f0f4fa;
  font-size: 13px;
}

.info-row:last-child { border-bottom: none; }
.info-row span:first-child { color: #888; font-weight: bold; }
.info-row span:last-child { color: #333; }

.search-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.search-bar input,
.search-bar select {
  padding: 10px 14px;
  border: 1px solid #d0d7e5;
  border-radius: 6px;
  font-size: 13px;
  font-family: Verdana, sans-serif;
  color: #333;
  background: white;
  outline: none;
  transition: border 0.2s;
}

.search-bar input { flex: 1; min-width: 180px; }
.search-bar input:focus, .search-bar select:focus { border-color: #1650cd; }

.search-bar button {
  padding: 10px 22px;
  background: #1650cd;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: bold;
  font-family: Georgia, serif;
  cursor: pointer;
  transition: background 0.2s;
}

.search-bar button:hover { background: #1040a8; }

.emergency-box {
  background: white;
  border: 2px solid #1650cd;
  border-radius: 10px;
  padding: 28px;
  margin-bottom: 28px;
}

.emergency-box h3 {
  font-family: Georgia, serif;
  font-size: 18px;
  color: #1650cd;
  margin-bottom: 8px;
}

.emergency-box p {
  font-size: 13px;
  color: #555;
  margin-bottom: 18px;
  line-height: 1.7;
}

.prescription-card {
  background: white;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  padding: 22px 24px;
  margin-bottom: 18px;
}

.prescription-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f4fa;
}

.prescription-card-head h4 {
  font-family: Georgia, serif;
  font-size: 15px;
  color: #0f172a;
}

.prescription-card-head span { font-size: 12px; color: #888; }

.prescription-meds { list-style: none; padding: 0; }

.prescription-meds li {
  font-size: 13px;
  color: #333;
  padding: 7px 0;
  border-bottom: 1px solid #f0f4fa;
  display: flex;
  gap: 12px;
}

.prescription-meds li:last-child { border-bottom: none; }

.med-name {
  font-weight: bold;
  color: #1650cd;
  min-width: 140px;
}

.med-dose { color: #555; }

.notification-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid #f0f4fa;
}

.notification-item:last-child { border-bottom: none; }

.notif-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1650cd;
  margin-top: 5px;
  flex-shrink: 0;
}

.notif-dot.orange { background: #d97706; }
.notif-dot.red { background: #1650cd; }
.notif-dot.green { background: #16a34a; }

.notif-text { flex: 1; }
.notif-text strong { display: block; font-size: 13px; color: #0f172a; margin-bottom: 2px; }
.notif-text span { font-size: 12px; color: #888; }

@media (max-width: 1024px) {
  .features-grid, .roles-grid, .why-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .summary-cards { grid-template-columns: repeat(2, 1fr); }
  .two-col, .three-col { grid-template-columns: 1fr; }
  .about-inner { flex-direction: column; }
  .dashboard-layout { flex-direction: column; }
}

@media (max-width: 768px) {
  section { padding: 50px 20px; }
  .hero-content h1 { font-size: 30px; }
  .appt-page { padding: 40px 20px; }
  .main-content { padding: 24px 20px; }
  .features-grid, .roles-grid, .why-grid, .testi-grid { grid-template-columns: 1fr; }
  .form-box { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .summary-cards { grid-template-columns: 1fr 1fr; }
  .footer { padding: 40px 20px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .steps-row { flex-direction: column; align-items: center; gap: 16px; }
  .step-line { width: 2px; height: 24px; }
  .page-hero { height: 220px; padding: 0 16px; }
  .page-hero-content h1 { font-size: 24px; line-height: 1.3; margin-bottom: 10px; }
  .page-hero-content p { font-size: 13px; line-height: 1.65; }
  .cta { padding: 60px 20px; }
}

@media (max-width: 480px) {
  .page-hero { height: 190px; }
  .page-hero-content h1 { font-size: 20px; }
  .page-hero-content p { font-size: 12.5px; }
}
/* ========================================
   Split Hero (used on home / services / about)
   ======================================== */
.split-hero {
  min-height: 460px;
}
.split-hero-media {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 320px;
  padding: 60px 50px;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.split-hero-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15,23,42,0.88), rgba(15,23,42,0.55));
}
.split-hero-text {
  position: relative;
  z-index: 2;
  max-width: 460px;
}
.split-hero-text h1 {
  font-family: Georgia, serif;
  font-size: 34px;
  line-height: 1.25;
  margin-bottom: 14px;
}
.split-hero-text h1 span { color: #38bdf8; }
.split-hero-text p {
  font-size: 14px;
  line-height: 1.75;
  color: #e2e8f0;
  margin-bottom: 22px;
}
.split-hero-visual {
  min-height: 320px;
  background-size: cover;
  background-position: center;
}
@media (max-width: 767px) {
  .split-hero-visual { min-height: 200px; }
  .split-hero-media { padding: 40px 24px; min-height: 280px; }
  .split-hero-text h1 { font-size: 26px; }
}

/* ========================================
   FILE: docdesk/static/css/base-fix.css
   PURPOSE: Extracted inline styles from base.html
   ======================================== */

.messages-container {
  max-width: 600px;
  margin: 16px auto;
}