/* ================================
   NAVBAR – CORPORATE LAYOUT SYSTEM
   ================================ */
.hero-section {
  margin-bottom: 0;
}
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 1040;
}

#site-header .navbar {
  min-height: 72px;
  padding: 0 0;
  background: #ffffff;
  transition:
    box-shadow 0.2s ease,
    padding 0.2s ease;
  z-index: 1030;
}

#site-header .navbar.navbar-scrolled {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

/* Brand */
#site-header .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

section {
  margin: 0;
}

.site-logo {
  height: 42px;
  width: auto;
}

/* Center container alignment */
#site-header .navbar .container {
  display: flex;
  align-items: center;
}

/* Navigation */
#site-header .navbar-nav {
  gap: 0.25rem;
}

#site-header .nav-link {
  color: #4a5560;
  padding: 0.6rem 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

#site-header .nav-link:hover,
#site-header .nav-link:focus {
  color: #0d6efd;
  text-decoration: none;
}

/* CTA Button */
#site-header .btn-primary {
  height: 36px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 500;
}

/* LinkedIn Button */
.btn-linkedin {
  height: 36px;
  width: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0a66c2;
  color: #ffffff;
  border-radius: 0.375rem;
  border: none;
  padding: 0;
}

.btn-linkedin svg {
  height: 18px;
  width: 18px;
  fill: currentColor;
}

/* Desktop alignment */
@media (min-width: 992px) {
  #site-header .navbar-collapse {
    display: flex;
    align-items: center;
  }
  #site-header .navbar-nav {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Mobile adjustments */
@media (max-width: 991.98px) {
  #site-header .navbar {
    min-height: 64px;
  }
  .site-logo {
    height: 38px;
  }
}

/* Offset page content because navbar is fixed */
body {
  padding-top: 50px;
}

/* ================= BASE ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: #f8fafc;
  color: #0f172a;
  line-height: 1.6;
}

.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-gap {
  padding: 80px 0;
}

.light-bg {
  background: #f1f5f9;
}

.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 48px;
}

/* ================= HERO ================= */
.erfq-hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #ffffff;
  text-align: center;
}

.erfq-hero h1 {
  font-size: 44px;
  margin-bottom: 16px;
}

.erfq-hero p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 18px;
  opacity: 0.9;
}

/* ================= CAPABILITIES ================= */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.cap-card {
  background: #ffffff;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.cap-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.cap-card h4 {
  margin-bottom: 12px;
}

/* ================= VIDEOS ================= */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.video-card {
  background: #ffffff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.video-card:hover {
  transform: translateY(-6px);
}

.video-placeholder {
  height: 220px;
  background: #e2e8f0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 16px;
}

.video-card video,
.video-embed iframe {
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #000;
}

/* ================= WORKFLOW ================= */
.split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.visual-block {
  background: #ffffff;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.flowchart {
  position: relative;
  cursor: zoom-in;
}

.flowchart img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.zoom-hint {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 20px;
}

.content-block h2 {
  font-size: 30px;
  margin-bottom: 24px;
}

.workflow-list li {
  margin-bottom: 12px;
}

/* ================= MODAL ================= */
.flowchart-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.flowchart-modal img {
  max-width: 92%;
  max-height: 92%;
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
}

.close-modal {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 36px;
  color: #ffffff;
  cursor: pointer;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .split-grid {
    grid-template-columns: 1fr;
  }

  .erfq-hero h1 {
    font-size: 36px;
  }
}

/* ======================
   Footer
   ====================== */

.site-footer {
  font-size: 25px;
  background: #050c2d;
  color: #ffffff;
  padding: 4.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 3rem;
}

.footer-logo {
  height: 46px;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.95rem;
  color: #94a3b8;
  max-width: 360px;
}

.footer-socials a {
  color: #94a3b8;
  font-size: 1.1rem;
  margin-right: 0.8rem;
  transition: color 0.3s ease;
}

.footer-socials a:hover {
  color: #38bdf8;
}

.footer-col h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
}

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

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

.footer-col ul li a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #38bdf8;
}

.footer-contact li {
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  margin-top: 3rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #94a3b8;
}

.footer-legal a {
  margin-right: 1rem;
  color: #94a3b8;
}

.footer-legal a:hover {
  color: #38bdf8;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-desc {
    margin: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }
}
