/* ============================================================
   APEX GROUP OF TECHNOLOGIES — Premium Corporate Stylesheet
   Brand: Dark Navy + Microsoft Blue Gradient + White
   ============================================================ */

:root {
  --navy: #001A3F;
  --navy-deep: #000F28;
  --navy-mid: #00235B;
  --blue: #0078D4;
  --blue-bright: #2B88D8;
  --blue-light: #50E6FF;
  --blue-soft: #E8F4FC;
  --gradient: linear-gradient(135deg, #0078D4 0%, #005A9E 50%, #00235B 100%);
  --gradient-btn: linear-gradient(135deg, #2B88D8 0%, #0078D4 55%, #005A9E 100%);
  --gradient-hero: linear-gradient(135deg, rgba(0, 26, 63, 0.92) 0%, rgba(0, 35, 91, 0.85) 45%, rgba(0, 120, 212, 0.75) 100%);
  --white: #FFFFFF;
  --off-white: #F7FAFC;
  --gray-100: #F0F4F8;
  --gray-200: #E2E8F0;
  --gray-400: #94A3B8;
  --gray-600: #475569;
  --gray-700: #334155;
  --text: #1E293B;
  --shadow-sm: 0 2px 8px rgba(0, 26, 63, 0.06);
  --shadow: 0 8px 30px rgba(0, 26, 63, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 26, 63, 0.12);
  --shadow-blue: 0 10px 30px rgba(0, 120, 212, 0.25);
  --radius: 6px;
  --radius-lg: 12px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Montserrat', 'Plus Jakarta Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy); }

img { max-width: 100%; height: auto; }

/* ---------- Loader ---------- */
#page-loader {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s;
}
#page-loader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mark {
  width: 56px; height: 56px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Buttons ---------- */
.btn-apex {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.85rem;
  background: #0078D4;
  color: var(--white) !important;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: background 0.25s ease, transform 0.25s ease;
  box-shadow: none;
  position: relative; overflow: hidden;
}
.btn-apex::after { display: none; }
.btn-apex:hover {
  transform: translateY(-2px);
  background: #005A9E;
  box-shadow: none;
  color: var(--white) !important;
}

.btn-apex-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.85rem;
  background: transparent;
  color: var(--white) !important;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
}
.btn-apex-outline:hover {
  background: var(--white);
  color: var(--navy) !important;
  border-color: var(--white);
  transform: translateY(-3px);
}

.btn-apex-navy {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.85rem;
  background: var(--navy);
  color: var(--white) !important;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all var(--transition);
}
.btn-apex-navy:hover {
  background: var(--blue);
  transform: translateY(-3px);
  color: var(--white) !important;
  box-shadow: var(--shadow-blue);
}

.btn-apex-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--navy) !important;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  font-weight: 600;
  transition: all var(--transition);
}
.btn-apex-ghost:hover {
  background: var(--navy);
  color: var(--white) !important;
}

/* ---------- Navbar ---------- */
.apex-navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1050;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease, border-color 0.35s ease;
  padding: 1rem 0;
}
.apex-navbar .brand-logo {
  height: 72px; width: auto;
  transition: height 0.3s ease, filter 0.3s ease;
}
.apex-navbar.scrolled .brand-logo { height: 60px; }

.apex-navbar .nav-link {
  font-weight: 700;
  font-size: 1rem;
  padding: 0.55rem 1.05rem !important;
  position: relative;
  letter-spacing: 0.01em;
  transition: color 0.3s ease;
}
.apex-navbar .nav-link::after {
  content: '';
  position: absolute; bottom: 0; left: 0.95rem; right: 0.95rem;
  height: 2px;
  background: linear-gradient(90deg, #50E6FF, #0078D4);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.apex-navbar .nav-link:hover::after,
.apex-navbar .nav-link.active::after { transform: scaleX(1); }

.btn-nav-cta {
  display: inline-flex; align-items: center;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  text-decoration: none !important;
}

/* Solid navbar (inner pages) */
.navbar-solid {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,26,63,0.06);
  box-shadow: 0 4px 24px rgba(0,26,63,0.04);
}
.navbar-solid .nav-link { color: var(--navy) !important; }
.navbar-solid .nav-link.active { color: var(--blue) !important; }
.navbar-solid .btn-nav-cta {
  background: linear-gradient(135deg, #2B88D8, #0078D4);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(0,120,212,0.28);
}
.navbar-solid .btn-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0,120,212,0.38);
  color: #fff !important;
}
.navbar-solid .navbar-toggler {
  border: 1px solid var(--gray-200);
  padding: 0.4rem 0.55rem;
}

