/* ============================================
   MARKIT Angola — Premium Tech Identity v3
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --navy: #0a1628;
  --navy-light: #111d35;
  --navy-mid: #162040;
  --blue-electric: #2d7ff9;
  --blue-bright: #4d9aff;
  --blue-sky: #7ab8ff;
  --blue-pale: #c2dcff;
  --blue-ghost: #e8f1ff;
  --blue-wash: #f0f6ff;
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --white: #ffffff;
  --off-white: #f8fafd;
  --gray-50: #f1f5f9;
  --gray-100: #e2e8f0;
  --gray-200: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 100px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

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

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--gray-800);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  color: var(--gray-800);
}

section {
  padding: 120px 0;
  position: relative;
}

img {
  max-width: 100%;
}

a {
  transition: all 0.3s var(--ease);
}

/* ── Navbar — Always White Modern ────────── */
.navbar {
  padding: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(45, 127, 249, 0.08);
  box-shadow: 0 1px 20px rgba(10, 22, 40, 0.04);
  transition: all 0.4s var(--ease);
  z-index: 9999;
}

.navbar .container {
  padding-top: 16px;
  padding-bottom: 16px;
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(10, 22, 40, 0.07);
}

.navbar.scrolled .container {
  padding-top: 12px;
  padding-bottom: 12px;
}

.navbar .nav-link {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--gray-600) !important;
  padding: 8px 16px !important;
  border-radius: var(--radius-pill);
  transition: all 0.3s var(--ease);
}

.navbar .nav-link:hover {
  color: var(--blue-electric) !important;
  background: var(--blue-wash);
}

.navbar .nav-link.active {
  color: var(--blue-electric) !important;
  background: var(--blue-ghost);
}

.navbar-toggler {
  border: none !important;
  box-shadow: none !important;
}

/* ── Buttons ────────────────────────────── */
.btn-mk {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  text-decoration: none !important;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.btn-mk-primary {
  background: linear-gradient(135deg, var(--blue-electric), var(--blue-bright));
  color: #fff !important;
  box-shadow: 0 8px 30px rgba(45, 127, 249, 0.35);
}

.btn-mk-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(45, 127, 249, 0.45);
}

.btn-mk-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
  opacity: 0;
  transition: opacity 0.35s;
  border-radius: inherit;
}

.btn-mk-primary:hover::before {
  opacity: 1;
}

.btn-mk-primary span,
.btn-mk-primary i {
  position: relative;
  z-index: 1;
}

.btn-mk-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.btn-mk-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
}

.btn-mk-outline {
  background: transparent;
  color: var(--blue-electric) !important;
  border: 2px solid var(--blue-electric);
}

.btn-mk-outline:hover {
  background: var(--blue-electric);
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(45, 127, 249, 0.3);
}

.btn-mk-white {
  background: #fff;
  color: var(--navy) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn-mk-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ── Hero — Cinematic ──────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(45, 127, 249, 0.15), transparent),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(139, 92, 246, 0.08), transparent),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(34, 211, 238, 0.06), transparent),
    var(--navy);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(45, 127, 249, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 127, 249, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(45, 127, 249, 0.2);
  top: -10%;
  right: 10%;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(139, 92, 246, 0.15);
  bottom: 10%;
  left: 5%;
  animation-delay: -3s;
}

.hero-orb-3 {
  width: 200px;
  height: 200px;
  background: rgba(34, 211, 238, 0.12);
  top: 40%;
  right: -5%;
  animation-delay: -5s;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(20px, -30px) scale(1.05);
  }

  66% {
    transform: translate(-15px, 15px) scale(0.95);
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background: rgba(45, 127, 249, 0.1);
  border: 1px solid rgba(45, 127, 249, 0.2);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-sky);
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
}

.hero-tag .pulse {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 12px var(--cyan);
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(1.5);
  }
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--gray-400);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-img-wrap {
  position: relative;
  display: inline-block;
}

/* ── Primary glow (blue core) ── */
.hero-img-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  background: radial-gradient(circle, rgba(45, 127, 249, 0.25), transparent 65%);
  filter: blur(50px);
  z-index: 0;
  animation: glowPulse 4s ease-in-out infinite;
}

/* ── Secondary glow (cyan accent) ── */
.hero-img-wrap::before {
  content: '';
  position: absolute;
  top: 30%;
  right: -8%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.2), transparent 65%);
  filter: blur(45px);
  z-index: 0;
  animation: glowPulse 5s ease-in-out 1s infinite;
}

/* ── Tertiary glow (purple accent) ── */
.hero-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: -5%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.15), transparent 65%);
  filter: blur(40px);
  z-index: 0;
  animation: glowPulse 6s ease-in-out 2s infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

.hero-img-wrap img {
  position: relative;
  z-index: 1;
  border-radius: 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(45, 127, 249, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: heroFloat 6s ease-in-out infinite;
  background: rgba(10, 22, 40, 0.4);
  backdrop-filter: blur(2px);
}

@keyframes heroFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-16px);
  }
}

