/* ============================================
   OMNEXA AI - Global Styles & Variables
   ============================================ */

:root {
  /* Primary Brand Colors - New Brand Colors from Logo */
  --deep-blue: #282973;
  --electric-cyan: #3D3E94;
  --vibrant-purple: #282973;
  --magenta-pink: #FDB81E;
  --bright-red: #282973;
  --brand-orange: #FDB81E;
  --gold-yellow: #FFD966;
  --brand-green: #FDB81E;
  --navy-blue: #1E1E5A;

  /* Legacy Colors (for compatibility) */
  --primary-blue: #282973;
  --accent-orange: #FDB81E;
  --purple-violet: #282973;
  --accent-green: #FDB81E;

  /* UI Colors */
  --background: #F8FAFF;
  --text-dark: #111827;
  --text-gray: #6B7280;
  --card-bg: rgba(255, 255, 255, 0.85);
  --footer-bg: #0A0F1E;

  /* Gradients - Updated to brand colors */
  --gradient-primary: linear-gradient(135deg, #282973, #FDB81E);
  --gradient-secondary: linear-gradient(135deg, #282973, #3D3E94, #FDB81E);
  --gradient-brand: linear-gradient(135deg, #282973, #FDB81E, #FFD966, #282973);
  --gradient-light: linear-gradient(135deg, rgba(40, 41, 115, 0.08), rgba(253, 184, 30, 0.08));
  --gradient-glow: linear-gradient(135deg, #FDB81E, #282973, #3D3E94);

  /* Shadows - Updated to brand colors */
  --shadow-sm: 0 2px 8px rgba(40, 41, 115, 0.08);
  --shadow-md: 0 4px 16px rgba(40, 41, 115, 0.12);
  --shadow-lg: 0 8px 32px rgba(40, 41, 115, 0.16);
  --shadow-glow: 0 0 20px rgba(253, 184, 30, 0.3);
  --shadow-glow-orange: 0 0 20px rgba(253, 184, 30, 0.3);
  --shadow-glow-purple: 0 0 20px rgba(40, 41, 115, 0.3);
  --shadow-glow-cyan: 0 0 20px rgba(61, 62, 148, 0.3);
  --shadow-glow-pink: 0 0 20px rgba(40, 41, 115, 0.2);
  --shadow-glow-red: 0 0 20px rgba(40, 41, 115, 0.2);
  --shadow-glow-green: 0 0 20px rgba(253, 184, 30, 0.3);

  /* Animation Variables */
  --scroll: 0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  background-color: #F8FAFF;
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Universal section background - matches hero #F8FAFF throughout all pages */
section:not(.hero-section):not(.cta-section):not(.footer):not(.footer-cosmic) {
  background: transparent !important;
}

/* Global Fixed Particles Background */
#particles-js {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100vw !important;
  height: 100vh !important;
  z-index: -1 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

/* Make all page sections transparent so fixed particles background is visible */
section,
.hero-section,
.services-section,
.comparison-section,
.process-section,
.counter-section,
.testimonials-section,
.why-created,
.what-makes-different,
.our-mission,
.services-snapshot,
.our-office,
.our-approach,
.blog-content,
.blog-detail {
  background: transparent !important;
}

/* Make CTA and footer semi-transparent so particles can shine through beautifully */
.cta-section {
  background: linear-gradient(135deg, rgba(40, 41, 115, 0.92), rgba(26, 27, 85, 0.92)) !important;
}

.footer,
.footer-cosmic {
  background: rgba(10, 15, 30, 0.92) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

/* ============================================
   Gradient Text
   ============================================ */

.gradient-text {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* ============================================
   Glassmorphism Cards
   ============================================ */

.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: left 0.6s ease;
}

.glass-card:hover::before {
  left: 100%;
}

.glass-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: rgba(40, 41, 115, 0.4);
}

/* Enhanced Glass Card with Glow */
.glass-card-glow {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.glass-card-glow::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(transparent,
      rgba(40, 41, 115, 0.1),
      transparent 30%);
  animation: rotate 4s linear infinite;
}

.glass-card-glow::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: var(--card-bg);
  border-radius: inherit;
  z-index: 1;
}

.glass-card-glow>* {
  position: relative;
  z-index: 2;
}

.glass-card-glow:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* ============================================
   Buttons
   ============================================ */

.btn-gradient {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden !important;
  z-index: 1;
  box-shadow: none;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.btn-gradient::-webkit-scrollbar {
  display: none !important;
}

.btn-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-secondary);
  z-index: -1;
  transition: opacity 0.4s ease;
  opacity: 0;
}

.btn-gradient::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-gradient:hover::before {
  opacity: 1;
}

.btn-gradient:hover::after {
  width: 300px;
  height: 300px;
}

.btn-gradient:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: none;
  color: white;
}

.btn-gradient:active {
  transform: translateY(-1px) scale(1.02);
}

.btn-outline-gradient {
  background: transparent;
  color: var(--deep-blue);
  border: 2px solid var(--deep-blue);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden !important;
  z-index: 1;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.btn-outline-gradient::-webkit-scrollbar {
  display: none !important;
}

.btn-outline-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  z-index: -1;
  transition: transform 0.4s ease;
  transform: scaleX(0);
  transform-origin: left;
}

.btn-outline-gradient:hover::before {
  transform: scaleX(1);
}

.btn-outline-gradient:hover {
  border-color: transparent;
  color: white;
  transform: translateY(-3px) scale(1.05);
  box-shadow: none;
}

.btn-outline-gradient:active {
  transform: translateY(-1px) scale(1.02);
}

/* Button Ripple Effect */
.btn-ripple {
  position: relative;
  overflow: hidden;
}

.btn-ripple .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Button Glow Pulse */
@keyframes buttonGlow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(40, 41, 115, 0.4),
      0 0 40px rgba(40, 41, 115, 0.2),
      0 0 60px rgba(40, 41, 115, 0.1);
  }

  50% {
    box-shadow: 0 0 30px rgba(40, 41, 115, 0.6),
      0 0 60px rgba(40, 41, 115, 0.4),
      0 0 90px rgba(40, 41, 115, 0.2);
  }
}

.btn-glow-pulse {
  animation: buttonGlow 2s ease-in-out infinite;
}