/* Transparent navbar over dark home hero */
.navbar-over-hero {
  background: transparent;
  border-bottom: 1px solid transparent;
}
.navbar-over-hero .nav-link { color: rgba(255,255,255,0.92) !important; }
.navbar-over-hero .nav-link.active { color: #50E6FF !important; }
.navbar-over-hero .btn-nav-cta {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff !important;
  backdrop-filter: blur(8px);
}
.navbar-over-hero .btn-nav-cta:hover {
  background: #0078D4;
  border-color: #0078D4;
  color: #fff !important;
  transform: translateY(-2px);
}
.navbar-over-hero .brand-logo {
  background: transparent;
  padding: 0;
  border-radius: 0;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.35));
}
.navbar-over-hero .navbar-toggler {
  border: 1px solid rgba(255,255,255,0.35);
  filter: invert(1);
}

/* Home navbar after scroll → solid white */
.navbar-over-hero.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,26,63,0.08);
  box-shadow: 0 8px 30px rgba(0,26,63,0.08);
  padding: 0.7rem 0;
}
.navbar-over-hero.scrolled .nav-link { color: var(--navy) !important; }
.navbar-over-hero.scrolled .nav-link.active { color: var(--blue) !important; }
.navbar-over-hero.scrolled .btn-nav-cta {
  background: linear-gradient(135deg, #2B88D8, #0078D4);
  border-color: transparent;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(0,120,212,0.28);
}
.navbar-over-hero.scrolled .brand-logo {
  background: transparent;
  padding: 0;
  filter: none;
}
.navbar-over-hero.scrolled .navbar-toggler {
  filter: none;
  border-color: var(--gray-200);
}

.navbar-toggler:focus { box-shadow: none; }

@media (max-width: 991.98px) {
  .navbar-over-hero .navbar-collapse,
  .navbar-solid .navbar-collapse {
    background: #fff;
    margin-top: 0.75rem;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0,26,63,0.12);
  }
  .navbar-over-hero .navbar-collapse .nav-link {
    color: var(--navy) !important;
  }
  .navbar-over-hero .navbar-collapse .nav-link.active {
    color: var(--blue) !important;
  }
  .navbar-over-hero .navbar-collapse .btn-nav-cta {
    background: linear-gradient(135deg, #2B88D8, #0078D4);
    border: none;
    color: #fff !important;
    justify-content: center;
    width: 100%;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background: #05080f;
  overflow: hidden;
  padding-top: 110px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg,
      rgba(5, 8, 15, 0.72) 0%,
      rgba(5, 8, 15, 0.38) 42%,
      rgba(5, 8, 15, 0.12) 68%,
      rgba(5, 8, 15, 0.05) 100%),
    url('../images/home-banner.png') center right / cover no-repeat;
  transform: none;
  will-change: auto;
  animation: none;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, transparent 28%, transparent 72%, rgba(0,0,0,0.22) 100%);
  pointer-events: none;
  display: block;
}
.hero-particles {
  display: none;
}