/* ── Section Headings ───────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--blue-electric);
  margin-bottom: 20px;
}

.section-tag::before {
  content: '';
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-electric), var(--cyan));
  border-radius: 2px;
}

.section-heading {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.08rem;
  color: var(--gray-500);
  max-width: 540px;
}

/* ── Service Cards — Elevated ──────────── */
.svc-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.svc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-electric), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.svc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(45, 127, 249, 0.12);
  border-color: rgba(45, 127, 249, 0.15);
}

.svc-card:hover::before {
  transform: scaleX(1);
}

.svc-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 28px;
  transition: all 0.3s var(--ease);
}

.svc-icon.blue {
  background: var(--blue-ghost);
  color: var(--blue-electric);
}

.svc-icon.violet {
  background: #ede9fe;
  color: var(--violet);
}

.svc-card:hover .svc-icon {
  transform: scale(1.15) rotate(-5deg);
}

.svc-card h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.svc-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.svc-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--blue-electric);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.svc-link i {
  transition: transform 0.3s;
}

.svc-link:hover i {
  transform: translateX(4px);
}

/* ── Portfolio — Card Grid ────────────── */
.bento-link {
  text-decoration: none !important;
  color: inherit;
}

.bento-link:hover {
  color: inherit;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  height: 420px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.bento-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(45, 127, 249, 0.25);
}

.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.bento-item:hover img {
  transform: scale(1.1);
}

.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      transparent 35%,
      rgba(10, 22, 40, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.bento-item:hover .bento-overlay {
  opacity: 1;
}

.bento-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(45, 127, 249, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
  width: fit-content;
}

.bento-overlay h4 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 8px;
  font-weight: 700;
  line-height: 1.3;
}

.bento-overlay p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.5;
}

/* Gallery icon indicator */
.bento-item::after {
  content: '';
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white' width='18'%3E%3Cpath d='M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px;
}

.bento-item:hover::after {
  opacity: 1;
}

@media (max-width: 991px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .bento-item {
    height: 350px;
  }
}

@media (max-width: 576px) {
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .bento-item {
    height: 320px;
  }
}

/* ── Partner Section ────────────────────── */
.partner-block {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 64px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(10, 22, 40, 0.05);
}

.partner-block::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-electric), var(--cyan));
  border-radius: 0 0 4px 4px;
}

.partner-logo-box {
  width: 200px;
  height: 90px;
  margin: 0 auto 32px;
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-wash);
  color: var(--gray-400);
  font-size: 0.82rem;
  font-weight: 600;
}

.partner-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.partner-sep {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-electric), var(--cyan));
  border-radius: 3px;
  margin: 24px auto;
}

.partner-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

.pf-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--blue-wash);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-800);
}

.pf-item i {
  color: var(--blue-electric);
}

/* ── Testimonials ───────────────────────── */
.testi-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s var(--ease);
}

.testi-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(45, 127, 249, 0.15);
  transform: translateY(-4px);
}

.testi-card .quote-mark {
  font-size: 3rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue-electric), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: Georgia, serif;
  margin-bottom: 16px;
}

.testi-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(45, 127, 249, 0.3);
}

/* ── CTA Box ────────────────────────────── */
.cta-block {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius-xl);
  padding: 72px 64px;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(45, 127, 249, 0.12), transparent 70%);
  top: -40%;
  right: -10%;
}

.cta-block::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.08), transparent 70%);
  bottom: -30%;
  left: 10%;
}

/* ── Footer ─────────────────────────────── */
.mk-footer {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 48px 0;
}

.mk-footer a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
}

.mk-footer a:hover {
  color: var(--blue-bright);
}

.mk-footer .copy {
  color: #ffffff !important;
  font-size: 0.8rem;
  opacity: 0.9;
}

/* ── Stats ──────────────────────────────── */
.stat-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-electric), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray-400);
}

/* ── Dark section ───────────────────────── */
.bg-navy {
  background: var(--navy);
}

/* ── Team ───────────────────────────────── */
.team-photo {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 3 / 4;
  border: 2px solid rgba(45, 127, 249, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s var(--ease);
}

.team-photo:hover img {
  transform: scale(1.04);
}

.team-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-electric);
}

/* ── Value Cards ────────────────────────── */
.val-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  text-align: center;
  transition: all 0.4s var(--ease);
}

.val-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(45, 127, 249, 0.1);
  border-color: rgba(45, 127, 249, 0.15);
}

.val-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: var(--blue-ghost);
  color: var(--blue-electric);
  margin: 0 auto 24px;
  transition: all 0.3s var(--ease);
}

.val-card:hover .val-icon {
  background: var(--blue-electric);
  color: #fff;
  transform: scale(1.1) rotate(-5deg);
}

/* ── Animations ─────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--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;
}

@media (max-width: 768px) {
  section {
    padding: 80px 0;
  }

  .cta-block {
    padding: 48px 24px;
  }

  .partner-block {
    padding: 40px 24px;
  }

  .hero {
    padding-top: 80px;
    min-height: auto;
    padding-bottom: 60px;
  }
}