/* ============================================
   Navbar
   ============================================ */

.navbar {
  padding: 15px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
  animation: navbarSlide 0.8s ease forwards;
}

@keyframes navbarSlide {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

.navbar-brand {
  font-family: 'Exo 2', sans-serif;
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--deep-blue) !important;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.navbar-brand img {
  height: 130px;
  width: 130px;
  max-width: none;
  object-fit: contain;
  background: transparent;
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: rotate(5deg);
}

.nav-link {
  font-weight: 600;
  color: var(--text-dark) !important;
  margin: 0 8px;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 0;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 100%;
}

.nav-link:hover {
  color: var(--deep-blue) !important;
  transform: translateY(-2px);
}

.nav-link.active {
  color: var(--deep-blue) !important;
}

/* Navbar Toggler Animation */
.navbar-toggler {
  border: none;
  padding: 8px;
  transition: all 0.3s ease;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.navbar-toggler-icon {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  transform: rotate(90deg);
}

/* ============================================
   Hero Section
   ============================================ */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(248, 250, 255, 0.95), rgba(255, 255, 255, 0.9));
}

/* Animated Background Orbs */
.hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(40, 41, 115, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatOrb 15s ease-in-out infinite;
  z-index: 0;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(157, 0, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatOrb 12s ease-in-out infinite reverse;
  z-index: 0;
}

#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.neural-network-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.15;
  pointer-events: none;
}

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  animation: textReveal 1s ease forwards;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-gray);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: textReveal 1s ease 0.3s forwards;
  opacity: 0;
}

/* Enhanced Typewriter Effect */
.typewriter {
  overflow: hidden;
  border-right: 3px solid var(--deep-blue);
  white-space: nowrap;
  animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from {
    width: 0
  }

  to {
    width: 100%
  }
}

@keyframes blink-caret {

  from,
  to {
    border-color: transparent
  }

  50% {
    border-color: var(--deep-blue)
  }
}

/* Enhanced Floating Badges */
.floating-badges {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

.floating-badge {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--deep-blue);
  box-shadow: var(--shadow-sm);
  animation: float 3s ease-in-out infinite;
  border: 1px solid rgba(40, 41, 115, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.floating-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.floating-badge:hover::before {
  left: 100%;
}

.floating-badge:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: var(--shadow-glow);
}

.floating-badge:nth-child(2) {
  animation-delay: 0.5s;
  color: var(--brand-orange);
  border-color: rgba(157, 0, 255, 0.2);
}

.floating-badge:nth-child(3) {
  animation-delay: 1s;
  color: var(--magenta-pink);
  border-color: rgba(255, 0, 127, 0.2);
}

.floating-badge:nth-child(4) {
  animation-delay: 1.5s;
  color: var(--brand-orange);
  border-color: rgba(255, 140, 0, 0.2);
}

.floating-badge:nth-child(5) {
  animation-delay: 2s;
  color: var(--brand-green);
  border-color: rgba(40, 199, 111, 0.2);
}

@keyframes float {

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

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   Section Styles
   ============================================ */

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

.section-title {
  font-size: 2.8rem;
  margin-bottom: 20px;
  text-align: center;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-gray);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

/* ============================================
   Service Card V2 — Exact Match to Video
   Image fills card, white panel slides up on hover
   ============================================ */

.service-card-v2 {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 360px;
  cursor: pointer;
  border: 1.5px solid rgba(40, 41, 115, 0.12);
  box-shadow: none;
  background: #ffffff;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.4s ease;
}

.service-card-v2:hover {
  transform: translateY(-8px);
  box-shadow: none;
  border-color: rgba(40, 41, 115, 0.3);
}

/* Background image — fills entire card */
.sc-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  /* Image takes up the full card height */
  bottom: 0;
  background-size: cover;
  background-position: center top;
  transform: scale(1.04);
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-v2:hover .sc-bg-image {
  transform: scale(1);
}

/* sc-overlay not used in this design */
.sc-overlay {
  display: none;
}

/* No pseudo background */
.service-card-v2::before {
  display: none;
}

/* No top accent bar */
.service-card-v2::after {
  display: none;
}

/* sc-content hidden — we don't use the old layout */
.sc-content {
  display: none;
}

.sc-default {
  display: none;
}

.sc-icon {
  display: none;
}

/* White info panel — slides up from BELOW the card on hover */
.sc-hover-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  padding: 20px 20px 22px 22px;
  transform: translateY(100%);
  transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(40, 41, 115, 0.08);
}

.service-card-v2:hover .sc-hover-content {
  transform: translateY(0);
}

/* Left side: title + description */
.sc-hover-content .sc-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.sc-hover-content h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
  line-height: 1.35;
}

.sc-hover-content p {
  font-size: 0.82rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Circular arrow button on the right */
.sc-learn-more {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #282973;
  color: #ffffff !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 14px rgba(40, 41, 115, 0.35);
}

.sc-learn-more:hover {
  background: #FDB81E;
  transform: scale(1.12);
  box-shadow: 0 6px 20px rgba(253, 184, 30, 0.45);
}

/* Hide the "Learn More" text — only show arrow */
.sc-learn-more span {
  display: none;
}

.sc-learn-more i {
  transition: transform 0.3s ease;
}

.sc-learn-more:hover i {
  transform: translateX(2px);
}



/* ============================================
   Service Cards (legacy — kept for compatibility)
   ============================================ */

.service-card {
  padding: 40px 30px;
  text-align: center;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  box-shadow: none !important;
  background: #ffffff !important;
  border: 1.5px solid rgba(40, 41, 115, 0.15) !important;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.service-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(40, 41, 115, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-12px) rotateX(5deg);
  box-shadow: none !important;
  border-color: rgba(40, 41, 115, 0.5) !important;
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: var(--gradient-light);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--deep-blue);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.service-icon::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.service-card:hover .service-icon {
  background: var(--gradient-primary);
  color: white;
  transform: scale(1.15) rotate(5deg);
  box-shadow: var(--shadow-glow);
}

.service-card:hover .service-icon::before {
  opacity: 0.3;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--text-dark);
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
}

.service-card:hover h3 {
  color: var(--deep-blue);
}

