/* ============================================================
   ADMANTIUM.CO â Master Stylesheet
   Brand: Institutional finance / dark + red accent
   Framework: Bootstrap 5 (loaded via CDN)
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --adm-dark: #0a0f1a;
  --adm-dark-alt: #111827;
  --adm-card: #1a2035;
  --adm-card-hover: #1f2943;
  --adm-red: #c8102e;
  --adm-red-dark: #a30d25;
  --adm-red-light: #e8253f;
  --adm-gold: #b8860b;
  --adm-white: #ffffff;
  --adm-gray-100: #f1f3f5;
  --adm-gray-200: #e0e3e8;
  --adm-gray-300: #ced4da;
  --adm-gray-500: #8a919d;
  --adm-gray-700: #4a5568;
  --adm-text: #d1d5db;
  --adm-text-muted: #9ca3af;
  --adm-border: rgba(255,255,255,0.08);
  --adm-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --adm-transition: 0.3s ease;
}

/* ---------- Global Reset & Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--adm-font);
  background: var(--adm-dark);
  color: var(--adm-text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--adm-white);
  font-weight: 600;
  line-height: 1.3;
}

a { color: var(--adm-red); text-decoration: none; transition: color var(--adm-transition); }
a:hover { color: var(--adm-red-light); }

img { max-width: 100%; height: auto; }

::selection { background: var(--adm-red); color: var(--adm-white); }

/* ---------- Navbar ---------- */
.navbar-adm {
  background: rgba(10, 15, 26, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--adm-border);
  padding: 0.75rem 0;
  transition: all var(--adm-transition);
}

.navbar-adm .navbar-brand img {
  height: 40px;
  width: auto;
}

.navbar-adm .nav-link {
  color: var(--adm-gray-200) !important;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.5rem 1rem !important;
  transition: color var(--adm-transition);
}

.navbar-adm .nav-link:hover,
.navbar-adm .nav-link.active {
  color: var(--adm-white) !important;
}

.navbar-adm .dropdown-menu {
  background: var(--adm-dark-alt);
  border: 1px solid var(--adm-border);
  border-radius: 8px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
}

.navbar-adm .dropdown-item {
  color: var(--adm-gray-200);
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
  transition: all var(--adm-transition);
}

.navbar-adm .dropdown-item:hover {
  background: var(--adm-card);
  color: var(--adm-white);
}

