/* ═══════════════════════════════════════════
   ACCUIX RCM — SHARED STYLES
   ═══════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
  --navy: #0a1628;
  --navy-light: #112240;
  --navy-card: #0f1e36;
  --blue: #ad8c3a;
  --blue-bright: #ad8c3a;
  --blue-light: #e3f0ff;
  --accent: #ad8c3a;
  --accent-dark: #ad8c3a;
  --accent2: #f4a623;
  --white: #ffffff;
  --off-white: #f0f4ff;
  --gray: #8892a4;
  --light-gray: #e2e8f2;
  --text: #1a2540;
  --text-light: #4a5568;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--navy);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 2px;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  height: 76px;
  background: rgba(10, 22, 40, 0.94);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.4s ease;
}

nav.scrolled {
  height: 64px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

/*.nav-logo {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.5px;
}*/
.nav-logo img {
  height: 200px;
  width: auto;
  padding-top: 12px;
}

.nav-logo em {
  color: var(--accent);
  font-style: normal;
}

.logo-badge {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--navy);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 8px;
  transition: all 0.25s ease;
  letter-spacing: 0.1px;
  position: relative;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.nav-links a.active {
  color: var(--accent);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 13px;
  right: 13px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark)) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: 10px 20px !important;
  border-radius: 10px !important;

  margin-left: 8px;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px #ad8c3a !important;
  background: linear-gradient(135deg, #ad8c3a, var(--accent)) !important;
  color: var(--navy) !important;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--navy);
  padding: 90px 32px 40px;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 14px 16px;
  border-radius: 12px;
  transition: all 0.2s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.close-menu {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
}

/* ─── TICKER ─── */
.ticker-wrap {
  background: var(--accent);
  padding: 9px 0;
  overflow: hidden;
}

.ticker {
  display: flex;
  gap: 56px;
  animation: ticker 28s linear infinite;
  white-space: nowrap;
}

.ticker span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 12px;
}

.ticker span::after {
  content: '◆';
  opacity: 0.35;
}

@keyframes ticker {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  background: var(--navy);
  padding: 140px 0 90px;
  position: relative;
  overflow: hidden;
}

.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 201, 167, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 201, 167, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: gridDrift 22s linear infinite;
}

@keyframes gridDrift {
  from {
    transform: translateY(0)
  }

  to {
    transform: translateY(64px)
  }
}

.page-hero-orb1 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--blue);
  filter: blur(100px);
  opacity: 0.18;
  top: -150px;
  right: -80px;
}

.page-hero-orb2 {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(80px);
  opacity: 0.12;
  bottom: -80px;
  left: -40px;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span {
  color: var(--accent);
}

.page-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  max-width: 700px;
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.7s 0.2s forwards;
}

.page-title em {
  color: var(--accent);
  font-style: normal;
}

.page-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
  max-width: 580px;
  margin-top: 16px;
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.7s 0.4s forwards;
}

.page-hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.7s 0.6s forwards;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--navy);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 28px;
  border-radius: 12px;
  text-decoration: none;

  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 18px #ad8c3a;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 26px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0, 201, 167, 0.08);
}

.btn-blue {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(135deg, var(--blue), #ad8c3a);
  color: var(--white);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 28px;
  border-radius: 12px;
  text-decoration: none;

  transition: all 0.3s ease;
}

.btn-blue:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px #ad8c3a;
}

/* ─── SECTION COMMONS ─── */
section {
  padding: 96px 0;
}

.container {
  max-width: 1450px;
  margin: 0 auto;
  padding: 0 56px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  height: 1px;
  width: 28px;
  background: var(--accent);
  opacity: 0.45;
}

.section-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
}

.section-title .a {
  color: var(--blue);
}

.section-title .ag {
  color: var(--accent);
}

.section-sub {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.75;
  margin-top: 12px;
  max-width: 560px;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes fadeLeft {
  to {
    opacity: 1;
    transform: translateX(0)
  }
}

@keyframes fadeRight {
  to {
    opacity: 1;
    transform: translateX(0)
  }
}

.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-l {
  opacity: 0;
  transform: translateX(-38px);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-l.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-r {
  opacity: 0;
  transform: translateX(38px);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-r.visible {
  opacity: 1;
  transform: translateX(0);
}

.d1 {
  transition-delay: 0.08s
}

.d2 {
  transition-delay: 0.16s
}

.d3 {
  transition-delay: 0.24s
}

.d4 {
  transition-delay: 0.32s
}

.d5 {
  transition-delay: 0.4s
}

.d6 {
  transition-delay: 0.48s
}

/* ─── FOOTER ─── */
footer {
  background: #06101f;
  color: rgba(255, 255, 255, 0.5);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 56px;
  margin-bottom: 52px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.75;
  max-width: 280px;
  margin-top: 14px;
}

.footer-social {
  display: flex;
  gap: 9px;
  margin-top: 22px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.55);
  transition: all 0.3s ease;
}

.social-btn:hover {
  background: var(--accent);
  color: var(--navy);
  border-color: var(--accent);
}

.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.42);
  text-decoration: none;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 13px;
  font-size: 0.86rem;
}

.ci-icon {
  color: var(--accent);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.32);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* ─── UTILITY ─── */
.text-center {
  text-align: center;
}

.text-center .section-sub {
  margin: 0 auto;
}

.bg-off {
  background: var(--off-white);
}

.bg-navy {
  background: var(--navy);
}

.bg-navy .section-title {
  color: var(--white);
}

.bg-navy .section-sub {
  color: rgba(255, 255, 255, 0.48);
}

/* ─── RESPONSIVE ─── */
@media(max-width:1024px) {
  nav {
    padding: 0 28px;
  }

  .container {
    padding: 0 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media(max-width:768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .container {
    padding: 0 20px;
  }

  section {
    padding: 68px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}