/* ================================================================
   NUSAIL — Inner pages theme (distinct from homepage)
   Dark corporate header + light content — Bootstrap / legacy pages
   Load after main.css; do NOT use on index.html
   ================================================================ */

html,
body {
  background: #f0f3f9 !important;
  color: #3d4a5c !important;
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

/* Legacy Bootstrap header hidden when unified site-header is present */
.toolbar-area,
#header.header,
.header:not(.site-header) {
  display: none !important;
}

/* ── Main content area ─────────────────────────────────────────── */
#main,
main#main {
  background: #f0f3f9;
}
.section-bg {
  background: #ffffff !important;
  padding: 3rem 0 !important;
}
.section-header {
  padding-bottom: 2rem !important;
}
.section-header h2 {
  color: #011b58 !important;
  font-size: clamp(1.5rem, 3vw, 2rem) !important;
  font-weight: 700 !important;
  position: relative;
  padding-bottom: 0.75rem;
}
.section-header h2::before {
  content: "";
  display: inline-block;
  width: 42px;
  height: 3px;
  background: #c8001e;
  vertical-align: middle;
  margin-right: 12px;
  border-radius: 2px;
}
.section-header p {
  color: #5c6b82 !important;
  max-width: 720px;
  margin-inline: auto;
}

/* ── Service / content cards ──────────────────────────────────── */
.service-item,
.icon-box,
.alt-services .icon-box {
  background: #ffffff !important;
  border: 1px solid #e2e8f2 !important;
  border-radius: 12px !important;
  padding: 1.25rem !important;
  box-shadow: 0 6px 20px rgba(1, 27, 88, 0.06) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  height: 100%;
}
.service-item:hover,
.icon-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(1, 27, 88, 0.12) !important;
  border-color: rgba(26, 86, 219, 0.25) !important;
}
.service-item h3,
.service-item h4,
.icon-box h4 {
  color: #011b58 !important;
}
.service-item h3 a {
  color: #011b58 !important;
}
.service-item h3 a:hover {
  color: #c8001e !important;
}
.service-item p,
.icon-box p {
  color: #555 !important;
}
.service-item img {
  border-radius: 10px 10px 0 0;
  margin: -1.25rem -1.25rem 1rem;
  width: calc(100% + 2.5rem);
  max-width: none;
}

/* ── Breadcrumbs hero strip ───────────────────────────────────── */
.breadcrumbs {
  background-size: cover !important;
  background-position: top center !important;
  min-height: 220px !important;
  position: relative;
}
.breadcrumbs::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(1, 27, 88, 0.82), rgba(200, 0, 30, 0.45));
}
.breadcrumbs .container {
  position: relative;
  z-index: 1;
}
.breadcrumbs h2,
.breadcrumbs a,
.breadcrumbs li {
  color: #ffffff !important;
}

/* ── Alt services / content blocks ────────────────────────────── */
.alt-services,
#service-details,
.service-details {
  background: #fff !important;
}
.alt-services h3,
.service-details h3 {
  color: #011b58 !important;
}
.alt-services p,
.service-details p {
  color: #444 !important;
}

/* ── Footer ───────────────────────────────────────────────────── */
#footer,
.footer {
  background: linear-gradient(180deg, #010e33, #011b58) !important;
  color: rgba(255, 255, 255, 0.88) !important;
}
#footer h4,
.footer h4 {
  color: #fff !important;
  border-bottom: 2px solid #c8001e;
  display: inline-block;
  padding-bottom: 0.35rem;
  margin-bottom: 1rem;
}
#footer a,
.footer a {
  color: rgba(255, 255, 255, 0.8) !important;
}
#footer a:hover,
.footer a:hover {
  color: #fff !important;
}

/* ── Contact blocks on inner pages ────────────────────────────── */
.contact .info-item {
  background: #fff !important;
  border: 1px solid #e2e8f2 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 16px rgba(1, 27, 88, 0.06) !important;
}
.contact .info-item i {
  color: #c8001e !important;
}
.contact .info-item h3 {
  color: #011b58 !important;
}
.contact .info-item p {
  color: #555 !important;
}

/* ── Utility: hide duplicate premium dark body from main.css tail ─ */
body.premium-nav,
body:not(.page-home) {
  background: #f0f3f9 !important;
}