.hero-content {
  position: relative; z-index: 2; color: #fff; padding: 3.5rem 0;
}
.hero-copy {
  max-width: 620px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  backdrop-filter: none;
  box-shadow: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: rgba(0, 120, 212, 0.22);
  border: 1px solid rgba(80, 230, 255, 0.35);
  color: #fff;
  padding: 0.45rem 1.05rem;
  border-radius: 50px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 1.35rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeUp 0.75s ease forwards 0.15s;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.15rem, 4.8vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1.1rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-shadow: 0 4px 24px rgba(0,0,0,0.35);
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.8s ease forwards 0.3s;
}
.hero h1 .hero-h1-line {
  display: block;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
}
.hero h1 .accent {
  display: block;
  background: linear-gradient(95deg, #ffffff 0%, #50E6FF 45%, #2B88D8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.06rem;
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  margin-bottom: 1.85rem;
  font-weight: 400;
  line-height: 1.75;
  text-shadow: 0 2px 14px rgba(0,0,0,0.25);
  opacity: 0;
  transform: translateY(28px);
  animation: heroFadeUp 0.8s ease forwards 0.45s;
}
.hero-trust {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s ease forwards 0.75s;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
}
.hero-trust .apex-ico {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 0.85rem;
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeUp 0.8s ease forwards 0.6s;
}
@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-visual {
  display: none !important;
}
@keyframes heroSlideIn {
  to { opacity: 1; transform: translateX(0); }
}
.hero-card-stack {
  position: relative; width: 100%; max-width: 400px;
}
.hero-float-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: rgba(0, 15, 40, 0.55);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  color: var(--white);
  margin-bottom: 1rem;
  animation: floatCard 6s ease-in-out infinite;
  box-shadow: 0 18px 40px rgba(0,0,0,0.3);
}
.hero-float-card:nth-child(2) { animation-delay: 1.5s; margin-left: 1.5rem; }
.hero-float-card:nth-child(3) { animation-delay: 3s; margin-right: 1rem; }
.hero-float-card .apex-ico {
  width: 42px !important;
  height: 42px !important;
  margin: 0 !important;
  flex-shrink: 0;
}
.hero-float-card strong {
  display: block;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.3;
  color: #fff;
}
.hero-float-card span {
  font-size: 0.8rem;
  opacity: 0.82;
  color: rgba(255,255,255,0.85);
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 3; color: rgba(255,255,255,0.75);
  animation: bounce 2s infinite;
  font-size: 1.5rem;
}
.hero-scroll .apex-ico { color: rgba(255,255,255,0.75) !important; }
.hero .btn-apex-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: #fff !important;
}
.hero .btn-apex-outline:hover {
  background: #fff;
  border-color: #fff;
  color: #001A3F !important;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- Sections ---------- */
.section { padding: 6rem 0; }
.section-alt { background: var(--off-white); }
.section-navy {
  background: var(--navy-deep);
  color: var(--white);
  position: relative; overflow: hidden;
}
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy::before {
  content: '';
  position: absolute; top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,120,212,0.2), transparent 70%);
  pointer-events: none;
}

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-eyebrow {
  display: inline-block;
  color: var(--blue);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  position: relative;
}
.section-eyebrow::before,
.section-eyebrow::after {
  display: none;
}
.section-header h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.65rem);
  margin-bottom: 1rem;
  font-weight: 800;
}
.section-header p {
  color: var(--gray-600);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.7;
}
.section-navy .section-header p { color: rgba(255,255,255,0.7); }
.section-navy .section-eyebrow { color: var(--blue-light); }
.section-navy .section-eyebrow::before,
.section-navy .section-eyebrow::after { background: var(--blue-light); }

/* ---------- About ---------- */
.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image-wrap img {
  width: 100%; height: 480px; object-fit: cover;
  display: block;
}
.about-image-accent {
  position: absolute; bottom: -1px; left: 0; right: 0; height: 6px;
  background: var(--gradient-btn);
}
.about-stats-float {
  position: absolute; bottom: 2rem; right: -1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--blue);
}
.about-stats-float .num {
  font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1;
}
.about-stats-float .label { font-size: 0.8rem; color: var(--gray-600); font-weight: 600; }

.feature-mini {
  display: flex; gap: 1rem; margin-bottom: 1.25rem;
}
.feature-mini-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: #F0F7FC;
  border: 1px solid rgba(0, 120, 212, 0.18);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
}
.feature-mini-icon .apex-ico {
  width: 28px !important; height: 28px !important;
}

.service-icon {
  width: auto; height: auto;
  background: transparent;
  border: none;
  border-radius: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  margin-bottom: 1.25rem;
  box-shadow: none;
  padding: 0;
  transition: all var(--transition);
}
.service-icon .apex-ico {
  width: 64px !important; height: 64px !important;
}
.service-card:hover .service-icon {
  background: transparent;
  border: none;
  color: var(--blue);
}