.service-card p {
  color: var(--text-gray);
  font-size: 1rem;
  margin-bottom: 20px;
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
}

.service-card:hover p {
  color: var(--text-dark);
}

.service-card .learn-more {
  color: var(--deep-blue);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.service-card .learn-more i {
  transition: transform 0.3s ease;
}

.service-card:hover .learn-more {
  gap: 12px;
  color: var(--brand-orange);
}

.service-card:hover .learn-more i {
  transform: translateX(5px);
}

/* ============================================
   Solutions Page / Industry Cards
   ============================================ */

.industry-card,
.common-system .glass-card,
.results-snapshot .glass-card,
.common-results .glass-card,
.what-makes-different .glass-card,
.our-mission .glass-card,
.services-snapshot .glass-card,
.why-join-us .glass-card {
  box-shadow: none !important;
  background: #ffffff !important;
  border: 1.5px solid rgba(40, 41, 115, 0.15) !important;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.industry-card:hover,
.common-system .glass-card:hover,
.results-snapshot .glass-card:hover,
.common-results .glass-card:hover,
.what-makes-different .glass-card:hover,
.our-mission .glass-card:hover,
.services-snapshot .glass-card:hover,
.why-join-us .glass-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: none !important;
  border-color: rgba(40, 41, 115, 0.5) !important;
}

/* ============================================
   Solutions Page - Vertical Tab Layout
   ============================================ */

.solutions-tabs-section {
  padding: 80px 0;
  background: #F8FAFF;
  position: relative;
  overflow: hidden;
}

.solutions-sidebar-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 8px 6px !important;
  transition: all 0.3s ease;
}

.solutions-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.solutions-nav .nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #ffffff !important;
  color: #1a1a2e;
  border: 1.5px solid rgba(40, 41, 115, 0.08) !important;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
  box-shadow: 0 4px 12px rgba(40, 41, 115, 0.02) !important;
}

.solutions-nav .nav-link .arrow-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  margin-left: auto;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.solutions-nav .nav-link .arrow-icon {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  font-size: 0.8rem;
  color: #555577;
  transition: all 0.3s ease;
  display: block;
}

.solutions-nav .nav-link .arrow-icon::before {
  content: "\f078" !important;
  /* fa-chevron-down */
}

/* Hover State */
.solutions-nav .nav-link:hover {
  border-color: rgba(40, 41, 115, 0.25) !important;
  box-shadow: 0 6px 18px rgba(40, 41, 115, 0.06) !important;
  color: #282973;
}

.solutions-nav .nav-link:hover .arrow-container {
  background: rgba(40, 41, 115, 0.05);
}

/* Active State */
.solutions-nav .nav-link.active {
  border-color: #282973 !important;
  color: #282973 !important;
  box-shadow: 0 8px 24px rgba(40, 41, 115, 0.08) !important;
}

.solutions-nav .nav-link.active .arrow-container {
  background: #282973 !important;
  box-shadow: 0 2px 8px rgba(40, 41, 115, 0.2);
}

.solutions-nav .nav-link.active .arrow-icon {
  color: #ffffff !important;
}

.solutions-nav .nav-link.active .arrow-icon::before {
  content: "\f054" !important;
  /* fa-chevron-right */
}


/* Content Area styling */
.solutions-detail-card {
  background: #ffffff !important;
  border: 1.5px solid rgba(40, 41, 115, 0.12) !important;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(40, 41, 115, 0.05) !important;
  transition: all 0.4s ease;
}

