/* Base */
:root {
  --bg: #ffffff;
  --fg: #1d2433;
  --muted: #5f6b7a;
  --brand: #1e63ff;
  --brand-contrast: #ffffff;
  --accent: #ff7a00;
  --card: #ffffff;
  --border: #e6e8ee;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.1);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
  background: var(--bg);
  color: var(--fg);
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 960px; margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.site-header .row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { display: block; height: 32px; width: auto; }
.brand img.logo-sm { height: 48px; }
.brand img.name-sm { height: 40px; }
.brand-text { line-height: 1; display: grid; }
.brand-title { margin: 0; font-weight: 700; letter-spacing: 2.5px; font-size: 18px; color: #3b6fc4; text-transform: uppercase; }
.brand-subtitle { margin: 0; letter-spacing: 2px; font-size: 11px; color: #a3acb9; text-transform: uppercase; }
.nav { display: inline-flex; gap: 16px; }
.nav a { color: #0b3a97; opacity: 0.9; }
.nav a:hover { opacity: 1; }

.header-actions { display: inline-flex; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid #165ddb; background: #165ddb; color: #ffffff; box-shadow: var(--shadow); font-weight: 700; }
.btn:hover { text-decoration: none; filter: brightness(0.95); }
.btn-primary { background: #165ddb; border-color: #165ddb; color: #ffffff; }
.btn-primary:hover { filter: brightness(0.92); }

/* Hero */
.hero { padding: 56px 0; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 24px; }
.tagline { font-size: 36px; margin: 0 0 8px; color: #0b3a97; }
.lede { color: var(--muted); margin: 0 0 20px; }
.cta-row { display: flex; gap: 12px; margin-top: 12px; }
.cta { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: var(--brand-contrast); padding: 14px 18px; border-radius: 999px; font-weight: 700; box-shadow: var(--shadow); border: 1px solid var(--accent); }
.cta:hover { text-decoration: none; filter: brightness(0.95); }
.hero-img { width: 100%; height: auto; display: block; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; padding: 24px 0 48px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 16px; box-shadow: var(--shadow); }
.card h3 { margin-top: 0; }
.note { color: var(--muted); font-size: 14px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); }
.site-footer small { display: inline-block; padding: 16px 0; color: var(--muted); }

/* Sections */
.section { padding: 32px 0 48px; }
.section-title { color: #0b3a97; margin: 0 0 16px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.feature { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); text-align: left; }
.feature-icon { width: 96px; height: auto; display: block; margin: -40px auto 8px; }
.feature h3 { color: #0b3a97; margin-top: 8px; }

/* Who we are */
.who { background: #f3f7ff; border-radius: 16px; }
.who-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: center; }
.who-img { width: 100%; height: auto; border-radius: 16px; display: block; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; background: #fff; box-shadow: var(--shadow); }
.faq-item > summary { cursor: pointer; font-weight: 600; color: var(--fg); }
.faq-a { color: var(--muted); margin-top: 8px; }

/* Articles */
.articles { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.article-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1.3fr; }
.article-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-body { padding: 14px; }
.article-body h3 { margin: 8px 0; }
.badge { display: inline-block; font-size: 12px; color: #0b3a97; background: #e7efff; padding: 4px 8px; border-radius: 999px; }

/* Contact */
.contact { background: #0b3a97; color: #ffffff; border-radius: 16px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.contact .section-title { color: #ffffff; }
.contact-form { background: #ffffff; color: var(--fg); border-radius: 16px; padding: 16px; box-shadow: var(--shadow); }
.contact-form h3 { margin-top: 0; text-align: center; }
.contact-form input, .contact-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; margin: 8px 0; font: inherit; }
.contact-form button { width: 100%; }

/* Why Us (Medical Transcription) */
.whyus { padding: 32px 0 48px; }
.whyus-title { color: #0b3a97; margin: 0 0 8px; }
.whyus-grid { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.whyus-grid::-webkit-scrollbar { height: 8px; }
.whyus-grid::-webkit-scrollbar-thumb { background: #d0d7e6; border-radius: 8px; }
.whyus-card { flex: 0 0 360px; background: #ffffff; border: 1px solid var(--border); border-radius: 20px; padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; scroll-snap-align: start; }
.whyus-card h3 { color: #0b3a97; margin: 0; }
.whyus-card p { margin: 0; color: var(--fg); }
.whyus-icon { height: 80px; width: auto; object-fit: contain; }

/* How it works */
.steps { padding: 32px 0 48px; }
.steps-title { color: #0b3a97; margin: 0 0 16px; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.step { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 16px; box-shadow: var(--shadow); display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 999px; background: #0b3a97; color: #fff; font-weight: 800; }
.step h3 { margin: 0; color: var(--fg); }
.step-img { width: 100%; height: auto; display: block; border-radius: 12px; border: 1px solid var(--border); }

/* Carousel (How it works) */
.carousel { position: relative; }
.carousel-track { display: flex; overflow: hidden; border: 1px solid var(--border); border-radius: 16px; }
.carousel-slide { flex: 0 0 100%; padding: 20px; background: #fff; display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; align-items: center; }
.carousel-nav { position: absolute; top: 50%; left: 0; right: 0; display: flex; justify-content: space-between; transform: translateY(-50%); pointer-events: none; }
.carousel-btn { pointer-events: auto; background: #ffffff; color: #0b3a97; border: 1px solid var(--border); width: 44px; height: 44px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.carousel-title { color: #0b3a97; margin: 0; }
.carousel-copy { margin: 0; color: var(--muted); }
.step-figure { width: 100%; height: auto; display: block; border-radius: 16px; }

/* Comparison table */
.compare { padding: 16px 0 48px; }
.compare-title { color: #0b3a97; margin: 0 0 16px; }
.table-wrap { overflow-x: auto; border-radius: 12px; box-shadow: var(--shadow); }
.table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; }
.table th, .table td { padding: 12px 14px; border: 1px solid var(--border); text-align: center; }
.table th:first-child, .table td:first-child { text-align: left; }
.table thead th { background: #e7efff; color: #0b3a97; font-weight: 700; }
.check { color: #16a34a; font-weight: 800; }
.xmark { color: #ef4444; font-weight: 800; }

/* Utility Classes for Modern Styling */
.flex { display: flex !important; }
.flex-col { flex-direction: column !important; }
.gap-4 { gap: 1rem !important; }
.text-center { text-align: center !important; }
.font-semibold { font-weight: 600 !important; }
.leading-loose { line-height: 2 !important; }
.text-default-blue { color: #0b3a97 !important; }
.text-underlined-orange { 
  text-decoration: underline !important; 
  text-decoration-color: #ff7a00 !important; 
  text-decoration-thickness: 3px !important;
  text-underline-offset: 4px !important;
}
.justify-center { justify-content: center !important; }
.w-10\/12 { width: 83.333333% !important; }
.italic { font-style: italic !important; }
.xs\:leading-loose { line-height: 2 !important; }

@media (max-width: 640px) {
  .xs\:leading-loose { line-height: 2; }
}