.service-features-list li .apex-ico {
  width: 16px; height: 16px;
  stroke-width: 2.25;
  color: var(--blue);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.why-icon {
  width: auto; height: auto;
  margin: 0 auto 1.25rem;
  background: transparent;
  border: none;
  border-radius: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  padding: 0;
  transition: transform var(--transition);
}
.why-icon .apex-ico {
  width: 64px !important; height: 64px !important;
}
.why-card:hover .why-icon {
  background: transparent;
  border: none;
  color: var(--blue);
  box-shadow: none;
  transform: scale(1.08);
}

.benefit-item .apex-ico,
.benefit-logo .apex-ico {
  width: 52px !important; height: 52px !important;
  flex-shrink: 0;
  margin-top: 0;
}

.tech-item .apex-ico {
  width: 28px; height: 28px;
  stroke-width: 1.6;
  color: var(--navy);
  display: block;
  margin: 0 auto 0.85rem;
}
.tech-item:hover .apex-ico { color: var(--blue); }

.hero-float-card .apex-ico {
  width: 22px; height: 22px;
  stroke-width: 1.75;
  color: var(--blue-light);
}
.hero-badge .apex-ico {
  width: 30px !important;
  height: 30px !important;
}

.apex-ico {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.btn-apex .apex-ico,
.btn-apex-outline .apex-ico,
.btn-apex-navy .apex-ico,
.btn-apex-ghost .apex-ico,
.cform-btn .apex-ico,
.cside-call .apex-ico {
  width: 22px !important;
  height: 22px !important;
}

.service-link .apex-ico {
  width: 16px; height: 16px;
}

.cinfo-icon {
  width: auto;
  height: auto;
  margin: 0 auto 1rem;
  border-radius: 0;
  background: transparent;
  border: none;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  padding: 0;
  transition: transform var(--transition);
}
.cinfo-icon .apex-ico {
  width: 52px !important;
  height: 52px !important;
}
.cinfo-card:hover .cinfo-icon {
  border: none;
  color: var(--blue);
  background: transparent;
  transform: scale(1.08);
}

.cside-list li > .apex-ico {
  width: 26px !important;
  height: 26px !important;
  margin-top: 0;
  flex-shrink: 0;
}

.feature-check .apex-ico {
  width: 18px; height: 18px;
  color: var(--blue);
}

.footer-social .apex-ico {
  width: 32px !important;
  height: 32px !important;
}

.testimonial-stars .apex-ico {
  width: 16px; height: 16px;
  fill: #F59E0B;
  stroke: #F59E0B;
}

.apex-footer a .apex-ico {
  width: 26px !important;
  height: 26px !important;
  margin-right: 0.55rem;
  display: inline-block;
  vertical-align: -6px;
}
.list-group-item .apex-ico {
  width: 22px;
  height: 22px;
  margin-right: 0.4rem;
  color: var(--blue);
  display: inline-block;
  vertical-align: -4px;
}
.hero-scroll .apex-ico {
  width: 24px;
  height: 24px;
  color: rgba(255,255,255,0.6);
}


/* ---------- Counters ---------- */
.counter-bar {
  background: #001A3F;
  padding: 3rem 0;
  position: relative; overflow: hidden;
}
.counter-bar::before { display: none; }
.counter-item { text-align: center; color: var(--white); position: relative; }
.counter-item .counter-num {
  font-size: 2.75rem; font-weight: 800; line-height: 1;
  font-family: var(--font-display);
}
.counter-item .counter-label {
  font-size: 0.9rem; opacity: 0.85; margin-top: 0.5rem; font-weight: 500;
}

/* ---------- Service Cards ---------- */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-btn);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px; height: 56px;
  background: #F0F7FC;
  border: 1px solid rgba(0, 120, 212, 0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  margin-bottom: 1.25rem;
  box-shadow: none;
  transition: all var(--transition);
}
.service-card:hover .service-icon {
  background: var(--white);
  border-color: var(--blue);
  color: var(--blue);
}
.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.service-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}
.service-link {
  font-weight: 700; font-size: 0.9rem; color: var(--blue);
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.service-link:hover { gap: 0.7rem; color: var(--navy); }

.service-features-list {
  list-style: none; padding: 0; margin: 0 0 1rem;
}
.service-features-list li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--gray-700);
  display: flex; align-items: flex-start; gap: 0.5rem;
}

/* ---------- Why Choose / Benefits ---------- */
.why-card {
  background: var(--white);
  border-radius: 4px;
  padding: 1.5rem;
  height: 100%;
  border: 1px solid #E5EAF0;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  text-align: left;
}
.why-card:hover {
  transform: none;
  box-shadow: 0 8px 24px rgba(0, 26, 63, 0.06);
  border-color: #0078D4;
}
.why-icon {
  width: auto;
  height: auto;
  margin: 0 0 1rem;
  background: transparent;
  border: none;
  border-radius: 0;
  display: block;
  color: var(--navy);
  transition: none;
}
.why-card:hover .why-icon {
  background: transparent;
  border: none;
  color: var(--navy);
  box-shadow: none;
}
.why-card h4 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.why-card p { color: var(--gray-600); font-size: 0.9rem; margin: 0; }