.solutions-detail-card h2 {
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.solutions-detail-card h2 i {
  color: #282973;
}

.solutions-detail-card h5 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-top: 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Custom premium list item styles */
.solutions-detail-card ul,
.solutions-detail-card ol {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.solutions-detail-card li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Bullet item icons */
.solutions-detail-card ul li::before {
  content: "\f00c";
  /* check icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 3px;
  color: #282973;
  /* Brand Navy */
  font-size: 0.9rem;
}

/* Numbered step list styles */
.solutions-detail-card ol {
  counter-reset: steps-counter;
}

.solutions-detail-card ol li {
  counter-increment: steps-counter;
}

.solutions-detail-card ol li::before {
  content: counter(steps-counter);
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  background: rgba(40, 41, 115, 0.08);
  color: #282973;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Media Queries for responsive vertical tabs */
@media (max-width: 767.98px) {
  .solutions-sidebar-card {
    position: relative;
    top: 0;
    margin-bottom: 20px;
  }

  .solutions-nav {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    overflow-x: visible !important;
    padding: 0 !important;
    gap: 10px !important;
  }

  .solutions-nav .nav-link {
    width: 100% !important;
    display: flex !important;
    padding: 14px 18px !important;
    margin-bottom: 0 !important;
    font-size: 0.95rem !important;
    white-space: normal !important;
  }

  .solutions-nav .nav-link .arrow-container {
    display: flex !important;
  }

  .solutions-detail-card {
    padding: 24px 20px !important;
    border-radius: 20px !important;
  }

  .solutions-detail-card h2 {
    font-size: 1.45rem !important;
    margin-bottom: 15px !important;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .solutions-detail-card h2 i {
    font-size: 1.25rem !important;
  }

  .solutions-detail-card h5 {
    font-size: 1.05rem !important;
    margin-top: 15px !important;
    margin-bottom: 10px !important;
  }

  .solutions-detail-card li {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    margin-bottom: 10px !important;
    padding-left: 24px !important;
  }

  .solutions-detail-card ul li::before {
    font-size: 0.8rem !important;
    top: 2px !important;
  }

  .solutions-detail-card ol li::before {
    width: 18px !important;
    height: 18px !important;
    font-size: 0.7rem !important;
    top: 2px !important;
  }
}

@media (min-width: 768px) {
  .solutions-tabs-section .row {
    display: flex;
    align-items: stretch;
  }

  .solutions-tabs-section .col-lg-3,
  .solutions-tabs-section .col-lg-9,
  .solutions-tabs-section .col-md-4,
  .solutions-tabs-section .col-md-8 {
    display: flex;
    flex-direction: column;
  }

  .solutions-sidebar-card {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .solutions-tabs-section .tab-content {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .solutions-tabs-section .tab-pane {
    height: 100%;
  }

  .solutions-tabs-section .tab-pane.active {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }

  .solutions-detail-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }
}



/* ============================================
   Comparison Table
   ============================================ */

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(40, 41, 115, 0.15);
  background: #2a2b72;
  /* Rich vibrant brand navy solid fallback */
  background: rgba(40, 41, 115, 0.82);
  /* Elegant glassmorphic brand navy, lighter and softer */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(253, 184, 30, 0.25);
  /* Gold border highlight */
}

.comparison-table th,
.comparison-table td {
  padding: 20px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
}

.comparison-table th {
  background: linear-gradient(135deg, rgba(61, 62, 148, 0.9), rgba(40, 41, 115, 0.9));
  color: #FDB81E;
  /* Gold header text */
  font-weight: 700;
  font-size: 1.25rem;
}

.comparison-table th:first-child {
  background: rgba(61, 62, 148, 0.9);
  color: #FDB81E;
}

/* Alternating Row Styles for Comparison Table Body */
.comparison-table tbody tr:nth-child(odd) td {
  background-color: #ffffff !important;
  color: #d49514 !important;
  /* Premium rich gold for readability on white bg */
  border-bottom: 1px solid rgba(253, 184, 30, 0.15);
}

.comparison-table tbody tr:nth-child(odd) td strong,
.comparison-table tbody tr:nth-child(odd) td span,
.comparison-table tbody tr:nth-child(odd) .omnexa-highlight {
  color: #d49514 !important;
}

.comparison-table tbody tr:nth-child(odd) .omnexa-highlight::before {
  color: #d49514 !important;
}

.comparison-table tbody tr:nth-child(odd):hover td {
  background-color: #f7f9fc !important;
  /* Subtle hover gray on white */
}

.comparison-table tbody tr:nth-child(even) td {
  background-color: #FDB81E !important;
  color: #ffffff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.comparison-table tbody tr:nth-child(even) td strong,
.comparison-table tbody tr:nth-child(even) td span,
.comparison-table tbody tr:nth-child(even) .omnexa-highlight {
  color: #ffffff !important;
}

.comparison-table tbody tr:nth-child(even) .omnexa-highlight::before {
  color: #ffffff !important;
}

.comparison-table tbody tr:nth-child(even):hover td {
  background-color: #282973 !important;
  /* Subtle hover gold on gold */
}

.comparison-table tr:last-child td {
  border-bottom: none !important;
}

.comparison-table .omnexa-highlight {
  font-weight: 600;
}

.comparison-table .omnexa-highlight::before {
  content: '✓';
  font-weight: 900;
  margin-right: 8px;
}

/* ============================================
   Process Steps
   ============================================ */

.process-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  width: 80%;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 0;
}

.step-card {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 30px 20px;
}

.step-number {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  color: white;
  box-shadow: var(--shadow-glow);
  position: relative;
}

.step-number::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid var(--deep-blue);
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 1;
  }

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

.step-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.step-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

/* ============================================
   Counter Stats
   ============================================ */

.counter-section {
  background: #F8FAFF;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.counter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(40, 41, 115, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(157, 0, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.stat-card {
  text-align: center;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: none !important;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.stat-card:hover::before {
  width: 300px;
  height: 300px;
}

.stat-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: none !important;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  display: block;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.stat-card:hover .stat-number {
  transform: scale(1.1);
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-gray);
  font-weight: 600;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.stat-card:hover .stat-label {
  color: var(--deep-blue);
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
  background: var(--gradient-secondary);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
}

.cta-content h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  animation: textReveal 1s ease forwards;
}

.cta-content p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.95;
  animation: textReveal 1s ease 0.2s forwards;
  opacity: 0;
}

.cta-content .btn-gradient {
  background: white;
  color: var(--deep-blue);
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.cta-content .btn-gradient::before {
  background: var(--gradient-primary);
}

.cta-content .btn-gradient:hover {
  color: white;
  transform: translateY(-5px) scale(1.05);
  box-shadow: none;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.footer {
  background: var(--footer-bg);
  color: white;
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to top, rgba(40, 41, 115, 0.05), transparent);
  pointer-events: none;
}

.footer-brand {
  margin-bottom: 30px;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.footer-logo {
  width: 130px;
  height: 130px;
  object-fit: contain;
  background: transparent;
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: rotate(10deg) scale(1.1);
}

.footer-brand h3 {
  font-size: 2rem;
  margin-bottom: 10px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

.footer h4 {
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
  animation: fadeInUp 0.8s ease 0.1s forwards;
  opacity: 0;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.footer h4:hover::after {
  width: 100%;
}

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

.footer-links li {
  margin-bottom: 12px;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.footer-links li:nth-child(1) {
  animation-delay: 0.2s;
}

.footer-links li:nth-child(2) {
  animation-delay: 0.3s;
}

.footer-links li:nth-child(3) {
  animation-delay: 0.4s;
}

.footer-links li:nth-child(4) {
  animation-delay: 0.5s;
}

.footer-links li:nth-child(5) {
  animation-delay: 0.6s;
}

.footer-links li:nth-child(6) {
  animation-delay: 0.7s;
}

.footer-links li:nth-child(7) {
  animation-delay: 0.8s;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.footer-links a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-links a:hover::before {
  width: 100%;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.7);
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.footer-contact-item:nth-child(1) {
  animation-delay: 0.2s;
}

.footer-contact-item:nth-child(2) {
  animation-delay: 0.3s;
}

.footer-contact-item:nth-child(3) {
  animation-delay: 0.4s;
}

.footer-contact-item i {
  color: var(--deep-blue);
  font-size: 1.2rem;
  margin-top: 3px;
  transition: transform 0.3s ease;
}

.footer-contact-item:hover i {
  transform: scale(1.2) rotate(10deg);
}

.footer-contact-link {
  text-decoration: none !important;
  color: inherit;
  display: block;
}

.footer-contact-link:hover .footer-contact-item {
  color: white;
}

.footer-contact-link:hover .footer-contact-item i {
  color: var(--brand-orange) !important;
  transform: scale(1.2) rotate(10deg);
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  animation: fadeInUp 0.8s ease 0.5s forwards;
  opacity: 0;
}

.social-icons a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.social-icons a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--gradient-primary);
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
  z-index: -1;
}

.social-icons a:hover::before {
  width: 100%;
  height: 100%;
}

.social-icons a:hover {
  transform: translateY(-8px) rotate(10deg);
  box-shadow: var(--shadow-glow);
}

.social-icons a:nth-child(1):hover {
  animation-delay: 0s;
}

.social-icons a:nth-child(2):hover {
  animation-delay: 0.1s;
}

.social-icons a:nth-child(3):hover {
  animation-delay: 0.2s;
}

.social-icons a:nth-child(4):hover {
  animation-delay: 0.3s;
}

.social-icons a:nth-child(5):hover {
  animation-delay: 0.4s;
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  animation: fadeInUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

/* ============================================
   Chatbot Widget
   ============================================ */

.chatbot-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.chatbot-button {
  width: 65px;
  height: 65px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: var(--shadow-lg), var(--shadow-glow),
      0 0 0 0 rgba(40, 41, 115, 0.4);
  }

  50% {
    box-shadow: var(--shadow-lg), 0 0 40px rgba(40, 41, 115, 0.6),
      0 0 0 15px rgba(40, 41, 115, 0);
  }
}

.chatbot-button:hover {
  transform: scale(1.15) rotate(10deg);
  box-shadow: var(--shadow-lg), 0 0 50px rgba(40, 41, 115, 0.8);
}

.chatbot-button::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid var(--deep-blue);
  animation: ring-pulse 2s ease-out infinite;
}

@keyframes ring-pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

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

.chatbot-button::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--brand-orange);
  animation: ring-pulse 2s ease-out infinite 0.5s;
}

.chatbot-popup {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 25px;
  display: none;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.chatbot-popup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
}

.chatbot-popup.active {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.chatbot-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  animation: slideDown 0.4s ease forwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chatbot-avatar {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  position: relative;
  animation: avatarPulse 2s ease-in-out infinite;
}

@keyframes avatarPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(40, 41, 115, 0.4);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(40, 41, 115, 0);
  }
}

.chatbot-avatar::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background: #28C76F;
  border-radius: 50%;
  bottom: 2px;
  right: 2px;
  border: 2px solid white;
}

.chatbot-info h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.chatbot-info p {
  font-size: 0.85rem;
  color: var(--text-gray);
}

.chatbot-messages {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 20px;
  padding-right: 10px;
}

.chatbot-messages::-webkit-scrollbar {
  width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 3px;
}

.chatbot-messages::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 3px;
}

