/* ============================================================
   Custom styles — Bootstrap 5 + seqent.com design system
   ============================================================ */

/* ---- Variables ---- */
:root {
  --navy: #111827;
  --navy-mid: #1a2438;
  --navy-dark: #0d1520;
  --navy-hover: #282D3B;
  --red: #DC2626;
  --red-dark: #b91c1c;
  --light-gray: #F9FAFB;
  --text-muted: #6B7280;
}

/* ---- Base ---- */
body {
  font-family: 'Figtree', sans-serif;
  color: #111827;
  overflow-x: hidden;
}

/* ---- Navbar ---- */
.navbar-brand {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #fff !important;
}

.main-nav {
  background-color: var(--navy);
  padding: 0.85rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.main-nav .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.5rem 0.7rem !important;
  transition: color 0.2s;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
  color: #fff !important;
}

.main-nav .dropdown-menu {
  background-color: var(--navy-hover);
  border: none;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  min-width: 200px;
  margin-top: 4px;
}

.main-nav .dropdown-item {
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  padding: 0.55rem 1.2rem;
  transition: background 0.15s, color 0.15s;
}

.main-nav .dropdown-item:hover {
  background-color: rgba(255,255,255,0.08);
  color: #fff;
}

.btn-book-demo {
  border: 1.5px solid rgba(255,255,255,0.7);
  color: #fff;
  background: transparent;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  transition: background 0.2s, border-color 0.2s;
}

.btn-book-demo:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}

.btn-speak-expert {
  background-color: var(--red);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  transition: background 0.2s;
}

.btn-speak-expert:hover {
  background-color: var(--red-dark);
  color: #fff;
}

/* ---- Hero sections ---- */
.hero {
  background: linear-gradient(135deg, var(--navy) 60%, #1e2d4a 100%);
  color: #fff;
  padding: 7rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(220,38,38,0.12) 100%);
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero .badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.83rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
}

.hero .badge-pill .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  display: inline-block;
}

.hero .lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  line-height: 1.7;
}

.btn-hero-primary {
  background-color: var(--red);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.8rem 1.7rem;
  font-size: 0.95rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.15s;
}

.btn-hero-primary:hover {
  background-color: var(--red-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-hero-secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 6px;
  padding: 0.8rem 1.7rem;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s;
}

.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}

/* ---- Trust strip ---- */
.trust-strip {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.trust-strip .trust-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1rem;
}

.trust-logos span {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
  margin: 0 1.2rem;
}

/* ---- Section headings ---- */
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 560px;
}

/* ---- Cards ---- */
.feature-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
  border-color: #d1d5db;
}

.icon-box {
  width: 52px; height: 52px;
  border-radius: 10px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

.icon-box.red { background: var(--red); }
.icon-box.light {
  background: #F9FAFB;
  border: 1px solid #e5e7eb;
  color: var(--navy);
}

/* ---- Stats section ---- */
.stats-section {
  background: linear-gradient(135deg, var(--navy) 0%, #1a2544 100%);
  padding: 5rem 0;
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.5rem;
}

/* ---- CTA banner ---- */
.cta-banner {
  background-color: var(--red);
  padding: 5rem 0;
}

.cta-banner h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
}

.btn-cta-white {
  background: #fff;
  color: var(--red);
  border: none;
  border-radius: 6px;
  padding: 0.8rem 2rem;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
}

.btn-cta-white:hover {
  background: #f3f4f6;
  color: var(--red);
  transform: translateY(-1px);
}

/* ---- Testimonial ---- */
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 3rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  max-width: 680px;
  margin: 0 auto;
}

.testimonial-card blockquote {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #374151;
  font-style: italic;
}

.testimonial-card .author {
  font-weight: 700;
  color: var(--navy);
  margin-top: 1.5rem;
}

.testimonial-card .company {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---- Footer ---- */
.site-footer {
  background-color: var(--navy);
  color: rgba(255,255,255,0.65);
  padding: 4.5rem 0 2rem;
}

.site-footer .footer-logo {
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.05em;
}

.site-footer .footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.2rem;
}

.site-footer a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.88rem;
  line-height: 2;
  transition: color 0.2s;
}

.site-footer a:hover {
  color: #fff;
}

.footer-border {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 3rem;
  padding-top: 1.5rem;
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ---- Section backgrounds ---- */
.bg-light-gray { background-color: var(--light-gray); }
.bg-navy { background-color: var(--navy); }

/* ---- Process steps ---- */
.step-circle {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 4px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--navy);
  background: #fff;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 16px rgba(220,38,38,0.2);
}

/* ---- Table ---- */
.comparison-table th {
  background-color: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 1rem 1.2rem;
}

.comparison-table td {
  padding: 0.85rem 1.2rem;
  vertical-align: middle;
  font-size: 0.9rem;
}

.comparison-table .check { color: #16a34a; font-size: 1.1rem; }
.comparison-table .cross { color: #9ca3af; font-size: 1.1rem; }

/* ---- Contact ---- */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.contact-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(220,38,38,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ---- Nav toggle for mobile ---- */
.navbar-toggler {
  border-color: rgba(255,255,255,0.3);
}

.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%28255%2C255%2C255%2C0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---- Utilities ---- */
.text-red { color: var(--red) !important; }
.fw-900 { font-weight: 900; }
.lh-sm { line-height: 1.15; }

.section-py { padding-top: 5rem; padding-bottom: 5rem; }

/* ---- Tab pills (Resources page) ---- */
.resource-tabs .nav-link {
  color: var(--text-muted);
  border-radius: 100px;
  padding: 0.5rem 1.4rem;
  font-weight: 600;
  font-size: 0.88rem;
  transition: background 0.2s, color 0.2s;
}

.resource-tabs .nav-link.active,
.resource-tabs .nav-link:hover {
  background-color: var(--navy);
  color: #fff;
}

/* ---- Map placeholder ---- */
.map-placeholder {
  background: #e5e7eb;
  border-radius: 12px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 1rem;
}

/* ---- Smooth transitions ---- */
a, button { transition: all 0.2s; }

/* ---- Form controls ---- */
.form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 0.2rem rgba(220,38,38,0.15);
}

.btn-submit {
  background-color: var(--red);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.75rem 2rem;
  font-weight: 700;
  font-size: 0.95rem;
  width: 100%;
  transition: background 0.2s;
}

.btn-submit:hover {
  background-color: var(--red-dark);
  color: #fff;
}

/* ---- Big number overlay for process ---- */
.process-number-bg {
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(220,38,38,0.15);
  margin-bottom: 0.5rem;
}

/* ---- Partner tier card ---- */
.partner-tier {
  border-top: 4px solid var(--red);
  border-radius: 0 0 12px 12px;
  padding: 2rem;
  background: #fff;
  border-left: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  height: 100%;
}

/* ---- Industry card ---- */
.industry-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  transition: transform 0.25s, box-shadow 0.25s;
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.09);
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .hero { padding: 5rem 0 3.5rem; }
  .hero h1 { font-size: 2.4rem; }
  .main-nav .dropdown-menu { background-color: #1e2c40; }
  .main-nav .nav-link { padding: 0.55rem 0.5rem !important; }
  .trust-logos span { margin: 0 0.6rem; font-size: 0.85rem; }
}