.benefit-item {
  display: none !important;
}

/* ---------- Business Benefits (professional) ---------- */
.benefit-section {
  background: #F4F7FB;
  border-top: 1px solid #E8EEF4;
  border-bottom: 1px solid #E8EEF4;
}
.benefit-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.benefit-intro h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin: 0.75rem 0 1rem;
  color: #001A3F;
}
.benefit-intro p {
  color: #64748B;
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 0 1.5rem;
  max-width: 420px;
}
.benefit-list {
  display: grid;
  gap: 0.85rem;
}
.benefit-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  align-items: center;
  background: #fff;
  border: 1px solid #E6ECF2;
  border-radius: 14px;
  padding: 1rem 1.2rem;
  box-shadow: 0 6px 18px rgba(0, 26, 63, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.benefit-row:hover {
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: 0 14px 32px rgba(0, 26, 63, 0.1);
}
.benefit-logo {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.benefit-logo .apex-ico {
  width: 52px !important;
  height: 52px !important;
}
.benefit-row h4 {
  font-size: 1.05rem;
  margin: 0 0 0.25rem;
  color: #001A3F;
}
.benefit-row p {
  margin: 0;
  color: #64748B;
  font-size: 0.92rem;
  line-height: 1.5;
}
@media (max-width: 991.98px) {
  .benefit-layout { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Tech Stack Marquee ---------- */
.tech-marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 0.5rem 0 1rem;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.tech-marquee-track {
  display: flex;
  width: max-content;
  gap: 1.5rem;
  padding: 0.5rem 0 1rem;
  animation: techMarquee 40s linear infinite;
}
.tech-marquee:hover .tech-marquee-track {
  animation-play-state: paused;
}
@keyframes techMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.tech-item {
  flex: 0 0 auto;
  width: 230px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  padding: 2rem 1.35rem 1.75rem;
  text-align: center;
  transition: all var(--transition);
  box-shadow: 0 10px 26px rgba(0, 26, 63, 0.06);
}
.tech-item:hover {
  border-color: transparent;
  box-shadow: 0 18px 38px rgba(0, 26, 63, 0.12);
  transform: translateY(-6px);
}
.tech-item .apex-ico {
  width: 84px !important;
  height: 84px !important;
  margin: 0 auto 1rem;
  display: block;
}
.tech-item span {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
#technology .section-header {
  margin-bottom: 1.75rem;
}
@media (max-width: 575.98px) {
  .tech-item { width: 185px; padding: 1.6rem 1rem 1.4rem; }
  .tech-item .apex-ico { width: 70px !important; height: 70px !important; }
  .tech-item span { font-size: 0.92rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tech-marquee-track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-size: 5rem;
  font-family: Georgia, serif;
  color: var(--blue-soft);
  position: absolute; top: 0.5rem; right: 1.5rem;
  line-height: 1;
}
.testimonial-stars { color: #F59E0B; margin-bottom: 1rem; font-size: 0.9rem; }
.testimonial-card p {
  color: var(--gray-700);
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative; z-index: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 0.85rem; }
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient-btn);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem;
}
.testimonial-author strong { display: block; color: var(--navy); font-size: 0.95rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--gray-600); }

/* ---------- FAQ ---------- */
.faq-section {
  background: linear-gradient(180deg, #F4F7FB 0%, #FFFFFF 55%);
  border-top: 1px solid #E8EEF4;
}
.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
}
.faq-intro h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin: 0.75rem 0 1rem;
  color: #001A3F;
}
.faq-intro > p {
  color: #64748B;
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 0 1.5rem;
  max-width: 400px;
}
.faq-help {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #E6ECF2;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 22px rgba(0, 26, 63, 0.05);
}
.faq-help-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.faq-help-icon .apex-ico {
  width: 42px !important;
  height: 42px !important;
}
.faq-help strong {
  display: block;
  color: #001A3F;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.faq-help span {
  display: block;
  color: #64748B;
  font-size: 0.86rem;
  line-height: 1.5;
}

.faq-accordion .accordion-item {
  border: 1px solid #E6ECF2 !important;
  border-radius: 14px !important;
  margin-bottom: 0.85rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 26, 63, 0.04);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.faq-accordion .accordion-item:hover {
  border-color: rgba(0, 120, 212, 0.25) !important;
  box-shadow: 0 12px 28px rgba(0, 26, 63, 0.08);
}
.faq-accordion .accordion-button {
  font-weight: 700;
  color: #001A3F;
  background: #fff;
  box-shadow: none !important;
  font-size: 1rem;
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  letter-spacing: -0.01em;
}
.faq-accordion .accordion-button:not(.collapsed) {
  color: #0078D4;
  background: #F0F7FC;
}
.faq-qnum {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #E8F4FC;
  color: #0078D4;
  font-size: 0.78rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
}
.faq-accordion .accordion-button:not(.collapsed) .faq-qnum {
  background: #0078D4;
  color: #fff;
}
.faq-qtext {
  flex: 1;
  padding-right: 0.5rem;
  text-align: left;
  line-height: 1.45;
}
.faq-accordion .accordion-button::after {
  margin-left: auto;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230078D4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.faq-accordion .accordion-body {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.7;
  padding: 0 1.25rem 1.25rem 4.2rem;
  background: #F0F7FC;
}
@media (max-width: 991.98px) {
  .faq-layout { grid-template-columns: 1fr; gap: 2rem; }
  .faq-accordion .accordion-body { padding-left: 1.25rem; }
}

/* ---------- Blog ---------- */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  height: 100%;
  transition: all var(--transition);
  display: flex; flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.blog-card-img {
  height: 200px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 3rem;
  overflow: hidden;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.blog-date { font-size: 0.8rem; color: var(--blue); font-weight: 600; margin-bottom: 0.5rem; }
.blog-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.blog-card p { color: var(--gray-600); font-size: 0.9rem; flex-grow: 1; }

/* ---------- Contact Page ---------- */
.contact-section {
  background: linear-gradient(180deg, #F7FAFC 0%, #FFFFFF 40%);
}

.cinfo-card {
  display: block;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: all var(--transition);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}
a.cinfo-card:hover,
.cinfo-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  color: inherit;
}
.cinfo-icon {
  width: auto;
  height: auto;
  margin: 0 auto 1rem;
  border-radius: 0;
  background: transparent;
  border: none;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  padding: 0;
  transition: transform var(--transition);
}
.cinfo-card:hover .cinfo-icon {
  border: none;
  color: var(--blue);
  background: transparent;
  transform: scale(1.08);
}
.cinfo-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  color: var(--navy);
}
.cinfo-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--gray-600);
  word-break: break-word;
}

.cform-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 2.25rem;
  box-shadow: var(--shadow);
  height: 100%;
}
.cform-box-head {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray-200);
}
.cform-box-head h2 {
  font-size: 1.65rem;
  margin: 0.5rem 0 0.6rem;
}
.cform-box-head p {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.95rem;
}