.chatbot-message {
  background: var(--gradient-light);
  padding: 15px;
  border-radius: 15px;
  margin-bottom: 15px;
  font-size: 0.95rem;
  animation: messageSlide 0.4s ease forwards;
  position: relative;
}

@keyframes messageSlide {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

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

.chatbot-message::before {
  content: '';
  position: absolute;
  bottom: 8px;
  left: -6px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 8px solid rgba(40, 41, 115, 0.1);
}

.chatbot-input-group {
  display: flex;
  gap: 10px;
  animation: slideUp 0.4s ease 0.2s forwards;
  opacity: 0;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chatbot-input-group input {
  flex: 1;
  padding: 12px 20px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 25px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: var(--background);
}

.chatbot-input-group input:focus {
  outline: none;
  border-color: var(--deep-blue);
  box-shadow: 0 0 0 3px rgba(40, 41, 115, 0.1);
}

.chatbot-input-group button {
  width: 45px;
  height: 45px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-input-group button:hover {
  transform: scale(1.1) rotate(-10deg);
  box-shadow: var(--shadow-glow);
}

.chatbot-input-group button:active {
  transform: scale(0.95);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .process-steps {
    flex-direction: column;
  }

  .process-steps::before {
    display: none;
  }

  .comparison-table {
    font-size: 0.9rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 15px 10px;
  }

  .chatbot-popup {
    width: 300px;
    right: -20px;
  }

  /* Tablet: slightly shorter cards */
  .service-card-v2 {
    height: 300px;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .floating-badges {
    flex-direction: column;
    gap: 15px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .chatbot-widget {
    bottom: 20px;
    right: 20px;
  }

  .chatbot-button {
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
  }

  .chatbot-popup {
    width: 280px;
    right: 0;
  }

  /* Mobile: full image visible — square aspect ratio */
  .service-card-v2 {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .sc-bg-image {
    background-size: cover;
    background-position: center center;
  }

  /* Panel stays hidden by default — JS adds .tapped on touch */
  .sc-hover-content {
    padding: 14px 14px 16px 16px;
  }

  /* Tap triggers same slide-up as desktop hover */
  .service-card-v2.tapped .sc-hover-content {
    transform: translateY(0);
  }

  .service-card-v2.tapped .sc-bg-image {
    transform: scale(1);
  }

  .sc-hover-content h3 {
    font-size: 0.92rem;
  }

  .sc-hover-content p {
    font-size: 0.75rem;
  }

  .sc-learn-more {
    width: 34px;
    height: 34px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {

  /* Small phones: 1 card per row, full width */
  .services-grid .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Full image visible on small phones too */
  .service-card-v2 {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .sc-hover-content {
    padding: 12px 12px 14px 14px;
  }

  .service-card-v2.tapped .sc-hover-content {
    transform: translateY(0);
  }

  .sc-hover-content h3 {
    font-size: 0.88rem;
  }

  .sc-hover-content p {
    font-size: 0.72rem;
  }
}

/* ============================================
   Additional Animations
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fade-up {
  animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-left {
  animation: fadeInLeft 0.8s ease forwards;
}

.animate-fade-right {
  animation: fadeInRight 0.8s ease forwards;
}

.animate-scale {
  animation: scaleIn 0.6s ease forwards;
}

/* ============================================
   Utility Classes
   ============================================ */

.text-gradient {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient {
  background: var(--gradient-primary);
}

.border-gradient {
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box,
    var(--gradient-primary) border-box;
}

.glow-effect {
  box-shadow: var(--shadow-glow);
}

.glow-effect-orange {
  box-shadow: var(--shadow-glow-orange);
}

.pulse-animation {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

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

  50% {
    transform: scale(1.05);
  }
}

/* ============================================
   Brand Color Utilities
   ============================================ */

.text-deep-blue {
  color: var(--deep-blue);
}

.text-electric-cyan {
  color: var(--electric-cyan);
}

.text-vibrant-purple {
  color: var(--brand-orange);
}

.text-magenta-pink {
  color: var(--magenta-pink);
}

.text-bright-red {
  color: var(--bright-red);
}

.text-brand-orange {
  color: var(--brand-orange);
}

.text-gold-yellow {
  color: var(--gold-yellow);
}

.text-brand-green {
  color: var(--brand-green);
}

.text-navy-blue {
  color: var(--navy-blue);
}

.bg-deep-blue {
  background-color: var(--deep-blue);
}

.bg-electric-cyan {
  background-color: var(--electric-cyan);
}

.bg-vibrant-purple {
  background-color: var(--brand-orange);
}

.bg-magenta-pink {
  background-color: var(--magenta-pink);
}

.bg-bright-red {
  background-color: var(--bright-red);
}

.bg-brand-orange {
  background-color: var(--brand-orange);
}

.bg-gold-yellow {
  background-color: var(--gold-yellow);
}

.bg-brand-green {
  background-color: var(--brand-green);
}

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

.border-deep-blue {
  border-color: var(--deep-blue);
}

.border-electric-cyan {
  border-color: var(--electric-cyan);
}

.border-vibrant-purple {
  border-color: var(--brand-orange);
}

.border-magenta-pink {
  border-color: var(--magenta-pink);
}

.border-bright-red {
  border-color: var(--bright-red);
}

.border-brand-orange {
  border-color: var(--brand-orange);
}

.border-gold-yellow {
  border-color: var(--gold-yellow);
}

.border-brand-green {
  border-color: var(--brand-green);
}

.border-navy-blue {
  border-color: var(--navy-blue);
}

.glow-effect-cyan {
  box-shadow: var(--shadow-glow-cyan);
}

.glow-effect-purple {
  box-shadow: var(--shadow-glow-purple);
}

.glow-effect-pink {
  box-shadow: var(--shadow-glow-pink);
}

.glow-effect-red {
  box-shadow: var(--shadow-glow-red);
}

.glow-effect-green {
  box-shadow: var(--shadow-glow-green);
}

/* ============================================
   Brand Gradient Utilities
   ============================================ */

.bg-gradient-brand {
  background: var(--gradient-brand);
}

.text-gradient-brand {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.border-gradient-brand {
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box,
    var(--gradient-brand) border-box;
}

/* ============================================
   Map Link Styles
   ============================================ */

.map-link {
  display: block;
  position: relative;
  cursor: pointer;
}

.map-link::after {
  content: 'Click to open in Google Maps';
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 10;
  pointer-events: none;
  transition: all 0.3s ease;
}

.map-link:hover::after {
  background: var(--gradient-primary);
  transform: translateX(-50%) scale(1.05);
}

/* ============================================
   Modal Styles
   ============================================ */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: none;
  opacity: 0;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.modal-content {
  background: white;
  border-radius: 20px;
  padding: 40px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.1);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  color: var(--text-dark);
}

.modal-close:hover {
  background: var(--gradient-primary);
  color: white;
  transform: rotate(90deg);
}

.modal-title {
  font-size: 1.8rem;
  margin-bottom: 10px;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modal-subtitle {
  color: var(--text-gray);
  margin-bottom: 25px;
}

/* ============================================
   Testimonials Section
   ============================================ */

.testimonials-section {
  background: #F8FAFF;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 20%, rgba(40, 41, 115, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(123, 47, 212, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.testimonials-header {
  display: flex;
  gap: 40px;
  margin-bottom: 50px;
  align-items: flex-start;
}

.testimonials-header-left {
  flex: 0 0 40%;
}

.testimonials-header-right {
  flex: 0 0 60%;
}

.testimonials-label {
  display: inline-block;
  background: rgba(40, 41, 115, 0.08);
  color: #282973;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.testimonials-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #282973, #FDB81E, #282973);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.testimonials-nav {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.testimonials-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  border: 2px solid #282973;
  color: #282973;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.testimonials-nav-btn:hover {
  background: linear-gradient(135deg, #282973, #282973);
  border-color: transparent;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 4px 18px rgba(40, 41, 115, 0.30);
}

.testimonials-nav-btn:active {
  transform: scale(0.95);
}

.testimonials-description {
  color: #6B7280;
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

/* Testimonials Slider */
.testimonials-slider-container {
  position: relative;
  overflow: hidden;
  padding: 15px 12px;
  margin: 0 -12px;
}

.testimonials-slider {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 16px);
  background: white;
  border: 1px solid rgba(40, 41, 115, 0.12);
  border-radius: 16px;
  box-shadow: none;
  padding: 28px;
  min-height: 220px;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: none;
  border-color: rgba(40, 41, 115, 0.25);
}

.testimonial-quote-mark {
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 80px;
  font-family: Georgia, serif;
  color: rgba(40, 41, 115, 0.15);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(40, 41, 115, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card:hover .testimonial-avatar {
  border-color: #282973;
  box-shadow: 0 0 0 3px rgba(40, 41, 115, 0.1);
}

.testimonial-info {
  flex: 1;
}

.testimonial-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #282973;
  margin: 0 0 4px 0;
  transition: color 0.3s ease;
}

.testimonial-card:hover .testimonial-name {
  color: #FDB81E;
}

.testimonial-location {
  font-size: 0.85rem;
  color: #9CA3AF;
  display: block;
}

.testimonial-quote {
  color: #374151;
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 20px 0;
  position: relative;
  z-index: 1;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  position: relative;
  z-index: 1;
}

.testimonial-stars i {
  color: #FBBF24;
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.testimonial-card:hover .testimonial-stars i {
  transform: scale(1.1);
}

/* Star animation */
.testimonial-stars i:nth-child(1) {
  animation-delay: 0s;
}

.testimonial-stars i:nth-child(2) {
  animation-delay: 0.05s;
}

.testimonial-stars i:nth-child(3) {
  animation-delay: 0.1s;
}

.testimonial-stars i:nth-child(4) {
  animation-delay: 0.15s;
}

.testimonial-stars i:nth-child(5) {
  animation-delay: 0.2s;
}

.testimonial-card:hover .testimonial-stars i {
  animation: starPop 0.3s ease forwards;
}

@keyframes starPop {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.3);
  }

  100% {
    transform: scale(1.1);
  }
}

/* Active card effect */
.testimonial-card.active {
  transform: scale(1.02);
  box-shadow: none;
  border-color: rgba(40, 41, 115, 0.3);
}

/* Responsive Design */
@media (max-width: 1199px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 991px) {
  .testimonials-header {
    flex-direction: column;
    gap: 25px;
  }

  .testimonials-header-left,
  .testimonials-header-right {
    flex: 0 0 100%;
  }

  .testimonials-title {
    font-size: 2rem;
  }

  .testimonial-card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 767px) {
  .testimonials-section {
    padding: 60px 0;
  }

  .testimonials-header {
    margin-bottom: 35px;
  }

  .testimonials-title {
    font-size: 1.6rem;
  }

  .testimonials-description {
    font-size: 0.9rem;
  }

  .testimonial-card {
    flex: 0 0 100%;
    min-height: 200px;
    padding: 24px;
  }

  .testimonial-quote-mark {
    font-size: 60px;
  }

  .testimonial-avatar {
    width: 50px;
    height: 50px;
  }

  .testimonial-name {
    font-size: 1rem;
  }

  .testimonial-quote {
    font-size: 0.9rem;
  }
}

/* ============================================
   Careers Page Styles
   ============================================ */

.vacancy-badge {
  display: inline-block;
  background: var(--gradient-light);
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-gray);
  margin-bottom: 30px;
  border: 2px solid rgba(40, 41, 115, 0.2);
}

.vacancy-badge i {
  margin-right: 10px;
  color: var(--brand-orange);
}

.career-form .form-label {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.career-form .form-control,
.career-form .form-select {
  padding: 12px 16px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.career-form .form-control:focus,
.career-form .form-select:focus {
  border-color: var(--deep-blue);
  box-shadow: 0 0 0 3px rgba(40, 41, 115, 0.1);
}

.career-form .form-control::file-selector-button {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  margin-right: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.career-form .form-control::file-selector-button:hover {
  transform: scale(1.05);
}

/* ============================================
   BLOG DETAIL - PREMIUM STYLES
   ============================================ */

/* Share Buttons */
.bd-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: white;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.bd-share-btn:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  filter: brightness(1.1);
}

/* Share Buttons Grid — 4 in a row desktop, 2x2 on mobile */
.share-buttons-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.share-buttons-grid .bd-share-btn {
  flex: 1 1 auto;
  justify-content: center;
  text-align: center;
  min-width: 120px;
}

/* Category Links in Sidebar */
.bd-cat-link {
  transition: all 0.25s ease;
}

.bd-cat-link:hover {
  background: rgba(40, 41, 115, 0.06);
  padding-left: 14px !important;
}

.bd-cat-link:hover span:first-child {
  background: linear-gradient(135deg, #282973, #FDB81E) !important;
}

.bd-cat-link:hover span:first-child i {
  color: white !important;
}

.bd-cat-link:hover span:last-child {
  color: #282973 !important;
}

/* Article Body Typography */
.blog-body h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #282973;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(40, 41, 115, 0.1);
}

.blog-body h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #282973;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.blog-body p {
  margin-bottom: 1.1rem;
}

.blog-body blockquote {
  border-left: 5px solid #FDB81E;
  background: rgba(253, 184, 30, 0.06);
  padding: 1.25rem 1.75rem;
  margin: 2rem 0;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-size: 1.15rem;
  color: #282973;
}

.blog-body ul,
.blog-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.blog-body li {
  margin-bottom: 0.5rem;
}

.blog-body img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(40, 41, 115, 0.12);
  margin: 1.5rem 0;
}

/* Related Article Card Hover */
.glass-card:hover {
  transform: translateY(-6px);
}

/* ============================================
   BLOG, BLOG DETAIL & ABOUT - RESPONSIVE
   ============================================ */

/* ---- GLOBAL: Prevent horizontal overflow on all devices ---- */
html,
body {
  overflow-x: hidden !important;
  max-width: 100vw;
}

/* Fix AOS animations causing horizontal scroll */
[data-aos] {
  overflow-x: hidden;
}

/* Prevent Bootstrap columns with data-aos from clipping child elements (like cards on hover) */
[class*="col-"][data-aos] {
  overflow: visible !important;
}

/* All sections should stay within viewport */
section,
.hero-section,
.blog-filter,
.blog-listing,
.lead-capture-sidebar,
.blog-content,
.blog-detail,
.why-created,
.what-makes-different,
.our-mission,
.our-vision,
.services-snapshot,
.our-office,
.our-approach {
  max-width: 100vw;
}

/* Fix container overflow on small screens */
.container,
.container-fluid {
  max-width: 100%;
}

/* Fix row overflow */
.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* ---- Tablet (≤ 991px) ---- */
@media (max-width: 991px) {

  /* Hero sections - override inline padding */
  .hero-section {
    padding: 110px 0 60px !important;
    min-height: auto !important;
    overflow: hidden;
  }

  .hero-title {
    font-size: clamp(1.8rem, 5vw, 2.6rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  /* Blog page - filter buttons */
  .blog-filter .d-flex {
    gap: 8px !important;
  }

  .blog-filter-btn {
    font-size: 0.85rem;
    padding: 6px 14px;
  }

  /* Blog cards don't overflow */
  .blog-card {
    width: 100%;
    max-width: 100%;
  }

  /* Blog page - lead capture sidebar: stack to full width */
  .lead-capture-sidebar .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Blog Detail - sidebar stacks below main content */
  .blog-content .col-lg-4 {
    margin-top: 2rem;
  }

  .blog-content .col-lg-4>div {
    position: static !important;
    top: unset !important;
  }

  /* Blog Detail - share buttons wrap cleanly */
  .bd-share-btn {
    padding: 7px 14px;
    font-size: 0.85rem;
  }

  .share-buttons-grid .bd-share-btn {
    flex: 1 1 calc(50% - 4px);
    max-width: calc(50% - 4px);
    min-width: unset;
    justify-content: center;
  }

  /* About page - section padding */
  .why-created,
  .what-makes-different,
  .our-mission,
  .our-vision,
  .services-snapshot,
  .our-office,
  .our-approach {
    padding: 60px 0;
  }

  /* About page - office map height */
  .our-office iframe {
    height: 250px !important;
  }

  /* About page - section title */
  .section-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
  }
}

/* ---- Mobile (≤ 767px) ---- */
@media (max-width: 767px) {

  /* Force no horizontal scroll */
  html,
  body {
    overflow-x: hidden !important;
  }

  /* Hero sections */
  .hero-section {
    padding: 90px 0 50px !important;
    min-height: auto !important;
    overflow: hidden;
  }

  .hero-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    word-break: break-word;
    padding: 0 8px;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    padding: 0 8px;
  }

  /* Particles canvas - don't overflow */
  #particles-js {
    overflow: hidden !important;
    max-width: 100vw !important;
  }

  /* Blog page - filter buttons wrap */
  .blog-filter .d-flex {
    flex-wrap: wrap !important;
    justify-content: center !important;
    padding: 0 8px;
  }

  .blog-filter-btn {
    font-size: 0.8rem;
    padding: 5px 12px;
  }

  /* Blog listing - single column on mobile */
  .blog-listing .col-lg-4,
  .blog-listing .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  /* Blog page - lead capture sidebar cards: single column */
  .lead-capture-sidebar .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Blog Detail - main content padding */
  .blog-content .bg-white {
    padding: 1.25rem !important;
  }

  /* Blog Detail - share buttons: wrap */
  .bd-share-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  /* Share buttons: equal 2x2 grid on mobile */
  .share-buttons-grid {
    gap: 6px;
  }

  .share-buttons-grid .bd-share-btn {
    flex: 1 1 calc(50% - 3px);
    max-width: calc(50% - 3px);
    min-width: unset;
    padding: 8px 10px;
    font-size: 0.82rem;
    justify-content: center;
    text-align: center;
  }

  /* Blog Detail - related posts: single column */
  .blog-content .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Blog Detail - sidebar */
  .blog-content .col-lg-4>div {
    position: static !important;
  }

  /* About page - section padding tighter */
  .why-created,
  .what-makes-different,
  .our-mission,
  .our-vision,
  .services-snapshot,
  .our-office,
  .our-approach {
    padding: 50px 0;
  }

  /* About page - "What Makes Different" icon alignment */
  .what-makes-different .glass-card.d-flex {
    flex-direction: column;
    align-items: flex-start;
  }

  .what-makes-different .glass-card .fas {
    margin-bottom: 12px;
    margin-right: 0 !important;
  }

  /* About page - office info card text */
  .our-office .glass-card .fs-5 {
    font-size: 1rem !important;
  }

  /* About page - office map */
  .our-office iframe {
    height: 220px !important;
  }

  /* About page - services snapshot: 2 per row */
  .services-snapshot .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  /* About page - mission & different cards: single column */
  .our-mission .col-md-6,
  .what-makes-different .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* About page - Why created cols: single column */
  .why-created .col-lg-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* About page - office cols: single column */
  .our-office .col-lg-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* About page - CTA section */
  .cta-section {
    padding: 60px 0;
  }

  .cta-content h2 {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
    word-break: break-word;
  }

  .cta-content p {
    font-size: 1rem;
  }

  /* Section title mobile */
  .section-title {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
  }

  /* Reduce section padding globally on mobile */
  section {
    padding: 60px 0;
  }

  /* Glass card hover - no transform on mobile (prevents overflow) */
  .glass-card:hover {
    transform: none;
  }
}

/* ---- Small mobile (≤ 480px) — iPhone 12 Pro etc ---- */
@media (max-width: 480px) {

  html,
  body {
    overflow-x: hidden !important;
  }

  .hero-section {
    padding: 80px 0 40px !important;
  }

  .hero-title {
    font-size: 1.4rem;
    padding: 0 6px;
  }

  /* Navbar brand logo smaller */
  .navbar-brand img {
    height: 70px !important;
    width: 70px !important;
  }

  /* Blog filter: smaller buttons */
  .blog-filter-btn {
    font-size: 0.75rem;
    padding: 4px 10px;
  }

  /* Blog cards padding */
  .blog-listing .col-lg-4,
  .blog-listing .col-md-6 {
    padding-left: 8px;
    padding-right: 8px;
  }

  /* Blog Detail - share buttons stacked */
  .bd-share-btn {
    font-size: 0.78rem;
    padding: 6px 8px;
  }

  .share-buttons-grid .bd-share-btn {
    flex: 1 1 calc(50% - 3px);
    max-width: calc(50% - 3px);
    font-size: 0.76rem;
    padding: 7px 8px;
  }

  /* Blog Detail - back button full width */
  .blog-content .mb-4 .btn {
    width: 100%;
    justify-content: center;
  }

  /* About page - office map */
  .our-office iframe {
    height: 200px !important;
  }

  /* Services snapshot: 2 per row maintained, compact */
  .services-snapshot .col-6 {
    padding: 4px;
  }

  .services-snapshot .glass-card {
    padding: 0.75rem !important;
  }

  .services-snapshot h6 {
    font-size: 0.8rem;
  }

  /* Container padding adjustment */
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* ============================================
   What We Do - Marquee Slider
   ============================================ */
.services-marquee-card {
  width: 180px;
  flex-shrink: 0;
  box-shadow: none !important;
  border-color: rgba(40, 41, 115, 0.1) !important;
}

.services-marquee-card:hover {
  box-shadow: none !important;
  border-color: rgba(40, 41, 115, 0.3) !important;
  transform: translateY(-8px);
}

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

@media (max-width: 768px) {
  .services-marquee-card {
    width: 150px;
  }
}

.services-snapshot .marquee-content {
  animation-duration: 18s !important;
  width: max-content !important;
  display: flex !important;
}

/* Solutions & Services Tabs Section - Dynamic Card Height based on Content */
@media (min-width: 768px) {
  .solutions-tabs-section .row {
    align-items: flex-start !important;
  }

  .solutions-tabs-section .solutions-detail-card {
    height: auto !important;
    flex-grow: 0 !important;
  }

  .solutions-tabs-section .tab-content {
    height: auto !important;
  }

  .solutions-tabs-section .tab-pane {
    height: auto !important;
  }
}