.navbar-toggler { border: none; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---------- Hero ---------- */
.hero-section {
  background: linear-gradient(135deg, var(--adm-dark) 0%, #0d1526 50%, #12101f 100%);
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(200,16,46,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-section h1 {
  font-size: 3.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-section h1 span {
  display: block;
  color: var(--adm-red);
}

.hero-section .lead {
  font-size: 1.15rem;
  color: var(--adm-text-muted);
  max-width: 620px;
  line-height: 1.8;
}

/* Credential bar */
.credential-bar {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--adm-border);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin-top: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.credential-bar .credential-text {
  font-size: 0.875rem;
  color: var(--adm-gray-300);
  letter-spacing: 0.03em;
  font-weight: 500;
}

.credential-bar .divider {
  width: 1px;
  height: 20px;
  background: var(--adm-border);
}

/* Inner page heroes (shorter) */
.hero-inner {
  padding: 6rem 0 4rem;
  min-height: auto;
}

/* ---------- Buttons ---------- */
.btn-adm {
  background: var(--adm-red);
  color: var(--adm-white);
  border: none;
  padding: 0.75rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  letter-spacing: 0.02em;
  transition: all var(--adm-transition);
}

.btn-adm:hover {
  background: var(--adm-red-dark);
  color: var(--adm-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(200,16,46,0.3);
}

.btn-adm-outline {
  background: transparent;
  color: var(--adm-white);
  border: 1px solid var(--adm-border);
  padding: 0.75rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all var(--adm-transition);
}

.btn-adm-outline:hover {
  border-color: var(--adm-red);
  color: var(--adm-red);
}

/* ---------- Sections ---------- */
.section-padding { padding: 6rem 0; }

.section-header {
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--adm-text-muted);
  max-width: 640px;
}

.section-header.text-center p {
  margin-left: auto;
  margin-right: auto;
}

.section-alt {
  background: var(--adm-dark-alt);
}

.section-line {
  border-top: 1px solid var(--adm-border);
}

/* ---------- Cards ---------- */
.card-adm {
  background: var(--adm-card);
  border: 1px solid var(--adm-border);
  border-radius: 12px;
  padding: 2rem;
  transition: all var(--adm-transition);
  height: 100%;
}

.card-adm:hover {
  border-color: rgba(200,16,46,0.25);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.card-adm h4 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.card-adm .icon-wrap {
  width: 48px;
  height: 48px;
  background: rgba(200,16,46,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--adm-red);
  font-size: 1.25rem;
}

/* ---------- Tabs (Services / Markets) ---------- */
.nav-tabs-adm {
  border: none;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.nav-tabs-adm .nav-link {
  background: var(--adm-card);
  color: var(--adm-text-muted);
  border: 1px solid var(--adm-border);
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--adm-transition);
}

.nav-tabs-adm .nav-link:hover {
  color: var(--adm-white);
  border-color: rgba(200,16,46,0.3);
}

.nav-tabs-adm .nav-link.active {
  background: var(--adm-red);
  color: var(--adm-white);
  border-color: var(--adm-red);
}

/* ---------- Process Steps ---------- */
.process-step {
  position: relative;
  padding-left: 4rem;
  margin-bottom: 3rem;
}

.process-step .step-number {
  position: absolute;
  left: 0; top: 0;
  width: 3rem;
  height: 3rem;
  background: rgba(200,16,46,0.12);
  color: var(--adm-red);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.process-step h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  color: var(--adm-text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Process connector line */
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 1.45rem;
  top: 3.25rem;
  bottom: -1.5rem;
  width: 1px;
  background: var(--adm-border);
}

/* ---------- Differentiators ---------- */
.diff-card {
  background: var(--adm-card);
  border: 1px solid var(--adm-border);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  transition: all var(--adm-transition);
}

.diff-card:hover {
  border-color: rgba(200,16,46,0.25);
}

.diff-card .diff-icon {
  color: var(--adm-red);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.diff-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.diff-card p {
  color: var(--adm-text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ---------- Blog / Insights Cards ---------- */
.insight-card {
  background: var(--adm-card);
  border: 1px solid var(--adm-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--adm-transition);
  height: 100%;
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.insight-card .card-body {
  padding: 1.75rem;
}

.insight-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.insight-card .read-more {
  color: var(--adm-red);
  font-size: 0.875rem;
  font-weight: 600;
}

.insight-card .read-more:hover {
  color: var(--adm-red-light);
}

/* ---------- Service Detail Pages ---------- */
.service-block {
  padding: 3rem 0;
  border-bottom: 1px solid var(--adm-border);
}

.service-block:last-child {
  border-bottom: none;
}

.service-block h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-block ul {
  list-style: none;
  padding: 0;
}

.service-block ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--adm-text-muted);
  font-size: 0.95rem;
}

.service-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  background: var(--adm-red);
  border-radius: 50%;
}

.deliverable-tag {
  display: inline-block;
  background: rgba(200,16,46,0.1);
  color: var(--adm-red);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  margin-top: 1rem;
}

/* Phase timeline for implementation page */
.phase-card {
  background: var(--adm-card);
  border: 1px solid var(--adm-border);
  border-radius: 12px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.phase-card .phase-label {
  display: inline-block;
  background: rgba(200,16,46,0.12);
  color: var(--adm-red);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--adm-red-dark) 0%, var(--adm-red) 100%);
  padding: 4rem 0;
  text-align: center;
}

.cta-banner h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.cta-banner .btn-adm {
  background: var(--adm-white);
  color: var(--adm-red);
}

.cta-banner .btn-adm:hover {
  background: var(--adm-gray-100);
  color: var(--adm-red-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* ---------- Footer ---------- */
.footer-adm {
  background: var(--adm-dark-alt);
  border-top: 1px solid var(--adm-border);
  padding: 4rem 0 2rem;
}

.footer-adm h6 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--adm-gray-300);
  margin-bottom: 1.25rem;
}

.footer-adm ul {
  list-style: none;
  padding: 0;
}

.footer-adm ul li { margin-bottom: 0.5rem; }

.footer-adm ul li a {
  color: var(--adm-text-muted);
  font-size: 0.9rem;
  transition: color var(--adm-transition);
}

.footer-adm ul li a:hover { color: var(--adm-white); }

.footer-bottom {
  border-top: 1px solid var(--adm-border);
  margin-top: 3rem;
  padding-top: 1.5rem;
}

.footer-bottom p {
  color: var(--adm-gray-500);
  font-size: 0.8rem;
  margin-bottom: 0;
}

/* ---------- Contact Page ---------- */
.contact-info-card {
  background: var(--adm-card);
  border: 1px solid var(--adm-border);
  border-radius: 12px;
  padding: 2rem;
}

.contact-info-card .icon {
  color: var(--adm-red);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .hero-section { padding: 6rem 0 4rem; min-height: auto; }
  .hero-section h1 { font-size: 2.25rem; }
  .section-padding { padding: 4rem 0; }
  .section-header h2 { font-size: 1.75rem; }
  .credential-bar { flex-wrap: wrap; }
}

@media (max-width: 767.98px) {
  .hero-section h1 { font-size: 1.85rem; }
  .hero-section .lead { font-size: 1rem; }
  .nav-tabs-adm .nav-link { padding: 0.6rem 1rem; font-size: 0.85rem; }
  .process-step { padding-left: 3.5rem; }
}