.cform-label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.86rem;
  margin-bottom: 0.45rem;
}
.cform-label span { color: var(--blue); }

.cform-input {
  width: 100%;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  background: #fff;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.cform-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 120, 212, 0.12);
}
select.cform-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23001A3F' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.5rem;
}
textarea.cform-input {
  resize: vertical;
  min-height: 140px;
}
.cform-btn {
  padding: 0.9rem 2rem;
  font-size: 0.95rem;
}

.cside-panel {
  background: var(--navy-deep);
  border-radius: 14px;
  padding: 2.25rem;
  color: var(--white);
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.cside-panel::before {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  right: -70px;
  bottom: -80px;
  background: radial-gradient(circle, rgba(0,120,212,0.4), transparent 70%);
  pointer-events: none;
}
.cside-panel h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
  position: relative;
}
.cside-list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  flex: 1;
}
.cside-list li {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}
.cside-list li > i {
  color: var(--blue-light);
  font-size: 1.25rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.cside-list strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.cside-list span {
  display: block;
  color: rgba(255,255,255,0.68);
  font-size: 0.85rem;
  line-height: 1.5;
}
.cside-cta {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  position: relative;
}
.cside-cta p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}
.cside-call {
  width: 100%;
  justify-content: center;
  border-color: rgba(255,255,255,0.45);
}

