/* OneStep MultiServices - core theme */
:root {
  --os-primary: #0d6efd;
  --os-primary-dark: #0a58ca;
  --os-accent: #20c997;
  --os-dark: #0f1d33;
  --os-muted: #6c757d;
  --os-bg: #f5f8fb;
  --os-card-shadow: 0 6px 18px rgba(15, 29, 51, 0.08);
  --os-radius: 14px;
}

body {
  background: var(--os-bg);
  font-family: 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
  color: #1c2434;
}

a { text-decoration: none; }

/* Top contact bar */
.os-topbar {
  background: var(--os-dark);
  color: #c9d2e2;
  font-size: .85rem;
  padding: .35rem 0;
}
.os-topbar a { color: #c9d2e2; }
.os-topbar a:hover { color: #fff; }

/* Navbar */
.os-navbar {
  background: #fff;
  box-shadow: var(--os-card-shadow);
}
.os-navbar .navbar-brand {
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--os-dark);
}
.os-navbar .nav-link { font-weight: 500; color: #2a3349; }
.os-navbar .nav-link.active,
.os-navbar .nav-link:hover { color: var(--os-primary); }

/* Colorful nav icons */
.os-nav-ico { margin-right: 5px; }
.ico-home { color: #0d6efd; }
.ico-services { color: #6f42c1; }
.ico-contact { color: #fd7e14; }
.ico-whatsapp { color: #25d366; }
.ico-about { color: #e83e8c; }
.ico-quote { color: #20c997; }

/* Hero */
.os-hero {
  background: linear-gradient(135deg, #0f1d33 0%, #0d6efd 100%);
  color: #fff;
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.os-hero h1 { font-weight: 800; letter-spacing: -.5px; }
.os-hero .os-hero-cta {
  margin-top: 1.5rem;
}
.os-hero .badge-soft {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  padding: .4rem .8rem;
  border-radius: 999px;
  font-size: .8rem;
}

/* Service hero with background image + overlay text */
.os-service-hero {
  background-color: #075c3e;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 5rem 0;
  min-height: 360px;
  display: flex;
  align-items: center;
}
.os-service-hero h1 {
  font-weight: 800;
  letter-spacing: -.5px;
  text-shadow: 0 2px 6px rgba(0,0,0,.35);
}
.os-service-hero .lead {
  text-shadow: 0 1px 4px rgba(0,0,0,.35);
  max-width: 720px;
}
.os-service-hero .icon-wrap {
  width: 64px; height: 64px;
  border-radius: 14px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}

/* Section title */
.os-section { padding: 4rem 0; }
.os-section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}
.os-section-title h2 {
  font-weight: 700;
  letter-spacing: -.3px;
  color: var(--os-dark);
}
.os-section-title p { color: var(--os-muted); }

/* Cards */
.os-card {
  background: #fff;
  border-radius: var(--os-radius);
  box-shadow: var(--os-card-shadow);
  border: 0;
  transition: transform .2s ease, box-shadow .2s ease;
}
.os-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(15, 29, 51, 0.12);
}
.os-service-card .icon-wrap {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: rgba(13,110,253,.1);
  color: var(--os-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
}

/* Service card with background image (used when service has an image) */
.os-service-thumb {
  position: relative;
  height: 160px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 14px;
}
.os-service-thumb .icon-wrap {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}

/* Why Choose Us cards - soft tinted backgrounds */
.os-why-card {
  border: 1px solid transparent;
  box-shadow: 0 6px 18px rgba(15, 29, 51, .06);
}
.os-why-card .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.os-why-card h6 {
  color: var(--os-dark);
  font-weight: 700;
}
.os-why-card p { color: #566072; }

.os-why-card.tone-blue {
  background: linear-gradient(160deg, #f4f8ff 0%, #e7f0ff 100%);
  border-color: #d8e7ff;
}
.os-why-card.tone-blue .icon-wrap { background: rgba(13, 110, 253, .14); color: #0d6efd; }

.os-why-card.tone-green {
  background: linear-gradient(160deg, #f2fbf7 0%, #e4f6ef 100%);
  border-color: #cfeadf;
}
.os-why-card.tone-green .icon-wrap { background: rgba(32, 201, 151, .18); color: #0f9d76; }

.os-why-card.tone-amber {
  background: linear-gradient(160deg, #fff9f0 0%, #fff0da 100%);
  border-color: #ffe3c0;
}
.os-why-card.tone-amber .icon-wrap { background: rgba(253, 126, 20, .16); color: #f07c0c; }

.os-why-card.tone-violet {
  background: linear-gradient(160deg, #f9f5ff 0%, #efe7ff 100%);
  border-color: #e4d8ff;
}
.os-why-card.tone-violet .icon-wrap { background: rgba(111, 66, 193, .16); color: #6f42c1; }

/* Scroll reveal - cards slide in from the sides on small screens */
.js [data-reveal] {
  opacity: 0;
  transition: opacity .6s cubic-bezier(.22, .9, .28, 1), transform .6s cubic-bezier(.22, .9, .28, 1);
}
.js [data-reveal="left"] { transform: translateX(-48px); }
.js [data-reveal="right"] { transform: translateX(48px); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

.os-reveal-group > *:nth-child(1) [data-reveal] { transition-delay: 0s; }
.os-reveal-group > *:nth-child(2) [data-reveal] { transition-delay: .09s; }
.os-reveal-group > *:nth-child(3) [data-reveal] { transition-delay: .18s; }
.os-reveal-group > *:nth-child(4) [data-reveal] { transition-delay: .27s; }

@media (min-width: 768px) {
  .js [data-reveal="left"],
  .js [data-reveal="right"] { transform: translateY(28px); }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* Footer */
.os-footer {
  background: var(--os-dark);
  color: #c9d2e2;
  padding: 3rem 0 1.5rem;
}
.os-footer h6 { color: #fff; font-weight: 600; }
.os-footer a { color: #c9d2e2; }
.os-footer a:hover { color: #fff; }
.os-footer .copyright {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1rem;
  margin-top: 2rem;
  font-size: .85rem;
  color: #94a0b8;
}

/* Floating action buttons (Call / WhatsApp) */
.os-fab {
  position: fixed;
  right: 18px;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.2);
  z-index: 1080;
  transition: transform .2s ease;
}
.os-fab:hover { transform: scale(1.08); color: #fff; }
.os-fab.call { bottom: 84px; background: var(--os-primary); }
.os-fab.whatsapp { bottom: 22px; background: #25d366; }

/* Auth pages */
.os-auth-card {
  max-width: 420px;
  margin: 4rem auto;
}

/* Dashboard */
.os-stat-card {
  border-left: 4px solid var(--os-primary);
  background: #fff;
  border-radius: var(--os-radius);
  padding: 1.25rem;
  box-shadow: var(--os-card-shadow);
}
.os-stat-card .label { color: var(--os-muted); font-size: .9rem; }
.os-stat-card .value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--os-dark);
}
.os-stat-card.warning { border-left-color: #ffc107; }
.os-stat-card.success { border-left-color: #198754; }
.os-stat-card.danger { border-left-color: #dc3545; }
.os-stat-card.info { border-left-color: #0dcaf0; }

/* Tables */
.os-table { background: #fff; border-radius: var(--os-radius); overflow: hidden; box-shadow: var(--os-card-shadow); }
.os-table thead { background: #eef3fb; color: var(--os-dark); }

/* Status pills */
.pill {
  display: inline-block;
  padding: .25rem .6rem;
  font-size: .75rem;
  font-weight: 600;
  border-radius: 999px;
  background: #eef3fb;
  color: var(--os-dark);
}
.pill.new        { background: #e7f1ff; color: #0d6efd; }
.pill.contacted  { background: #fff3cd; color: #997404; }
.pill.followup   { background: #fde2e2; color: #b02a37; }
.pill.booking    { background: #d1e7dd; color: #146c43; }
.pill.closed     { background: #e2e3e5; color: #41464b; }
.pill.cancelled  { background: #f8d7da; color: #b02a37; }

.pill.pending     { background: #fff3cd; color: #997404; }
.pill.confirmed   { background: #cfe2ff; color: #084298; }
.pill.assigned    { background: #d1e7dd; color: #146c43; }
.pill.inprogress  { background: #e0cffc; color: #59359a; }
.pill.completed   { background: #198754; color: #fff; }

/* Star rating */
.os-stars {
  display: inline-flex; flex-direction: row-reverse; gap: .15rem;
}
.os-stars input { display: none; }
.os-stars label {
  font-size: 1.8rem;
  color: #d0d6e2;
  cursor: pointer;
}
.os-stars input:checked ~ label,
.os-stars label:hover,
.os-stars label:hover ~ label {
  color: #ffb703;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .os-hero { padding: 3rem 0 2.5rem; }
  .os-section { padding: 2.5rem 0; }
}
