/* Ranknix Online - Modern Light Theme & Animations */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary-blue: #0284c7;
  --royal-blue: #2563eb;
  --accent-cyan: #06b6d4;
  --accent-purple: #7c3aed;
  --bg-light: #ffffff;
  --bg-soft: #f8fafc;
  --card-bg: #ffffff;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #ffffff;
  color: #1e293b;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Outfit', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Logo Tagline Gradient Styling */
.logo-agency-text {
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.26em;
  white-space: nowrap;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Clean White Card Shadows & Micro-Interactions */
.clean-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.clean-card:hover {
  transform: translateY(-6px);
  border-color: #93c5fd;
  box-shadow: 0 20px 35px -5px rgba(37, 99, 235, 0.12), 0 10px 15px -3px rgba(37, 99, 235, 0.06);
}

/* Hero Technology & Service Pills */
.hero-tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-tech-pill:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

/* Service Card Tag Pills */
.service-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
}

.service-pill:hover {
  background: #eff6ff;
  color: #2563eb;
  border-color: #bfdbfe;
}

/* Gradient Text */
.text-gradient-blue {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-marketing {
  background: linear-gradient(135deg, #7c3aed 0%, #2563eb 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-automation {
  background: linear-gradient(135deg, #d97706 0%, #2563eb 50%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Background Soft Ambient Blobs */
.blob-blue {
  position: absolute;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

.blob-purple {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

/* Floating Animation */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes floatReverse {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(10px);
  }
}

.animate-float {
  animation: floatSlow 4s ease-in-out infinite;
}

.animate-float-reverse {
  animation: floatReverse 5s ease-in-out infinite;
}

/* Seamless Infinite Marquee Ticker (Never stops, never leaves blank gaps) */
.marquee-wrapper {
  display: flex;
  overflow: hidden;
  width: 100%;
  user-select: none;
}

.marquee-content {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  white-space: nowrap;
  animation: scrollInfinite 42s linear infinite;
  will-change: transform;
}

.marquee-wrapper:hover .marquee-content {
  animation-play-state: paused;
}

@keyframes scrollInfinite {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scrollInfiniteReverse {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}

/* WhatsApp Button Pulse */
.whatsapp-pulse {
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Button Shimmer */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transform: rotate(30deg);
  transition: transform 0.8s;
}

.btn-shimmer:hover::after {
  transform: translate(100%, 100%) rotate(30deg);
}

/* Smooth FAQ Accordion */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, padding 0.3s ease;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.faq-content.active {
  max-height: 400px;
  opacity: 1;
  padding-bottom: 1.25rem;
}

/* Glassmorphism Navigation */
.glass-nav-light {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

/* Centered Sleek Nav Links (Slim, Non-Colliding & Responsive) */
.nav-link-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #334155;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}

@media (min-width: 1280px) {
  .nav-link-item {
    padding: 4px 7.5px;
    font-size: 11.5px;
    gap: 5px;
  }
}

@media (min-width: 1440px) {
  .nav-link-item {
    padding: 5px 9px;
    font-size: 12px;
    gap: 5px;
  }
}

.nav-link-item:hover {
  color: #2563eb;
  background: #f1f5f9;
  transform: translateY(-1px);
}

.nav-link-item i {
  font-size: 10px;
  transition: transform 0.2s ease;
}

.nav-link-item:hover i {
  transform: scale(1.12);
}


/* Image Frames */
.founder-frame {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.18);
}

.founder-frame::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #38bdf8, #3b82f6, #6366f1);
  border-radius: 1.6rem;
  z-index: -1;
}

/* Section Header Badges */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.badge-dev {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.badge-marketing {
  background: #fdf4ff;
  color: #86198f;
  border: 1px solid #f5d0fe;
}

.badge-automation {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

/* Country Matrix & Regional Pills (Clean Light Theme) */
.country-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
  white-space: nowrap;
}

.country-pill:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.1);
}

.country-code {
  font-size: 9.5px;
  font-weight: 900;
  color: #94a3b8;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.country-pill:hover .country-code {
  color: #2563eb;
}

/* Highlighted Pakistan (HQ) Badge */
.country-pill-highlighted {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #0284c7 100%);
  border: 1px solid #1e40af;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 800;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
  cursor: default;
  white-space: nowrap;
  animation: gentlePulse 3s ease-in-out infinite;
}

@keyframes gentlePulse {
  0%, 100% {
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.45);
  }
}