@media (max-width: 991.98px) {
  .cform-box, .cside-panel { padding: 1.75rem; }
}

@media (max-width: 575.98px) {
  .cform-btn { width: 100%; justify-content: center; }
}

/* ---------- CTA Band ---------- */
.cta-band {
  background: #001A3F;
  padding: 4rem 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before { display: none; }
.cta-band h2 { color: var(--white); margin-bottom: 1rem; position: relative; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 2rem; position: relative; }

/* ---------- Page Banner ---------- */
.page-banner {
  position: relative;
  overflow: hidden;
  background: #000F28 !important;
  min-height: 380px;
}
.page-banner::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: transparent !important;
  z-index: 0;
}
.breadcrumb-apex {
  background: transparent; padding: 0; margin-bottom: 1rem;
}
.breadcrumb-apex .breadcrumb-item,
.breadcrumb-apex .breadcrumb-item a { color: rgba(255,255,255,0.7); font-size: 0.85rem; }
.breadcrumb-apex .breadcrumb-item.active { color: var(--blue-light); }
.breadcrumb-apex .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ---------- Footer ---------- */
.apex-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.75);
  padding-top: 4.5rem;
  position: relative;
}
.apex-footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-btn);
}
.apex-footer h5 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}
.apex-footer a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  display: block;
  padding: 0.3rem 0;
  transition: all var(--transition);
}
.apex-footer a:hover { color: var(--blue-light); padding-left: 4px; }
.footer-brand img {
  height: 64px;
  margin-bottom: 1rem;
  background: transparent;
  padding: 0;
  border-radius: 0;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.35));
}
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-social { display: flex; align-items: center; gap: 1.15rem; margin-top: 1.4rem; }
.footer-social a {
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.footer-social a:hover {
  background: none;
  color: var(--white);
  padding-left: 0;
  transform: translateY(-3px) scale(1.08);
  opacity: 0.9;
}
.footer-social .apex-ico {
  width: 32px !important;
  height: 32px !important;
  display: block;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 3rem;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  text-align: center;
}

/* ---------- Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Detail pages ---------- */
.detail-content h2 { font-size: 1.5rem; margin: 2rem 0 1rem; }
.detail-content p { color: var(--gray-600); margin-bottom: 1rem; }
.feature-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.feature-check {
  display: flex; align-items: center; gap: 0.75rem;
  background: var(--blue-soft);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 600; font-size: 0.9rem; color: var(--navy);
}
.feature-check i { color: var(--blue); font-size: 1.1rem; }

.sidebar-box {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--gray-200);
  margin-bottom: 1.5rem;
}
.sidebar-box h4 { font-size: 1.05rem; margin-bottom: 1rem; }
.sidebar-box .list-group-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--gray-200);
  padding: 0.75rem 0;
  font-weight: 600; font-size: 0.9rem; color: var(--navy);
}
.sidebar-box .list-group-item:hover { color: var(--blue); }
.sidebar-cta {
  background: var(--gradient);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}
.sidebar-cta h4 { color: var(--white); margin-bottom: 0.75rem; }
.sidebar-cta p { opacity: 0.85; font-size: 0.9rem; }

/* ---------- Alerts ---------- */
.alert-apex {
  border-radius: var(--radius);
  border: none;
  padding: 1rem 1.25rem;
}
.alert-apex-success { background: #ECFDF5; color: #065F46; }
.alert-apex-error { background: #FEF2F2; color: #991B1B; }

/* ---------- 404 ---------- */
.error-page {
  min-height: 80vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 6rem 1rem;
}
.error-page h1 {
  font-size: 6rem;
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .hero { min-height: auto; padding: 7rem 0 4rem; }
  .hero-bg { background-position: center center; }
  .hero-copy { padding: 0; }
  .about-stats-float { right: 1rem; bottom: 1rem; }
  .about-image-wrap img { height: 360px; }
  .section { padding: 4.5rem 0; }
}

@media (max-width: 575.98px) {
  .hero h1 { font-size: 1.9rem; }
  .hero-sub { font-size: 1rem; }
  .hero-trust { gap: 0.45rem 1rem; }
  .hero-trust li { font-size: 0.8rem; }
  .counter-item .counter-num { font-size: 2rem; }
  .btn-apex, .btn-apex-outline { width: 100%; justify-content: center; }
}
