/* 
   AdviniaTech Enterprise Corporate Website
   Design System Stylesheet (style.css)
*/

:root {
  /* Colors */
  --bg-color: #FFFFFF;
  --primary-color: #192751;
  /* Brand Navy Blue from Logo */
  --primary-hover: #21356c;
  /* Brand Navy Blue Hover */
  --secondary-color: #f26622;
  /* Citrus Orange */
  --accent-color: #f26622;
  /* Citrus Orange Accent */
  --light-bg: #F8FAFC;
  /* Light Slate Grey */
  --border-color: #E2E8F0;
  /* Obsidian Border */
  --text-primary: #0F172A;
  /* Midnight Slate */
  --text-secondary: #475569;
  /* Slate Body Text */
  --success-color: #10B981;
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(226, 232, 240, 0.5);
  --glass-blur: 16px;

  /* Shadows & Radius */
  --card-shadow: 0 10px 30px rgba(15, 23, 42, 0.02);
  --hover-shadow: 0 20px 40px rgba(25, 39, 81, 0.08);
  /* Navy accent glow */
  --orange-hover-shadow: 0 20px 40px rgba(242, 102, 34, 0.08);
  /* Orange accent glow */
  --nav-shadow: 0 10px 30px rgba(15, 23, 42, 0.02);
  --br-sm: 12px;
  --br-md: 16px;
  --br-lg: 20px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* General Resets */
body {
  font-family: 'Inter', sans-serif;
  color: var(--text-secondary);
  background-color: var(--bg-color);
  overflow-x: hidden;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--secondary-color);
}

/* Typography & Helpers */
.text-navy {
  color: var(--text-primary) !important;
}

.text-teal {
  color: var(--secondary-color) !important;
}

.text-primary-blue {
  color: var(--primary-color) !important;
}

.bg-light-slate {
  background-color: var(--light-bg);
}

.bg-navy {
  background-color: var(--primary-color) !important;
  color: #ffffff !important;
}

.font-poppins {
  font-family: 'Poppins', sans-serif;
}

/* Buttons */
.btn-custom {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: 0.8rem 2rem;
  border-radius: 12px;
  /* Sharp modern radius */
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.btn-custom-primary {
  background-color: var(--primary-color);
  border: 1px solid var(--primary-color);
  color: #FFFFFF;
}

.btn-custom-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: var(--orange-hover-shadow);
}

.btn-custom-secondary {
  background-color: #FFFFFF;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-custom-secondary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: var(--hover-shadow);
}

.btn-custom-ghost {
  background-color: transparent !important;
  border: 2px solid #FFFFFF !important;
  color: #FFFFFF !important;
}

.btn-custom-ghost:hover {
  background-color: #FFFFFF !important;
  color: var(--primary-color) !important;
  transform: translateY(-3px) !important;
  box-shadow: var(--hover-shadow) !important;
}

.btn-custom-accent {
  background-color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  color: #FFFFFF;
}

.btn-custom-accent:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: var(--hover-shadow);
}

/* Glassmorphism Classes */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--card-shadow);
  border-radius: var(--br-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.glass-panel-hover:hover {
  transform: translateY(-10px);
  box-shadow: var(--hover-shadow);
  border-color: rgba(25, 39, 81, 0.25) !important;
}

.glass-panel-hover-orange:hover {
  transform: translateY(-10px);
  box-shadow: var(--orange-hover-shadow);
  border-color: rgba(242, 102, 34, 0.25) !important;
}

/* Transparent Sticky Navbar */
.navbar-custom {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1050;
  background: transparent;
  transition: all var(--transition-normal);
  padding: 1.25rem 0;
  border-bottom: 1px solid transparent;
}

.navbar-custom.scrolled {
  background: white;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: 0.75rem 0;
  box-shadow: var(--nav-shadow);
  border-bottom: 1px solid var(--border-color);
}

.navbar-custom .navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-custom .navbar-brand span {
  color: var(--primary-color);
}

/* Dual Logo swap rules */
.navbar-custom .navbar-brand .logo-color {
  display: none !important;
}

.navbar-custom .navbar-brand .logo-white {
  display: block !important;
}

/* Scrolled state: show color, hide white */
.navbar-custom.scrolled .navbar-brand .logo-white {
  display: none !important;
}

.navbar-custom.scrolled .navbar-brand .logo-color {
  display: block !important;
}

/* Mobile menu open: show color, hide white */
.navbar-custom.mobile-menu-open .navbar-brand .logo-white {
  display: none !important;
}

.navbar-custom.mobile-menu-open .navbar-brand .logo-color {
  display: block !important;
}


.navbar-custom .nav-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0 0.75rem;
  padding: 0.5rem 0;
  position: relative;
}

.navbar-custom .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #000000;
  transition: width var(--transition-normal);
}

.navbar-custom .nav-link:hover::after {
  width: 100%;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--primary-color);
}

/* Custom Hamburger Icon */
.hamburger-icon {
  width: 22px;
  height: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  background: transparent;
  padding: 0;
}

.hamburger-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--secondary-color);
  border-radius: 2px;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

/* Adjust colors on scroll / open states */
.navbar-custom.scrolled .hamburger-icon span {
  background-color: var(--secondary-color);
}

/* Animate to X when expanded */
.navbar-toggler:not(.collapsed) .hamburger-icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-toggler:not(.collapsed) .hamburger-icon span:nth-child(2) {
  opacity: 0;
}

.navbar-toggler:not(.collapsed) .hamburger-icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Full-screen Navbar Mobile Backdrop */
.navbar-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.45);
  /* Dark slate with opacity */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1040;
  /* Just below .navbar-custom (1050) */
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
  pointer-events: none;
}

.navbar-backdrop.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Full Screen Hero Section */
.hero-section {
  height: 100vh;
  min-height: 650px;
  position: relative;
  background-color: #0F172A;
  overflow: hidden;
}

/* Slideable Hero Carousel */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s ease;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 2;
}

.hero-slide.prev {
  opacity: 0;
  transform: translateX(-100%);
  z-index: 1;
}

/* Background image with blur filter */
.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(4px) brightness(0.35);
  transform: scale(1.05);
  /* Avoid blurred edge lines */
  z-index: 0;
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgb(242 102 34 / 39%) 0%, rgba(255, 255, 255, 0.15) 100%);
  z-index: 1;
}

.hero-slide-container {
  position: relative;
  z-index: 2;
  padding-top: 80px;
}

/* Slider indicators (dots) */
.hero-slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background-color: transparent;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  width: 32px;
  border-radius: 6px;
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.hero-section .container {
  position: relative;
  z-index: 2;
  /* Content sits above overlays and backgrounds */
}

/* Homepage specific transparent white navigation overrides */
.navbar-custom.dark-hero-nav:not(.scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
}

.navbar-custom.dark-hero-nav:not(.scrolled) .nav-link:hover,
.navbar-custom.dark-hero-nav:not(.scrolled) .nav-link.active {
  color: #FFFFFF !important;
}

.navbar-custom.dark-hero-nav:not(.scrolled) .nav-link::after {
  background-color: #FFFFFF !important;
}

.navbar-custom.dark-hero-nav:not(.scrolled) .navbar-brand {
  color: #FFFFFF !important;
}

.navbar-custom.dark-hero-nav:not(.scrolled) .navbar-brand span {
  color: var(--secondary-color) !important;
}

.navbar-custom.dark-hero-nav:not(.scrolled) .navbar-toggler-icon {
  filter: invert(1);
}

/* Left Hero Typography */
.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  color: #FFFFFF !important;
  text-shadow: 0 4px 20px rgba(15, 23, 42, 0.4);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(245, 247, 250, 0.9) !important;
  margin-bottom: 2.25rem;
  max-width: 8200px;
  line-height: 1.5;
}

/* Floating Glass Cards on Dark Background */
.hero-section .floating-glass-card {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25) !important;
}

.hero-section .floating-glass-card strong {
  color: #FFFFFF !important;
}

.hero-section .floating-glass-card .text-muted {
  color: rgba(245, 247, 250, 0.7) !important;
}

.hero-section .floating-glass-card i {
  color: var(--secondary-color) !important;
}

/* Hero Stats */
.hero-stats {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 2.5rem;
  margin-top: 2rem;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #FFFFFF !important;
  margin-bottom: 0.25rem;
}

.stat-item p {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(245, 247, 250, 0.75) !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Floating Glass Cards on Right */
.hero-illustration-container {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-illustration-svg,
.main-illustration-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  z-index: 1;
  border-radius: var(--br-md);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.04);
  transition: all var(--transition-normal);
}

.main-illustration-svg:hover,
.main-illustration-img:hover {
  transform: scale(1.03);
  box-shadow: 0 30px 60px rgba(25, 39, 81, 0.08);
}

.floating-glass-card {
  position: absolute;
  padding: 0.85rem 1.25rem;
  border-radius: var(--br-sm);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
  box-shadow: var(--card-shadow);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  animation: floatUpDown 4s ease-in-out infinite;
}

.floating-glass-card i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.floating-card-1 {
  top: 15%;
  left: 5%;
  animation-delay: 0s;
}

.floating-card-2 {
  bottom: 20%;
  left: 0%;
  animation-delay: 1.5s;
}

.floating-card-3 {
  top: 10%;
  right: 5%;
  animation-delay: 0.75s;
}

.floating-card-4 {
  bottom: 15%;
  right: 0%;
  animation-delay: 2.2s;
}

@keyframes floatUpDown {

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

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

/* Sections */
.section-padding {
  padding: 6.5rem 0;
}

.section-title-tag {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 650px;
  margin-bottom: 3.5rem;
}

/* Service Cards */
.service-card {
  padding: 2.5rem 2rem;
  border-radius: var(--br-md);
  border: 1px solid var(--border-color);
  background: rgb(255 255 255 / 44%);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: all var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card .icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: var(--br-sm);
  background-color: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  transition: all var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(25, 39, 81, 0.25);
  box-shadow: var(--hover-shadow);
}

.service-card:hover .icon-wrapper {
  background-color: var(--secondary-color);
  color: #FFFFFF;
}

.service-card:hover .icon-wrapper i {
  color: #FFFFFF !important;
}

.service-card h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 0.925rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card .learn-more-btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--primary-color);
  transition: var(--transition-fast);
  background: none;
  border: none;
  padding: 0;
  text-align: left;
}

.service-card .learn-more-btn i {
  transition: transform var(--transition-fast);
}

.service-card:hover .learn-more-btn {
  color: var(--secondary-color);
}

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

/* Premium Dark Glassmorphic Cards (Pillars) */
.premium-dark-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 36px 28px;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
}

.premium-dark-card:hover {
  transform: translateY(-8px);
}

.premium-dark-card.card-orange {
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-top: 3px solid #f97316;
}
.premium-dark-card.card-orange:hover {
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.18);
}

.premium-dark-card.card-blue {
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-top: 3px solid #3b82f6;
}
.premium-dark-card.card-blue:hover {
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.18);
}

.premium-dark-card.card-slate {
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-top: 3px solid #94a3b8;
}
.premium-dark-card.card-slate:hover {
  border-color: rgba(148, 163, 184, 0.45);
  box-shadow: 0 12px 30px rgba(148, 163, 184, 0.18);
}

.premium-dark-card .icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
  transition: transform 0.3s ease;
}

.premium-dark-card:hover .icon-box {
  transform: scale(1.1);
}

.premium-dark-card .icon-box.box-orange {
  background: rgba(249, 115, 22, 0.15);
  color: #f97316;
}

.premium-dark-card .icon-box.box-blue {
  background: rgba(37, 99, 235, 0.15);
  color: #60a5fa;
}

.premium-dark-card .icon-box.box-slate {
  background: rgba(148, 163, 184, 0.12);
  color: #94a3b8;
}

.premium-dark-card h4 {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.premium-dark-card p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.premium-dark-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.premium-dark-card li {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.premium-dark-card .explore-link {
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.premium-dark-card .explore-link.link-orange {
  color: #f97316;
}

.premium-dark-card .explore-link.link-blue {
  color: #60a5fa;
}

.premium-dark-card .explore-link.link-slate {
  color: #94a3b8;
}

.premium-dark-card .explore-link:hover {
  gap: 10px;
}

/* Homepage services section dark background overrides */
#services.services-dark-theme {
  background: linear-gradient(135deg, #0A192F 0%, #0d2340 60%, #0f2952 100%) !important;
}

#services.services-dark-theme .services-bg-map img {
  filter: brightness(0) invert(1) !important;
  mix-blend-mode: screen !important;
  opacity: 0.15 !important;
}

#services.services-dark-theme .map-scanner {
  background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.2), #60a5fa, rgba(96, 165, 250, 0.2), transparent) !important;
  box-shadow: 0 0 15px rgba(96, 165, 250, 0.5) !important;
}

#services.services-dark-theme .sf-hub .hub-pulse,
#services.services-dark-theme .tokyo-hub .hub-pulse {
  border: 2.5px solid #60a5fa !important;
  background: rgba(96, 165, 250, 0.15) !important;
}

/* Industry Cards */
.industry-card {
  padding: 2rem 1.75rem;
  border-radius: var(--br-sm);
  border: 1px solid var(--border-color);
  background-color: #FFFFFF;
  transition: all var(--transition-normal);
  height: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.industry-card i {
  font-size: 2.25rem;
  color: var(--primary-color);
  margin-bottom: 1.25rem;
  transition: all var(--transition-normal);
  display: block;
}

.industry-card h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.industry-card p {
  font-size: 0.85rem;
  margin-bottom: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-normal);
}

.industry-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.industry-card:hover {
  border-color: var(--border-color);
  box-shadow: var(--card-shadow);
  transform: translateY(-4px);
}

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

.industry-card:hover i {
  transform: scale(1.1);
  color: var(--accent-color);
}

.industry-card:hover p {
  opacity: 1;
  transform: translateY(0);
}

/* Process Horizontal Timeline */
.process-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 3rem;
  padding-bottom: 2rem;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 5%;
  right: 5%;
  height: 3px;
  background-color: var(--border-color);
  z-index: 0;
}

.process-line-fill {
  position: absolute;
  top: 40px;
  left: 5%;
  height: 3px;
  width: 0%;
  /* Modified by scroll scroller script */
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  box-shadow: 0 0 10px rgba(25, 39, 81, 0.3);
  z-index: 0;
  transition: width 0.15s ease-out;
}

/* Active Step Badge States */
.process-step.active .process-badge {
  color: #FFFFFF !important;
  border-color: var(--primary-color) !important;
  background-color: var(--primary-color) !important;
  box-shadow: 0 0 0 8px rgba(25, 39, 81, 0.18);
  transform: scale(1.06);
}

.process-step:nth-child(4).active .process-badge,
.process-step:nth-child(5).active .process-badge {
  border-color: var(--secondary-color) !important;
  background-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 8px rgba(242, 102, 34, 0.18);
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 1rem;
}

.process-badge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 3px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin: 0 auto 1.5rem auto;
  transition: all var(--transition-normal);
}

.process-step:hover .process-badge {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
  color: #FFFFFF;
  box-shadow: 0 0 0 8px rgba(25, 39, 81, 0.15);
  transform: scale(1.05);
}

.process-step h5 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.85rem;
  max-width: 200px;
  margin: 0 auto;
}

/* Project Cards */
.project-card {
  border-radius: var(--br-md);
  border: 1px solid var(--border-color);
  background-color: #FFFFFF;
  overflow: hidden;
  transition: all var(--transition-normal);
  height: 100%;
}

.project-card .project-img-wrapper {
  position: relative;
  height: 220px;
  background-color: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card:hover img {
  transform: scale(1.06);
}

.project-card .project-body {
  padding: 2rem 1.75rem;
}

.project-card .project-tag {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-color);
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  display: block;
}

.project-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.project-card p {
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.project-metrics {
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
}

.metric-box h6 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.15rem;
}

.metric-box span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color);
  box-shadow: var(--hover-shadow);
}

/* Contact CTA Section */
.cta-section {
  position: relative;
  background-color: #FFFFFF;
}

.cta-glass-banner {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  position: relative;
  z-index: 1;
}

.cta-glass-banner::after {
  display: none !important;
}


.cta-form {
  background-color: #FFFFFF;
  border-radius: var(--br-md);
  padding: 2.25rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.form-control,
.form-select {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}



.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(25, 39, 81, 0.15);
  color: var(--text-primary);
}

/* Page Headers (Inner Pages) */
.inner-hero {
  position: relative;
  background-color: #080f23;
  /* Dark fallback */
  padding: 11rem 0 7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.inner-hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(25, 39, 81, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  top: -150px;
  right: 5%;
  pointer-events: none;
  z-index: 1;
}

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

.inner-hero .breadcrumb-custom a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
  text-decoration: none;
}

.inner-hero .breadcrumb-custom a:hover {
  color: #FFFFFF;
}

.inner-hero .breadcrumb-custom i {
  color: rgba(255, 255, 255, 0.4);
}

.inner-hero .breadcrumb-custom span {
  color: var(--secondary-color);
}

.breadcrumb-custom {
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.breadcrumb-custom a {
  color: var(--text-secondary);
}

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

/* Leadership Team Grid */
.team-card {
  border-radius: var(--br-md);
  border: 1px solid var(--border-color);
  background-color: #FFFFFF;
  overflow: hidden;
  transition: all var(--transition-normal);
  text-align: center;
  height: 100%;
}

.team-img-wrapper {
  height: 280px;
  background-color: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.team-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.team-card:hover .team-img-wrapper img {
  transform: scale(1.05);
}

.team-info {
  padding: 1.75rem 1.25rem;
}

.team-info h5 {
  margin-bottom: 0.25rem;
  font-size: 1.15rem;
}

.team-info span {
  font-size: 0.85rem;
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 0.75rem;
}

.team-socials a {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin: 0 0.35rem;
}

.team-socials a:hover {
  color: var(--primary-color);
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-color);
  box-shadow: var(--hover-shadow);
}

/* Tab panels and interactive accordions */
.faq-accordion .accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--br-sm) !important;
  margin-bottom: 1rem;
  overflow: hidden;
  background: #FFFFFF;
}

.faq-accordion .accordion-button {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--text-primary);
  background-color: #FFFFFF;
  padding: 1.25rem 1.5rem;
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: var(--light-bg);
}

.faq-accordion .accordion-button::after {
  background-size: 1rem;
}

.faq-accordion .accordion-body {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-color);
}

/* Service Detail Sections (Alternating) */
.service-detail-section {
  padding: 5.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.service-detail-section:last-of-type {
  border-bottom: none;
}

.service-detail-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

/* Careers open positions list */
.job-item {
  border: 1px solid var(--border-color);
  border-radius: var(--br-sm);
  padding: 1.75rem 2rem;
  background-color: #FFFFFF;
  transition: all var(--transition-normal);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.job-item:hover {
  border-color: var(--primary-color);
  box-shadow: var(--card-shadow);
  transform: translateY(-3px);
}

.job-info h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.job-meta span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-right: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.job-meta span i {
  color: var(--primary-color);
}

/* Offices details in contact page */
.office-card {
  border-radius: 0;
  border: none;
  padding: 0;
  height: 100%;
  background-color: transparent;
  box-shadow: none;
  transition: var(--transition-normal);
}

.office-card h4 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  color: var(--secondary-color);
}

.office-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.office-info-item:last-child {
  margin-bottom: 0;
}

.office-info-item i {
  color: var(--primary-color);
  font-size: 1.15rem;
  margin-top: 0.15rem;
}

.office-card:hover {
  border-color: transparent;
  box-shadow: none;
}

/* Google Map Container */
.map-container {
  height: 450px;
  border-radius: var(--br-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--light-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--text-secondary);
  border-radius: var(--br-md);
  position: relative;
}

.map-placeholder i {
  font-size: 3rem;
  color: var(--primary-color);
}

/* Animations Scroll Reveals */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }

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

  .reveal-delay-1 {
    transition-delay: 0.15s;
  }

  .reveal-delay-2 {
    transition-delay: 0.3s;
  }

  .reveal-delay-3 {
    transition-delay: 0.45s;
  }
}

/* Footer styling */
.footer-custom {
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-color);
  padding: 5.5rem 0 2rem 0;
  color: var(--text-secondary);
}

.footer-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.footer-logo span {
  color: var(--primary-color);
}

.footer-text {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  max-width: 320px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  margin-right: 0.5rem;
  transition: all var(--transition-fast);
  background-color: #FFFFFF;
}

.footer-socials a:hover {
  background-color: var(--primary-color);
  color: #FFFFFF;
  border-color: var(--primary-color);
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.925rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  margin-top: 4.5rem;
  font-size: 0.85rem;
}

.footer-bottom-links a {
  color: var(--text-secondary);
  margin-left: 1.5rem;
}

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

/* Responsiveness adjustments */
@media (max-width: 991.98px) {

  /* Force navbar to be perfectly sticky and compact on mobile, preventing jumpy transitions */
  .navbar-custom,
  .navbar-custom.scrolled {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    padding: 0.75rem 0 !important;
    background: #FFFFFF !important;
    box-shadow: 0 2px 15px rgba(15, 23, 42, 0.05) !important;
    border-bottom: 1px solid var(--border-color) !important;
    transition: none !important;
  }

  /* Scale brand logo image on mobile so it fits comfortably within the header */
  .navbar-custom .navbar-brand img {
    height: 42px !important;
    width: auto !important;
  }

  /* Keep transparent header on dark-hero-nav pages ONLY before scroll and when menu is closed */
  .navbar-custom.dark-hero-nav:not(.scrolled):not(.mobile-menu-open) {
    background: transparent !important;
    box-shadow: none !important;
    border-bottom: 1px solid transparent !important;
  }


  /* Mobile Menu Styles */
  .navbar-custom.mobile-menu-open {
    background: #FFFFFF !important;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--nav-shadow);
  }


  .navbar-custom .navbar-collapse {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--br-md);
    margin-top: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--glass-border);
    box-shadow: var(--nav-shadow);
  }

  .navbar-custom.mobile-menu-open .navbar-collapse {
    background: white;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
    margin-top: 0.5rem;
    padding: 1rem 0.5rem 0.5rem 0.5rem;
  }

  .navbar-custom .nav-link {
    margin: 0.5rem 0;
    padding: 0.6rem 1rem !important;
    border-left: 3px solid transparent;
    transition: all var(--transition-normal);
    /* Force dark text on mobile panel regardless of hero state */
    color: var(--text-primary) !important;
  }

  .navbar-custom .nav-link::after {
    display: none !important;
    /* Hide desktop underline */
  }

  .navbar-custom .nav-link:hover,
  .navbar-custom .nav-link.active {
    border-left-color: var(--primary-color);
    background-color: rgba(25, 39, 81, 0.05);
    padding-left: 1.25rem !important;
    color: var(--primary-color) !important;
  }

  /* dark-hero-nav: force dark text inside the open mobile panel */
  .navbar-custom.dark-hero-nav:not(.scrolled) .navbar-collapse .nav-link {
    color: var(--text-primary) !important;
  }

  .navbar-custom.dark-hero-nav:not(.scrolled) .navbar-collapse .nav-link:hover,
  .navbar-custom.dark-hero-nav:not(.scrolled) .navbar-collapse .nav-link.active {
    color: var(--primary-color) !important;
  }

  /* Also fix the brand text to stay navy when menu is open */
  .navbar-custom.dark-hero-nav.mobile-menu-open .navbar-brand,
  .navbar-custom.dark-hero-nav.mobile-menu-open .navbar-brand span {
    color: var(--primary-color) !important;
  }

  .navbar-custom.dark-hero-nav.mobile-menu-open .navbar-brand span {
    color: var(--secondary-color) !important;
  }

  .navbar-custom .navbar-collapse .d-flex {
    margin-top: 1rem;
    padding-left: 1rem;
  }

  .navbar-custom .navbar-collapse .btn-custom {
    width: 100%;
    justify-content: center;
  }


  .hero-section {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 5rem;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .hero-illustration-container {
    height: 380px;
    margin-top: 3rem;
  }

  .process-timeline {
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 2rem;
  }

  .process-timeline::before,
  .process-line-fill {
    display: none;
  }

  /* Switch to CSS Grid on mobile so that the heading and description stack on the right of the badge */
  .process-step {
    padding: 0;
    text-align: left;
    display: grid !important;
    grid-template-columns: 60px 1fr;
    gap: 0.15rem 1.25rem;
    align-items: start;
  }

  .process-badge {
    grid-row: 1 / span 2;
    margin: 0 !important;
    width: 60px !important;
    height: 60px !important;
    font-size: 1.25rem !important;
    flex-shrink: 0;
  }

  .process-step h5 {
    grid-column: 2;
    margin: 0 !important;
    align-self: center;
    line-height: 1.2;
  }

  .process-step p {
    grid-column: 2;
    margin: 0 !important;
    max-width: 100%;
    line-height: 1.5;
  }


  .cta-glass-banner {
    padding: 0 !important;
  }

  .cta-form {
    padding: 1.5rem 1.15rem !important;
  }



  .job-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .job-item .btn {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: 4.5rem 0;
  }

  .hero-title {
    font-size: 1.75rem;
  }

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

  .stat-item h3 {
    font-size: 2rem;
  }

  .stat-item p {
    font-size: 0.75rem;
    font-weight: 500;
  }

  h2,
  .section-title,
  .svc-cta-inner h2,
  .cta-section h2 {
    font-size: 2rem !important;
  }

  .floating-glass-card {
    display: none;
    /* Hide floating text badges on small screens for layout cleaniness */
  }

  .map-container {
    height: 280px;
    /* Prevent overly tall empty gaps in map SVG layout */
  }
}

/* ==========================================================================
   ADVINIATECH 2.0 PREMIUM ADDITIONS: MEGA MENU, BUTTONS, PRELOADER, ETC.
   ========================================================================== */

/* Mega Navigation Styles */
@media (min-width: 992px) {
  .navbar-custom .nav-item.dropdown {
    position: static;
  }

  .navbar-custom .dropdown-menu.mega-menu {
    width: 100%;
    left: 0;
    right: 0;
    top: 100%;
    border-radius: var(--br-md);
    /* Default (scrolled) — clean white */
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    box-shadow: 0 30px 60px rgba(18, 59, 122, 0.10);
    padding: 2.5rem;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all var(--transition-normal);
    transition-delay: 0.15s;
    /* Delay hiding so users have time to navigate */
    display: block;
  }

  /* ── LIQUID GLASS state — before scroll on hero ── */
  @media (min-width: 992px) {
    .navbar-custom.dark-hero-nav:not(.scrolled) .dropdown-menu.mega-menu {
      background: rgb(255 255 255 / 0%);
      backdrop-filter: blur(28px) saturate(180%);
      -webkit-backdrop-filter: blur(28px) saturate(180%);
      border: 1px solid rgb(255 255 255);
      box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
  }

  /* Text colour overrides for liquid glass dropdown */
  .navbar-custom.dark-hero-nav:not(.scrolled) .dropdown-menu.mega-menu .mega-menu-title {
    color: rgba(255, 255, 255, 0.55);
    border-bottom-color: rgba(255, 255, 255, 0.12);
  }

  .navbar-custom.dark-hero-nav:not(.scrolled) .dropdown-menu.mega-menu .mega-menu-link {
    color: rgba(255, 255, 255, 0.88);
  }

  .navbar-custom.dark-hero-nav:not(.scrolled) .dropdown-menu.mega-menu .mega-menu-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
  }

  .navbar-custom.dark-hero-nav:not(.scrolled) .dropdown-menu.mega-menu .mega-menu-link-desc {
    color: rgba(255, 255, 255, 0.5);
  }

  .navbar-custom.dark-hero-nav:not(.scrolled) .dropdown-menu.mega-menu .mega-menu-link i {
    color: var(--secondary-color);
  }

  .navbar-custom .nav-item.dropdown:hover .dropdown-menu.mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
    /* Show instantly on hover */
  }

  /* Bridge the padding gap between navbar items and dropdown container */
  .navbar-custom .dropdown-menu.mega-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    height: 12px;
    background: transparent;
    z-index: -1;
  }

  .mega-menu-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
  }

  .mega-menu-link {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--br-sm);
    color: var(--text-primary);
    transition: all var(--transition-fast);
  }

  .mega-menu-link:hover {
    background-color: var(--light-bg);
    transform: translateX(4px);
    color: var(--accent-color);
  }

  .mega-menu-link i {
    font-size: 1.25rem;
    color: var(--secondary-color);
    transition: color var(--transition-fast);
  }

  .mega-menu-link:hover i {
    color: var(--accent-color);
  }

  .mega-menu-link-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
  }

  .mega-menu-link-desc {
    font-size: 0.775rem;
    color: var(--text-secondary);
    line-height: 1.3;
  }
}

@media (max-width: 991.98px) {
  .navbar-custom .dropdown-menu.mega-menu {
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0 1rem;
    margin: 0;
  }

  .mega-menu-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
  }

  .mega-menu-link {
    padding: 0.5rem 0;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .mega-menu-link-desc {
    display: none;
  }

  .mega-menu-link i {
    color: var(--secondary-color);
  }
}

/* Preloader / Premium Loading Animation */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #FFFFFF;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-spinner {
  width: 60px;
  height: 60px;
  position: relative;
}

.preloader-spinner::before,
.preloader-spinner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--primary-color);
  animation: spin 1.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

.preloader-spinner::after {
  border-top-color: var(--accent-color);
  animation-delay: 0.2s;
  transform: scale(0.8);
}

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

  100% {
    transform: rotate(360deg);
  }
}

/* Scroll to Top Button (reverts to original arrow format, scroll triggered) */
/* Scroll to Top Button (Hidden per user request) */
.back-to-top {
  display: none !important;
}

/* WhatsApp Floating Contact Button (Always visible at the bottom position) */
.whatsapp-float-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #25D366;
  /* WhatsApp Green */
  color: #FFFFFF;
  border: none;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 1000;
  opacity: 1;
  visibility: visible;
  transition: all var(--transition-normal);
  text-decoration: none !important;
}

.whatsapp-float-btn:hover {
  background-color: #128C7E;
  /* Darker WhatsApp Teal */
  transform: translateY(-4px);
  color: #FFFFFF;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

/* Email Floating Contact Button (Stacked above WhatsApp) */
.floating-contact-btn {
  position: fixed;
  bottom: 95px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 25px rgba(0, 163, 181, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 1000;
  transition: all var(--transition-normal);
}

.floating-contact-btn:hover {
  background-color: var(--primary-color);
  transform: translateY(-4px);
  color: #FFFFFF;
}



.floating-contact-btn::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--accent-color);
  opacity: 0.6;
  animation: pulseRipple 2s infinite;
}

@keyframes pulseRipple {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

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

/* Hover effects */
.hover-glow {
  position: relative;
  overflow: hidden;
}

.hover-glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-25deg);
  transition: 0.75s;
  pointer-events: none;
}

.hover-glow:hover::after {
  left: 125%;
}

/* Card Elevation & Hover Glow */
.card-elevation {
  transition: all var(--transition-normal);
  border: 1px solid var(--border-color) !important;
  border-radius: var(--br-md) !important;
  background-color: #FFFFFF !important;
}

.card-elevation:hover {
  transform: translateY(-8px);
  box-shadow: var(--hover-shadow);
  border-color: rgba(25, 39, 81, 0.25) !important;
}




/* Apple Style Liquid Glass Buttons */
.btn-liquid-glass {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: 0.9rem 2.25rem;
  border-radius: 14px;
  /* Apple rounded corner aesthetic */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  text-decoration: none !important;
}

/* Primary Liquid Glass: Electric Blue theme with inner sheen */
.btn-liquid-glass-primary {
  background: linear-gradient(135deg, rgba(25, 39, 81, 0.25) 0%, rgba(25, 39, 81, 0.1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #FFFFFF !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 8px 32px rgba(25, 39, 81, 0.2);
}

.btn-liquid-glass-primary::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;
}

.btn-liquid-glass-primary:hover::before {
  left: 100%;
}

.btn-liquid-glass-primary:hover {
  background: linear-gradient(135deg, rgba(25, 39, 81, 0.4) 0%, rgba(25, 39, 81, 0.18) 100%);
  border-color: rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5), 0 12px 40px rgba(25, 39, 81, 0.35);
}

/* Secondary Liquid Glass: White frost gel style */
.btn-liquid-glass-secondary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #FFFFFF !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3), 0 8px 32px rgba(255, 255, 255, 0.05);
}

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

.btn-liquid-glass-secondary:hover::before {
  left: 100%;
}

.btn-liquid-glass-secondary:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.07) 100%);
  border-color: rgba(255, 255, 255, 0.28) !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4), 0 12px 40px rgba(255, 255, 255, 0.12);
}

/* Compact Nav Liquid Glass Button */
.btn-liquid-glass-nav {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: 0.55rem 1.35rem;
  border-radius: 10px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none !important;
  background: linear-gradient(135deg, rgba(25, 39, 81, 0.22) 0%, rgba(25, 39, 81, 0.08) 100%);
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #FFFFFF !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35), 0 4px 15px rgba(25, 39, 81, 0.15);
}

.btn-liquid-glass-nav::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;
}

.btn-liquid-glass-nav:hover::before {
  left: 100%;
}

.btn-liquid-glass-nav:hover {
  background: linear-gradient(135deg, rgba(25, 39, 81, 0.38) 0%, rgba(25, 39, 81, 0.16) 100%);
  border-color: rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.45), 0 8px 24px rgba(25, 39, 81, 0.25);
}

/* Scrolled styling for readability over white background */
.navbar-custom.scrolled .btn-liquid-glass-nav {
  background: linear-gradient(135deg, rgba(25, 39, 81, 0.9) 0%, rgba(25, 39, 81, 0.75) 100%);
  border: 1px solid rgba(25, 39, 81, 0.3) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 15px rgba(25, 39, 81, 0.15);
}

/* Animated Services Background Map */
.services-bg-map {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  max-width: 1100px;
  height: 520px;
  transform: translate(-50%, -50%);
  opacity: 0.12;
  /* Faded to look elegant, fresh, and minimal */
  z-index: 0;
  pointer-events: none;
}

.map-dots-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  /* Renders the white background of the image transparent */
  filter: contrast(1.15) brightness(0.92);
  animation: mapFloat 12s ease-in-out infinite alternate;
}

@keyframes mapFloat {
  0% {
    transform: translateY(0) scale(1.0);
  }

  100% {
    transform: translateY(-10px) scale(1.03);
  }
}

/* Linear Scanning Laser Line Sweep */
.map-scanner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, transparent, rgba(25, 39, 81, 0.3), var(--primary-color), rgba(25, 39, 81, 0.3), transparent);
  box-shadow: 0 0 15px rgba(25, 39, 81, 0.6);
  animation: scanSweep 10s linear infinite;
  opacity: 0.75;
}

@keyframes scanSweep {
  0% {
    top: -5%;
  }

  100% {
    top: 105%;
  }
}

/* Pulsing coordinate hubs */
.map-hub {
  position: absolute;
  width: 20px;
  height: 20px;
  transform: translate(-50%, -50%);
}

.hub-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: hubPulse 2.5s ease-out infinite;
}

.sf-hub .hub-pulse,
.tokyo-hub .hub-pulse {
  border: 2.5px solid var(--primary-color);
  background: rgba(25, 39, 81, 0.15);
}

.london-hub .hub-pulse,
.blr-hub .hub-pulse {
  border: 2.5px solid var(--secondary-color);
  background: rgba(242, 102, 34, 0.15);
  animation-delay: 1.25s;
}

.hub-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.sf-hub .hub-core,
.tokyo-hub .hub-core {
  background-color: var(--primary-color);
  box-shadow: 0 0 8px var(--primary-color);
}

.london-hub .hub-core,
.blr-hub .hub-core {
  background-color: var(--secondary-color);
  box-shadow: 0 0 8px var(--secondary-color);
}

@keyframes hubPulse {
  0% {
    width: 6px;
    height: 6px;
    opacity: 1;
    transform: translate(7px, 7px);
  }

  100% {
    width: 48px;
    height: 48px;
    opacity: 0;
    transform: translate(-14px, -14px);
  }
}

/* ===================================
   TECH HIGHLIGHTS PANEL - Animated
   =================================== */
.tech-highlights-panel {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(25, 39, 81, 0.15);
  box-shadow: 0 8px 40px rgba(25, 39, 81, 0.08), 0 2px 8px rgba(0, 0, 0, 0.06);
  background: #FFFFFF;
}

.thp-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: #0F172A;
}

.thp-header-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.thp-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: block;
}

.thp-dot-red {
  background: #FF5F57;
}

.thp-dot-yellow {
  background: #FEBC2E;
}

.thp-dot-green {
  background: #28C840;
}

.thp-header-title {
  flex: 1;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.12em;
  text-align: center;
}

.thp-live-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  color: #28C840;
  letter-spacing: 0.08em;
  border: 1px solid rgba(40, 200, 64, 0.4);
  padding: 2px 8px;
  border-radius: 4px;
}

.thp-live-blink {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #28C840;
  animation: thpBlink 1.2s ease-in-out infinite;
}

@keyframes thpBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.15;
  }
}

.thp-display {
  position: relative;
  height: 120px;
  /* Fixed height on desktop to prevent layout shifts */
  overflow: hidden;
  background: #FFFFFF;
}

.thp-scan-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(25, 39, 81, 0.45), rgba(25, 39, 81, 0.75), rgba(25, 39, 81, 0.45), transparent);
  box-shadow: 0 0 14px rgba(25, 39, 81, 0.55);
  animation: thpScan 3s linear infinite;
  z-index: 3;
  pointer-events: none;
}

@keyframes thpScan {
  0% {
    top: -2px;
    opacity: 0.9;
  }

  85% {
    opacity: 0.9;
  }

  100% {
    top: 102%;
    opacity: 0;
  }
}

.thp-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
}

.thp-item.active {
  display: flex;
  animation: thpSlideIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}


@keyframes thpSlideIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

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

.thp-item-icon {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(25, 39, 81, 0.1), rgba(25, 39, 81, 0.04));
  border: 1.5px solid rgba(25, 39, 81, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.thp-item-icon.thp-icon-orange {
  background: linear-gradient(135deg, rgba(242, 102, 34, 0.1), rgba(242, 102, 34, 0.04));
  border-color: rgba(242, 102, 34, 0.22);
  color: var(--secondary-color);
}

.thp-icon-ring {
  position: absolute;
  inset: -10px;
  border-radius: 20px;
  border: 2px solid rgba(25, 39, 81, 0.3);
  animation: thpIconPulse 2s ease-out infinite;
}

.thp-icon-orange .thp-icon-ring {
  border-color: rgba(242, 102, 34, 0.3);
}

@keyframes thpIconPulse {
  0% {
    transform: scale(0.85);
    opacity: 1;
  }

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

.thp-item-content {
  flex: 1;
  min-width: 0;
}

.thp-item-label {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--primary-color);
  margin-bottom: 0.3rem;
  opacity: 0.75;
}

.thp-item-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.25;
  margin-bottom: 0.2rem;
}

.thp-item-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.thp-item-stat {
  text-align: right;
  flex-shrink: 0;
}

.thp-stat-num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.thp-stat-label {
  font-size: 0.64rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.thp-nav {
  border-top: 1px solid var(--border-color);
  background: #F8FAFC;
  position: relative;
  overflow: hidden;
}

.thp-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transition: width 0.06s linear;
}

.thp-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.75rem;
}

.thp-nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
}

.thp-nav-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--primary-color);
}



/* Remove Bootstrap dropdown caret — reset borders only, keep ::after for hover underline */
.navbar-custom .dropdown-toggle::after {
  border-top: 0 !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  border-left: 0 !important;
  margin-left: 0 !important;
  vertical-align: 0 !important;
}

/* ================================================
   UNIFIED NAVBAR + DROPDOWN — One seamless panel
   No borders, no gap, navbar + dropdown = 1 block
   BLUR FIX: backdrop-filter only on dropdown so
   hero background actually blurs through properly
   ================================================ */
@media (min-width: 992px) {

  /* ── HERO state (before scroll) ─────────────────
     Navbar: dark colour overlay only (NO backdrop-filter)
     Keeping it filter-free lets the dropdown below
     blur the real hero background directly.         */
  .navbar-custom.dark-hero-nav:not(.scrolled):has(.nav-item.dropdown:hover) {
    background: rgba(6, 12, 30, 0.78) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
  }

  /* Dropdown: semi-transparent + strong blur = frosted glass
     The hero image behind it blurs through beautifully      */
  .navbar-custom.dark-hero-nav:not(.scrolled) .dropdown-menu.mega-menu {
    margin-top: 0 !important;
    border: none !important;
    border-radius: 0 0 20px 20px !important;
    background: rgba(6, 12, 30, 0.42) !important;
    backdrop-filter: blur(40px) saturate(200%) brightness(0.85) !important;
    -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(0.85) !important;
    box-shadow: 0 32px 72px rgba(0, 0, 0, 0.60) !important;
  }

  /* ── SCROLLED state (white) ──────────────────────
     Navbar is already white; dropdown clean white   */
  .navbar-custom.scrolled:has(.nav-item.dropdown:hover) {
    box-shadow: none !important;
    border-bottom: none !important;
  }

  .navbar-custom.scrolled .dropdown-menu.mega-menu {
    margin-top: 0 !important;
    border: none !important;
    border-radius: 0 0 20px 20px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    box-shadow: 0 32px 64px rgba(18, 59, 122, 0.12) !important;
  }

}

/* =============================================
   ABOUT PAGE — ANIMATED TECH ILLUSTRATION
   ============================================= */
.about-illustration-container {
  position: relative;
  width: 100%;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-core-wrapper {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background grid effect */
.tech-core-grid {
  position: absolute;
  width: 140px;
  height: 140px;
  background-image:
    radial-gradient(rgba(25, 39, 81, 0.15) 1.5px, transparent 1.5px),
    radial-gradient(rgba(25, 39, 81, 0.15) 1.5px, transparent 1.5px);
  background-size: 15px 15px;
  background-position: 0 0, 7.5px 7.5px;
  opacity: 0.85;
  border-radius: 50%;
  animation: gridPulse 4s ease-in-out infinite alternate;
}

/* Three overlapping rotating rings with dashes and gradients */
.tech-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px dashed rgba(25, 39, 81, 0.25);
  box-shadow: 0 0 10px rgba(25, 39, 81, 0.05);
}

.tech-ring-1 {
  width: 180px;
  height: 180px;
  border: 1.5px dashed rgba(25, 39, 81, 0.4);
  animation: spinCW 22s linear infinite;
}

.tech-ring-2 {
  width: 140px;
  height: 140px;
  border: 2px dotted rgba(242, 102, 34, 0.5);
  /* secondary color accent */
  animation: spinCCW 15s linear infinite;
}

.tech-ring-3 {
  width: 100px;
  height: 100px;
  border: 1px solid rgba(25, 39, 81, 0.35);
  border-top-color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  animation: spinCW 8s linear infinite;
}

/* Center core node containing animated CPU icon */
.tech-core-node {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.5rem;
  box-shadow:
    0 0 25px rgba(25, 39, 81, 0.5),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
  z-index: 2;
  animation: corePulse 2.5s ease-in-out infinite alternate;
}

.tech-core-node i {
  animation: cpuSpin 5s ease-in-out infinite alternate;
}

/* Orbiting node points */
.orbiting-node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--secondary-color);
  box-shadow: 0 0 12px var(--secondary-color);
  z-index: 3;
}

.node-a {
  animation: orbitA 6s linear infinite;
}

.node-b {
  animation: orbitB 9s linear infinite;
}

/* Keyframes animations */
@keyframes spinCW {
  from {
    transform: rotate(0deg);
  }

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

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

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

@keyframes gridPulse {
  0% {
    transform: scale(0.92);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.08);
    opacity: 0.95;
  }
}

@keyframes corePulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 15px rgba(25, 39, 81, 0.4);
  }

  100% {
    transform: scale(1.06);
    box-shadow: 0 0 30px rgba(25, 39, 81, 0.7);
  }
}

@keyframes cpuSpin {
  0% {
    transform: scale(0.9);
  }

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

@keyframes orbitA {
  0% {
    transform: rotate(0deg) translateX(70px) rotate(0deg);
  }

  100% {
    transform: rotate(360deg) translateX(70px) rotate(-360deg);
  }
}

@keyframes orbitB {
  0% {
    transform: rotate(360deg) translateX(90px) rotate(-360deg);
  }

  100% {
    transform: rotate(0deg) translateX(90px) rotate(0deg);
  }
}

/* =============================================
   ABOUT PAGE — UNIFIED DASHBOARD PANEL
   ============================================= */
.tech-dashboard-panel {
  background: transparent;
  border: none;
  border-radius: 24px;
  box-shadow: none;
  padding: 0;
  position: relative;
  overflow: visible;
  z-index: 1;
}

/* Internal glass cards for Mission & Vision inside dark dashboard */
.about-mission-vision-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color) !important;
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 20px rgba(18, 59, 122, 0.06);
  z-index: 2;
}

.about-mission-vision-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
}

.mission-card-premium::before {
  background: linear-gradient(to bottom, var(--primary-color), rgba(25, 39, 81, 0.2));
  box-shadow: 0 0 10px rgba(25, 39, 81, 0.5);
}

.vision-card-premium::before {
  background: linear-gradient(to bottom, var(--secondary-color), rgba(242, 102, 34, 0.2));
  box-shadow: 0 0 10px rgba(242, 102, 34, 0.5);
}

.about-mission-vision-card:hover {
  transform: translateX(4px);
  background: #FFFFFF;
  border-color: rgba(25, 39, 81, 0.25) !important;
  box-shadow:
    0 8px 30px rgba(18, 59, 122, 0.10),
    0 0 15px rgba(25, 39, 81, 0.06);
}

.about-mission-vision-card h4 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.about-mission-vision-card p {
  color: var(--text-secondary) !important;
  line-height: 1.45;
}

.about-mission-vision-card .text-primary-blue {
  color: var(--primary-color) !important;
}

.about-mission-vision-card .text-orange {
  color: #f26622 !important;
}

/* Responsive fixes for Dashboard elements */
@media (max-width: 767px) {
  .tech-dashboard-panel {
    padding: 1.25rem;
  }
}

/* =============================================
   ABOUT — MISSION & VISION CARD ANIMATIONS
   ============================================= */

/* Animated pulsing icon wrapper */
.mv-icon-wrap {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  z-index: 2;
}

.mission-icon-wrap {
  background: linear-gradient(135deg, rgba(25, 39, 81, 0.25), rgba(25, 39, 81, 0.08));
  border: 1px solid rgba(25, 39, 81, 0.4);
  color: #60A5FA;
  box-shadow: 0 0 20px rgba(25, 39, 81, 0.2);
  animation: iconGlowBlue 2.8s ease-in-out infinite alternate;
}

.vision-icon-wrap {
  background: linear-gradient(135deg, rgba(242, 102, 34, 0.25), rgba(242, 102, 34, 0.08));
  border: 1px solid rgba(242, 102, 34, 0.4);
  color: #FB923C;
  box-shadow: 0 0 20px rgba(242, 102, 34, 0.2);
  animation: iconGlowOrange 2.8s ease-in-out infinite alternate;
}

@keyframes iconGlowBlue {
  from {
    box-shadow: 0 0 10px rgba(25, 39, 81, 0.25);
    transform: scale(0.97);
  }

  to {
    box-shadow: 0 0 28px rgba(25, 39, 81, 0.55), 0 0 50px rgba(25, 39, 81, 0.15);
    transform: scale(1.04);
  }
}

@keyframes iconGlowOrange {
  from {
    box-shadow: 0 0 10px rgba(242, 102, 34, 0.25);
    transform: scale(0.97);
  }

  to {
    box-shadow: 0 0 28px rgba(242, 102, 34, 0.55), 0 0 50px rgba(242, 102, 34, 0.15);
    transform: scale(1.04);
  }
}

/* Floating particles inside the card */
.mv-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
}

.mv-p1 {
  width: 6px;
  height: 6px;
  background: rgba(25, 39, 81, 0.55);
  top: 18%;
  left: 80%;
  animation: particleFloat1 5s ease-in-out infinite;
}

.mv-p2 {
  width: 4px;
  height: 4px;
  background: rgba(25, 39, 81, 0.4);
  top: 65%;
  left: 90%;
  animation: particleFloat2 6.5s ease-in-out infinite 1s;
}

.mv-p3 {
  width: 8px;
  height: 8px;
  background: rgba(25, 39, 81, 0.25);
  top: 40%;
  left: 95%;
  animation: particleFloat3 4.5s ease-in-out infinite 0.5s;
}

.vision-p.mv-p1 {
  background: rgba(242, 102, 34, 0.55);
}

.vision-p.mv-p2 {
  background: rgba(242, 102, 34, 0.4);
}

.vision-p.mv-p3 {
  background: rgba(242, 102, 34, 0.25);
}

@keyframes particleFloat1 {

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

  20% {
    opacity: 1;
  }

  80% {
    opacity: 0.6;
  }

  100% {
    transform: translateY(-30px) scale(1.2);
  }
}

@keyframes particleFloat2 {

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

  30% {
    opacity: 0.9;
  }

  70% {
    opacity: 0.4;
  }

  100% {
    transform: translateY(-40px) scale(1.1);
  }
}

@keyframes particleFloat3 {

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

  40% {
    opacity: 0.7;
  }

  80% {
    opacity: 0.2;
  }

  100% {
    transform: translateY(-20px) scale(0.9);
  }
}

/* Animated glowing border around the card on hover */
.about-mission-vision-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.mission-card-premium:hover {
  border-color: rgba(25, 39, 81, 0.4) !important;
  box-shadow: 0 8px 40px rgba(25, 39, 81, 0.18), inset 0 0 30px rgba(25, 39, 81, 0.04) !important;
}

.vision-card-premium:hover {
  border-color: rgba(242, 102, 34, 0.4) !important;
  box-shadow: 0 8px 40px rgba(242, 102, 34, 0.18), inset 0 0 30px rgba(242, 102, 34, 0.04) !important;
}

/* Animated bottom shimmer line inside each card */
.mission-card-premium::after,
.vision-card-premium::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  border-radius: 0 0 0 16px;
  transition: width 0.5s ease;
}

.mission-card-premium::after {
  background: linear-gradient(90deg, var(--primary-color), transparent);
}

.vision-card-premium::after {
  background: linear-gradient(90deg, var(--secondary-color), transparent);
}

.mission-card-premium:hover::after,
.vision-card-premium:hover::after {
  width: 100%;
}

/* =============================================
   CORE VALUES — SMOOTH FLIP CARD
   ============================================= */

/* 3D Perspective container */
.flip-card {
  perspective: 900px;
  width: 100%;
  cursor: pointer;
}

/* The flipper wrapper */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 220px;
  transform-style: preserve-3d;
  transition: transform 0.75s cubic-bezier(0.4, 0.2, 0.2, 1);
  border-radius: 14px;
}

/* Flip on hover */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Front & Back shared styles */
.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 220px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  text-align: center;
}

/* FRONT — clean white card */
.flip-card-front {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 24px rgba(18, 59, 122, 0.07);
}

.flip-card-front i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  transition: transform 0.4s ease;
}

.flip-card:hover .flip-card-front i {
  transform: scale(1.15);
}

.flip-card-front h5 {
  color: var(--text-primary);
  font-weight: 700;
  margin: 0;
}

/* BACK — rotated 180deg, coloured gradient */
.flip-card-back {
  transform: rotateY(180deg);
  color: #FFFFFF;
}

.flip-card-back i {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.flip-card-back h5 {
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #FFFFFF;
}

.flip-card-back p {
  font-size: 0.82rem;
  line-height: 1.55;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

/* Per-card back gradient themes */
.flip-back-blue {
  background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
  box-shadow: 0 12px 40px rgba(25, 39, 81, 0.35);
}

.flip-back-indigo {
  background: linear-gradient(135deg, #3730a3, #4F46E5);
  box-shadow: 0 12px 40px rgba(79, 70, 229, 0.35);
}

.flip-back-teal {
  background: linear-gradient(135deg, #0d9488, #14B8A6);
  box-shadow: 0 12px 40px rgba(20, 184, 166, 0.35);
}

.flip-back-orange {
  background: linear-gradient(135deg, #bd460c, #f26622);
  box-shadow: 0 12px 40px rgba(242, 102, 34, 0.35);
}

/* =============================================
   CORE VALUES — PREMIUM STATIC TECH CARDS
   ============================================= */
.premium-value-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.25rem 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(18, 59, 122, 0.04);
  overflow: hidden;
  z-index: 1;
}

/* Background soft decorative blur circle */
.premium-value-card::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  top: -60px;
  right: -60px;
  background: radial-gradient(circle, rgba(25, 39, 81, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 0;
}

/* Hover effects */
.premium-value-card:hover {
  transform: translateY(-8px);
  border-color: rgba(25, 39, 81, 0.18);
  box-shadow:
    0 20px 40px rgba(18, 59, 122, 0.08),
    0 1px 3px rgba(25, 39, 81, 0.04);
}

.premium-value-card:hover::before {
  transform: scale(1.8);
  background: radial-gradient(circle, rgba(25, 39, 81, 0.09) 0%, rgba(255, 255, 255, 0) 70%);
}

/* Icon Box Wrapper */
.val-icon-box {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

/* Icon scale up on card hover */
.premium-value-card:hover .val-icon-box {
  transform: scale(1.08) translateY(-2px);
}

/* Specific Accent Colors for Icon Box */
.box-blue {
  background: rgba(25, 39, 81, 0.07);
  color: var(--primary-color);
  border: 1px solid rgba(25, 39, 81, 0.15);
}

.premium-value-card:hover .box-blue {
  background: var(--primary-color);
  color: #FFFFFF;
  box-shadow: 0 10px 25px rgba(25, 39, 81, 0.3);
  border-color: var(--primary-color);
}

.box-indigo {
  background: rgba(79, 70, 229, 0.07);
  color: #4F46E5;
  border: 1px solid rgba(79, 70, 229, 0.15);
}

.premium-value-card:hover .box-indigo {
  background: #4F46E5;
  color: #FFFFFF;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3);
  border-color: #4F46E5;
}

.box-teal {
  background: rgba(20, 184, 166, 0.07);
  color: #0D9488;
  border: 1px solid rgba(20, 184, 166, 0.15);
}

.premium-value-card:hover .box-teal {
  background: #0D9488;
  color: #FFFFFF;
  box-shadow: 0 10px 25px rgba(20, 184, 166, 0.3);
  border-color: #0D9488;
}

.box-orange {
  background: rgba(242, 102, 34, 0.07);
  color: var(--secondary-color);
  border: 1px solid rgba(242, 102, 34, 0.15);
}

.premium-value-card:hover .box-orange {
  background: var(--secondary-color);
  color: #FFFFFF;
  box-shadow: 0 10px 25px rgba(242, 102, 34, 0.3);
  border-color: var(--secondary-color);
}

.premium-value-card h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
  z-index: 2;
}

.premium-value-card p {
  line-height: 1.5;
  z-index: 2;
}

/* =============================================
   SERVICES PAGE — FULL REDESIGN
   ============================================= */

/* ── Hero ── */
.svc-hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.svc-hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.svc-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.05);
  transition: opacity 1.2s ease, transform 6s ease;
}

.svc-hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.svc-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(10, 18, 42, 0.82) 0%,
      rgba(15, 30, 70, 0.65) 50%,
      rgba(10, 18, 42, 0.55) 100%);
  z-index: 1;
}

.svc-hero .container {
  position: relative;
  z-index: 2;
  padding-top: 100px;
}

.svc-hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.svc-hero-gradient {
  background: linear-gradient(90deg, #60A5FA, #38BDF8, #34D399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.svc-hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: 0;
}

/* Carousel dots */
.svc-hero-dots {
  position: absolute;
  bottom: 2.5rem;
  left: 0;
  display: flex;
  gap: 8px;
}

.svc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.35s ease;
  padding: 0;
}

.svc-dot.active {
  width: 28px;
  border-radius: 4px;
  background: #60A5FA;
}

/* White-outline button */
.btn-custom-outline-white {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #FFFFFF;
  border-radius: 50px;
  padding: 0.7rem 1.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-custom-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

/* White solid button */
.btn-custom-white-solid {
  background: #FFFFFF;
  border: 2px solid #FFFFFF;
  color: var(--primary-color);
  border-radius: 50px;
  padding: 0.7rem 1.8rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-custom-white-solid:hover {
  background: transparent;
  color: #FFFFFF;
}

/* ── Stats Bar ── */
.svc-stats-bar {
  background: var(--primary-color);
  padding: 1.5rem 0;
}

.svc-stat-item {
  padding: 0.75rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.svc-stat-item:last-child {
  border-right: none;
}

.svc-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
}

.svc-stat-lbl {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* ── Category headers ── */
.svc-category-header {
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.svc-category-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

.svc-cat-pill {
  display: inline-block;
  padding: 0.35rem 1.1rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pill-blue {
  background: rgba(25, 39, 81, 0.1);
  color: var(--primary-color);
  border: 1px solid rgba(25, 39, 81, 0.2);
}

.pill-indigo {
  background: rgba(79, 70, 229, 0.1);
  color: #4F46E5;
  border: 1px solid rgba(79, 70, 229, 0.2);
}

.pill-orange {
  background: rgba(242, 102, 34, 0.1);
  color: var(--secondary-color);
  border: 1px solid rgba(242, 102, 34, 0.2);
}

/* ── Service Cards ── */
.svc-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s ease;
}

.svc-card:hover {
  transform: translateY(-8px);
  border-color: rgba(25, 39, 81, 0.2);
  box-shadow: 0 24px 56px rgba(18, 59, 122, 0.1);
}

/* Card image top section */
.svc-card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}

.svc-card-wide .svc-card-img-wrap {
  height: 220px;
}

.svc-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.svc-card:hover .svc-card-img {
  transform: scale(1.06);
}

/* Overlay on image with icon circle */
.svc-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(10, 18, 42, 0.15) 0%,
      rgba(10, 18, 42, 0.55) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  transition: background 0.4s ease;
}

.svc-card:hover .svc-card-img-overlay {
  background: linear-gradient(to bottom,
      rgba(10, 18, 42, 0.25) 0%,
      rgba(25, 39, 81, 0.6) 100%);
}

.svc-card-icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(25, 39, 81, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #FFFFFF;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.35s ease;
}

.svc-card:hover .svc-card-icon-circle {
  transform: scale(1.12) translateY(-2px);
}

.svc-card-icon-circle.icon-orange {
  background: rgba(242, 102, 34, 0.85);
}

.svc-card:hover .svc-card-icon-circle.icon-orange {
  background: var(--secondary-color);
}

/* Card body */
.svc-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Badges */
.svc-badge {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-blue {
  background: rgba(25, 39, 81, 0.08);
  color: var(--primary-color);
}

.badge-indigo {
  background: rgba(79, 70, 229, 0.08);
  color: #4F46E5;
}

.badge-orange {
  background: rgba(242, 102, 34, 0.08);
  color: var(--secondary-color);
}

.svc-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  transition: color 0.3s ease;
}

.svc-card:hover .svc-card-title {
  color: var(--primary-color);
}

.svc-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1rem;
}

/* Feature list inside card */
.svc-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.svc-features-list li {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.svc-features-list li i {
  color: #10B981;
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.svc-features-list.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 1rem;
}

/* CTA link at bottom of card */
.svc-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.25s ease, color 0.25s ease;
}

.svc-card-cta:hover {
  color: var(--primary-hover);
  gap: 0.75rem;
}

/* ── CTA Banner ── */
.svc-cta-banner {
  padding: 0 0 3rem;
}

.svc-cta-inner {
  background: linear-gradient(135deg, var(--primary-color), #1e40af, #312e81);
  border-radius: 24px;
  padding: 3rem;
}

.text-white-70 {
  color: rgba(255, 255, 255, 0.72);
}

/* =============================================
   INNER PAGES — Full-Screen Hero (matches home)
   ============================================= */
.page-hero {
  padding-top: 140px;
  padding-bottom: 3.5rem;
  min-height: auto;
  background: linear-gradient(135deg, rgb(242 102 34 / 39%) 0%, rgba(248, 250, 252, 0.85) 55%, #ffffff 100%);
  border-bottom: 1px solid rgba(242, 102, 34, 0.15);
}

.page-hero .section-title-tag {
  background: rgba(242, 102, 34, 0.12);
  color: #f26622 !important;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(242, 102, 34, 0.25);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 0.85rem;
}

.page-hero .hero-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.25;
  margin-bottom: 0.9rem;
}

.page-hero .hero-subtitle {
  font-size: 1.05rem;
  max-width: 620px;
  margin-bottom: 1.5rem;
}

/* Breadcrumb row */
.page-hero .breadcrumb-custom {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.page-hero .breadcrumb-custom a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.page-hero .breadcrumb-custom a:hover {
  color: #FFFFFF;
}

.page-hero .breadcrumb-custom i {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
}

.page-hero .breadcrumb-custom span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}

/* Dots inside page hero (bottom-left) */
.page-hero-dots {
  position: static;
  margin-top: 1.5rem;
}

/* =============================================
   MOBILE NAVBAR — Full Fix
   Prevents white-on-white text in open mobile menu
   ============================================= */
@media (max-width: 991.98px) {

  /* 1. Collapse panel: transparent background (no card border/shadow) */
  .navbar-custom .navbar-collapse {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0.5rem 0 !important;
    margin-top: 0.5rem !important;
  }

  /* 2. All nav-links inside panel: dark text */
  .navbar-custom .navbar-collapse .nav-link,
  .navbar-custom.dark-hero-nav .navbar-collapse .nav-link,
  .navbar-custom.dark-hero-nav:not(.scrolled) .navbar-collapse .nav-link {
    color: var(--text-primary) !important;
    font-weight: 600;
  }

  .navbar-custom .navbar-collapse .nav-link:hover,
  .navbar-custom.dark-hero-nav .navbar-collapse .nav-link:hover,
  .navbar-custom.dark-hero-nav:not(.scrolled) .navbar-collapse .nav-link:hover,
  .navbar-custom .navbar-collapse .nav-link.active,
  .navbar-custom.dark-hero-nav:not(.scrolled) .navbar-collapse .nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(25, 39, 81, 0.06) !important;
    border-left-color: var(--primary-color) !important;
  }

  /* 3. Services mega-menu inside mobile: white bg, dark text */
  .navbar-custom .dropdown-menu.mega-menu,
  .navbar-custom.dark-hero-nav:not(.scrolled) .dropdown-menu.mega-menu {
    background: #FFFFFF !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 8px 24px rgba(18, 59, 122, 0.08) !important;
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: none;
    margin: 0.5rem 0 0 0;
    padding: 1rem;
    border-radius: var(--br-sm) !important;
  }

  /* Bootstrap show class for mobile dropdown */
  .navbar-custom .dropdown-menu.mega-menu.show {
    display: block !important;
  }

  /* Mega menu text: dark on mobile */
  .navbar-custom.dark-hero-nav:not(.scrolled) .dropdown-menu.mega-menu .mega-menu-title {
    color: var(--primary-color) !important;
    border-bottom-color: var(--border-color) !important;
  }

  .navbar-custom.dark-hero-nav:not(.scrolled) .dropdown-menu.mega-menu .mega-menu-link {
    color: var(--text-primary) !important;
  }

  .navbar-custom.dark-hero-nav:not(.scrolled) .dropdown-menu.mega-menu .mega-menu-link:hover {
    background: rgba(25, 39, 81, 0.06) !important;
    color: var(--primary-color) !important;
  }

  .navbar-custom.dark-hero-nav:not(.scrolled) .dropdown-menu.mega-menu .mega-menu-link-desc {
    color: var(--text-secondary) !important;
  }

  .navbar-custom.dark-hero-nav:not(.scrolled) .dropdown-menu.mega-menu .mega-menu-link i {
    color: var(--primary-color) !important;
  }

  /* 4. Hamburger toggler icon — dark when menu is open */
  .navbar-custom.mobile-menu-open .navbar-toggler-icon,
  .navbar-custom.dark-hero-nav.mobile-menu-open .navbar-toggler-icon {
    filter: none !important;
  }

  /* 5. Navbar bar itself: solid white when open */
  .navbar-custom.mobile-menu-open,
  .navbar-custom.dark-hero-nav.mobile-menu-open {
    background: #FFFFFF !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 4px 25px rgba(15, 23, 42, 0.08) !important;
  }

  /* 6. Brand: dark when menu is open */
  .navbar-custom.mobile-menu-open .navbar-brand,
  .navbar-custom.dark-hero-nav.mobile-menu-open .navbar-brand {
    color: var(--primary-color) !important;
  }

  .navbar-custom.mobile-menu-open .navbar-brand span,
  .navbar-custom.dark-hero-nav.mobile-menu-open .navbar-brand span {
    color: var(--secondary-color) !important;
  }

  /* Style Get a Quote button as primary color button in mobile view */
  .navbar-custom .navbar-collapse .btn-liquid-glass-nav {
    background: var(--primary-color) !important;
    color: #FFFFFF !important;
    border: 1px solid var(--primary-color) !important;
    box-shadow: 0 4px 15px rgba(25, 39, 81, 0.25) !important;
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
    font-weight: 600;
  }

  .navbar-custom .navbar-collapse .btn-liquid-glass-nav:hover {
    background: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
  }


  /* 7. Dropdown caret for nav items */
  .navbar-custom .navbar-collapse .dropdown-toggle::after {
    border-color: var(--text-primary) transparent transparent !important;
  }

  /* Compact Cards overrides on Mobile */
  .project-card .project-img-wrapper {
    height: 150px !important;
  }

  .project-card .project-img-wrapper i {
    font-size: 3.2rem !important;
  }

  .project-card .project-body {
    padding: 1.25rem 1rem !important;
  }

  .project-card h4 {
    font-size: 1.15rem !important;
    margin-bottom: 0.5rem !important;
  }

  .project-card p {
    font-size: 0.85rem !important;
    margin-bottom: 1rem !important;
    line-height: 1.5 !important;
  }

  .project-metrics {
    padding-top: 1rem !important;
  }

  .metric-box h6 {
    font-size: 1.1rem !important;
    margin-bottom: 2px !important;
  }

  .metric-box span {
    font-size: 0.72rem !important;
  }

  /* Compact Services Page Cards on Mobile */
  .svc-card .svc-card-img-wrap,
  .svc-card-wide .svc-card-img-wrap {
    height: 150px !important;
  }

  .svc-card .svc-card-body {
    padding: 1.25rem 1rem !important;
  }

  .svc-card .svc-card-title {
    font-size: 1.12rem !important;
    margin-bottom: 0.5rem !important;
  }

  .svc-card .svc-card-desc {
    font-size: 0.82rem !important;
    margin-bottom: 0.85rem !important;
    line-height: 1.5 !important;
  }

  .svc-features-list {
    margin-bottom: 1rem !important;
    gap: 0.35rem !important;
  }

  .svc-features-list.two-col {
    grid-template-columns: 1fr !important;
    /* Stack columns on small screens */
    gap: 0.35rem !important;
  }

  .svc-features-list li {
    font-size: 0.78rem !important;
  }

  /* Compact Value Cards (About page) on Mobile */
  .premium-value-card {
    padding: 1.5rem 1.15rem !important;
  }

  .premium-value-card h4 {
    font-size: 1.12rem !important;
    margin-top: 1rem !important;
  }

  .premium-value-card p {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
  }

  /* Compact Mission/Vision Cards on Mobile */
  .about-mission-vision-card {
    padding: 1.5rem 1.25rem !important;
  }

  .about-mission-vision-card h4 {
    font-size: 1.2rem !important;
  }

  .about-mission-vision-card p {
    font-size: 0.85rem !important;
  }

  /* Compact Homepage Service Cards on Mobile */
  .service-card {
    padding: 1.5rem 1.25rem !important;
  }

  .service-card .icon-wrapper {
    width: 50px !important;
    height: 50px !important;
    font-size: 1.35rem !important;
    margin-bottom: 1rem !important;
  }

  .service-card h4 {
    font-size: 1.12rem !important;
    margin-bottom: 0.5rem !important;
  }

  .service-card p {
    font-size: 0.84rem !important;
    margin-bottom: 1rem !important;
    line-height: 1.5 !important;
  }

  .service-card .learn-more-btn {
    font-size: 0.82rem !important;
  }

  /* Compact Homepage Industry Grid Cards on Mobile */
  .industry-card {
    padding: 1.75rem 1.25rem !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 200px !important;
  }

  .industry-card i {
    font-size: 2rem !important;
    margin-bottom: 0.85rem !important;
    text-align: center !important;
    display: block !important;
  }

  .industry-card h5 {
    font-size: 1.1rem !important;
    margin-bottom: 0.5rem !important;
    text-align: center !important;
    color: var(--text-primary) !important;
  }

  .industry-card p {
    opacity: 1 !important;
    transform: none !important;
    font-size: 0.82rem !important;
    text-align: center !important;
    margin-top: 0.25rem !important;
    color: var(--text-secondary) !important;
  }

  /* Enlarge and Stack Home Page Hero Buttons on Mobile for readability & accessibility */
  .btn-liquid-glass {
    padding: 1.05rem 2.5rem !important;
    font-size: .8rem !important;
    width: 100% !important;
    justify-content: center !important;
    border-radius: 12px !important;
  }

  /* Tech Highlights Panel Mobile alignment fixes (Compact Horizontal) */
  .thp-display {
    height: 96px !important;
    /* Fixed height on mobile to prevent layout shifts */
  }

  .thp-item.active {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.85rem 1rem !important;
    text-align: left !important;
  }

  .thp-item-icon {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.2rem !important;
    border-radius: 10px !important;
    margin: 0 !important;
  }

  .thp-icon-ring {
    inset: -6px !important;
    border-radius: 14px !important;
  }

  .thp-item-content {
    flex: 1 !important;
    min-width: 0 !important;
    text-align: left !important;
  }

  .thp-item-label {
    font-size: 0.52rem !important;
    letter-spacing: 0.08em !important;
    margin-bottom: 0.15rem !important;
  }

  .thp-item-title {
    font-size: 0.85rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.1rem !important;
  }

  .thp-item-sub {
    font-size: 0.7rem !important;
  }

  .thp-item-stat {
    text-align: right !important;
    flex-shrink: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: none !important;
    width: auto !important;
  }

  .thp-stat-num {
    font-size: 1.2rem !important;
    margin-bottom: 0 !important;
    line-height: 1.1 !important;
  }

  .thp-stat-label {
    font-size: 0.56rem !important;
    line-height: 1.1 !important;
  }

  .thp-header-title {
    font-size: 0.58rem !important;
  }

  .thp-live-badge {
    padding: 2px 4px !important;
    font-size: 0.52rem !important;
  }
}







/* Services CTA banner alignment on mobile */
@media (max-width: 991.98px) {
  .svc-cta-inner {
    text-align: center !important;
    padding: 2.5rem 1.5rem !important;
  }

  .svc-cta-inner h2 {
    font-size: 1.85rem !important;
    margin-bottom: 0.8rem !important;
    line-height: 1.25 !important;
  }

  .svc-cta-inner p {
    font-size: 0.92rem !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.5 !important;
  }

  .svc-cta-inner .col-lg-4 {
    display: flex;
    justify-content: center;
  }

  .svc-cta-inner .btn-custom-white-solid {
    width: auto !important;
    max-width: 100%;
    padding: 0.8rem 1.8rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: normal !important;
  }
}

/* Custom Accordion for Industries (Mobile) */
.accordion-custom {
  --bs-accordion-border-color: var(--border-color);
  --bs-accordion-btn-focus-box-shadow: none;
}

.accordion-custom .accordion-item {
  border: 1px solid var(--border-color) !important;
  border-radius: var(--br-md) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
  background-color: #FFFFFF !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-custom .accordion-button {
  background-color: #FFFFFF !important;
  color: var(--text-primary) !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  border-radius: var(--br-md) !important;
  border: none !important;
  box-shadow: none !important;
  transition: all var(--transition-fast);
}

.accordion-custom .accordion-button:not(.collapsed) {
  background-color: var(--light-bg) !important;
  color: var(--primary-color) !important;
  border-bottom: 1px solid var(--border-color) !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.accordion-custom .accordion-button::after {
  background-size: 1.1rem;
}

.accordion-custom .accordion-button i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

/* Careers Page Job Listing Card Styles (vertical stacked layout) */
.job-listing-item {
  display: block;
  width: 100%;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--br-md) !important;
  padding: 1.75rem !important;
  background-color: #FFFFFF !important;
  transition: all var(--transition-normal) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01) !important;
}

.job-listing-item:hover {
  border-color: var(--primary-color) !important;
  box-shadow: 0 10px 25px rgba(18, 59, 122, 0.08) !important;
  transform: translateY(-4px) !important;
}



/* ── Premium Advantage Cards (.whyus-card) ── */
.whyus-card {
  position: relative;
  background-color: rgb(255 255 255 / 45%);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color) !important;
  border-radius: var(--br-md) !important;
  transition: all var(--transition-normal) !important;
  overflow: hidden;
  z-index: 1;
}

.whyus-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(25, 39, 81, 0.4) !important;
  box-shadow: 0 15px 35px rgba(25, 39, 81, 0.08) !important;
  background-color: #FFFFFF !important;
}

/* Bottom sliding colored shimmer highlight */
.whyus-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transition: width var(--transition-normal);
  z-index: 2;
}

.whyus-card:hover::after {
  width: 100%;
}

/* Icon hover spin & zoom micro-animation */
.whyus-card .transition-icon {
  transition: all var(--transition-normal) !important;
  color: var(--primary-color) !important;
}

.whyus-card:hover .transition-icon {
  transform: scale(1) rotate(0deg);
  color: var(--secondary-color) !important;
  text-shadow: 0 0 15px rgba(242, 102, 34, 0.35);
}



/* ── Advinia Assistant Chat Widget ── */
.advinia-chat-widget {
  position: fixed;
  bottom: 165px;
  /* Sits above the email button which is at 95px */
  right: 30px;
  width: 360px;
  height: 480px;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--br-md);
  box-shadow: 0 15px 40px rgba(18, 59, 122, 0.15);
  z-index: 1001;
  /* Above floating buttons */
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.advinia-chat-widget.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Chat Header */
.advinia-chat-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 1.2rem;
  color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-bot-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.chat-status {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 4px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10B981;
  /* green */
  display: inline-block;
  animation: blinkStatus 1.5s infinite alternate;
}

@keyframes blinkStatus {
  from {
    opacity: 0.4;
  }

  to {
    opacity: 1;
  }
}

.chat-close-btn {
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.chat-close-btn:hover {
  opacity: 1;
}

/* Chat Body */
.advinia-chat-body {
  flex: 1;
  padding: 1.2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: var(--light-bg);
}

/* Message styling */
.chat-message {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: var(--br-sm);
  font-size: 0.875rem;
  line-height: 1.45;
  animation: messageFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

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

.bot-message {
  background-color: var(--bg-color);
  color: var(--text-primary);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border: 1px solid var(--border-color);
}

.user-message {
  background-color: var(--primary-color);
  color: #FFFFFF;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.bot-message a {
  text-decoration: underline;
  font-weight: 600;
}

/* Quick Replies */
.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0.5rem;
}

.quick-reply-btn {
  background-color: var(--bg-color);
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.4rem 0.85rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.quick-reply-btn:hover {
  background-color: var(--primary-color);
  color: #FFFFFF;
}

/* Typing indicator */
.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 0.75rem 1rem;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--br-sm);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background-color: var(--text-secondary);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out;
  opacity: 0.6;
}

.typing-dot:nth-child(1) {
  animation-delay: -0.32s;
}

.typing-dot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes typingBounce {

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

  40% {
    transform: scale(1);
  }
}

/* Chat Footer */
.advinia-chat-footer {
  padding: 0.75rem;
  background-color: var(--bg-color);
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 8px;
}

.advinia-chat-footer .form-control {
  border-radius: 50px;
  font-size: 0.875rem;
}

#adviniaChatSend {
  border-radius: 50%;
  width: 38px;
  height: 38px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

#adviniaChatSend:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}



/* Responsive adjust for mobile */
@media (max-width: 480px) {
  .advinia-chat-widget {
    width: calc(100% - 40px);
    right: 20px;
    bottom: 160px;
    height: 400px;
  }
}

/* ── Services Page Zig-Zag Layout ── */
.svc-zigzag-container {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  margin-top: 2rem;
}

.svc-zigzag-row {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 30px;
  overflow: hidden;
  padding: 2.5rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s ease;
  box-shadow: 0 10px 30px rgba(18, 59, 122, 0.03);
}

.svc-zigzag-row:hover {
  border-color: rgba(25, 39, 81, 0.15);
  box-shadow: 0 30px 70px rgba(18, 59, 122, 0.08);
  transform: translateY(-4px);
}

.svc-card-img-wrap-horizontal {
  position: relative;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(10, 18, 42, 0.12);
}

.svc-zigzag-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-zigzag-row:hover .svc-zigzag-img {
  transform: scale(1.05);
}

.svc-zigzag-row .svc-card-icon-circle {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 50px;
  height: 50px;
  font-size: 1.4rem;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.svc-zigzag-body {
  padding: 0 1rem;
}

.svc-zigzag-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 991.98px) {
  .svc-zigzag-container {
    gap: 2.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .svc-zigzag-row {
    padding: 1.25rem;
    border-radius: 20px;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .svc-card-img-wrap-horizontal {
    height: 210px;
    border-radius: 16px;
  }

  .svc-zigzag-row .svc-card-icon-circle {
    top: 14px;
    left: 14px;
    width: 42px;
    height: 42px;
    font-size: 1.15rem;
  }

  .svc-zigzag-body {
    padding: 0.75rem 0 0;
    text-align: left !important;
  }

  .svc-zigzag-body h3 {
    font-size: 1.35rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.6rem !important;
  }

  .svc-zigzag-desc {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    margin-bottom: 1rem !important;
  }

  .svc-features-list {
    margin-bottom: 1.25rem !important;
  }

  .svc-features-list li {
    font-size: 0.88rem !important;
    line-height: 1.45 !important;
    padding: 0.35rem 0 !important;
  }
}

@media (max-width: 576px) {
  .svc-zigzag-container {
    padding-left: 0;
    padding-right: 0;
  }

  .svc-card-img-wrap-horizontal {
    height: 185px;
  }

  .svc-zigzag-row {
    padding: 1.25rem 1rem;
    border-radius: 18px;
    margin-left: 0.25rem !important;
    margin-right: 0.25rem !important;
  }

  .svc-zigzag-body h3 {
    font-size: 1.25rem !important;
  }
}

/* Custom Accordion for IT Services */
.svc-accordion {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
  background: transparent;
}

.svc-accordion .accordion-item {
  border: none;
  border-bottom: 1px solid var(--border-color);
  background: transparent;
}

.svc-accordion .accordion-item:last-child {
  border-bottom: none;
}

.svc-accordion .accordion-button {
  background-color: #F8FAFC;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 1rem 1.25rem;
  box-shadow: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.svc-accordion .accordion-button:not(.collapsed) {
  background-color: rgba(25, 39, 81, 0.04);
  color: var(--primary-color);
}

.svc-accordion .accordion-button::after {
  filter: brightness(0.2);
}

.svc-accordion .accordion-button:not(.collapsed)::after {
  filter: brightness(0.5) sepia(1) hue-rotate(190deg) saturate(5);
}

.svc-accordion .accordion-body {
  padding: 1.25rem;
  background-color: #FFFFFF;
}

.svc-accordion .svc-features-list {
  margin-bottom: 0;
  gap: 0.6rem;
}

/* =============================================
   CUSTOM SIMPLIFIED DROPDOWN FOR NAVBAR (Full Width & Flex Row)
   ============================================= */
@media (min-width: 992px) {
  .dropdown-menu-custom {
    display: block !important;
    /* CRITICAL: Override Bootstrap default display: none */
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    /* Apple Glass Light Bg */
    backdrop-filter: blur(35px) saturate(200%);
    -webkit-backdrop-filter: blur(35px) saturate(200%);
    border-left: none;
    border-right: none;
    border-top: 1px solid rgba(255, 255, 255, 0.45);
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 0;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.08);
    padding: 2.8rem 0;
    width: 100%;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 15px;
    /* Added spacing below navbar */
    pointer-events: none;
    /* Prevent hover triggers when hidden */
  }

  .navbar-custom.dark-hero-nav:not(.scrolled) .dropdown-menu-custom {
    background: rgba(10, 25, 47, 0.65);
    /* Apple Glass Dark Bg */
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  }

  .navbar-custom .nav-item.dropdown:hover .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    /* Enable clicks/events on open */
  }

  .navbar-custom .dropdown-menu-custom::before {
    content: '';
    position: absolute;
    top: -16px;
    /* Bridge the 15px margin gap to keep dropdown open */
    left: 0;
    width: 100%;
    height: 16px;
    background: transparent;
    z-index: -1;
  }

  .dropdown-menu-inner-flex {
    display: flex;
    flex-direction: row;
    gap: 1.8rem;
    width: 100%;
  }
}

.dropdown-item-custom {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.2rem;
  text-decoration: none;
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  /* Subtle glass highlight */
  min-height: 190px;
}

/* Color cards based on user image with liquid glass gradients */
.dropdown-item-custom.card-pharma {
  background: linear-gradient(135deg, rgba(255, 242, 242, 0.75), rgba(255, 225, 225, 0.55));
}

.dropdown-item-custom.card-it {
  background: linear-gradient(135deg, rgba(235, 241, 255, 0.75), rgba(215, 228, 255, 0.55));
}

.dropdown-item-custom.card-staffing {
  background: linear-gradient(135deg, rgba(245, 238, 252, 0.75), rgba(230, 215, 248, 0.55));
}

/* Dark mode overrides when transparent navbar (Glassmorphism with matching glowing borders) */
.navbar-custom.dark-hero-nav:not(.scrolled) .dropdown-item-custom.card-pharma {
  background: linear-gradient(135deg, rgba(255, 122, 122, 0.12), rgba(255, 122, 122, 0.04));
  border-color: rgba(255, 122, 122, 0.25);
}

.navbar-custom.dark-hero-nav:not(.scrolled) .dropdown-item-custom.card-it {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(59, 130, 246, 0.04));
  border-color: rgba(59, 130, 246, 0.25);
}

.navbar-custom.dark-hero-nav:not(.scrolled) .dropdown-item-custom.card-staffing {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(168, 85, 247, 0.04));
  border-color: rgba(168, 85, 247, 0.25);
}

/* Hover effects */
.dropdown-item-custom:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.navbar-custom.dark-hero-nav:not(.scrolled) .dropdown-item-custom:hover {
  background-color: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.dropdown-item-custom.card-pharma:hover {
  border-color: rgba(255, 122, 122, 0.6);
}

.dropdown-item-custom.card-it:hover {
  border-color: rgba(59, 130, 246, 0.6);
}

.dropdown-item-custom.card-staffing:hover {
  border-color: rgba(168, 85, 247, 0.6);
}

/* Title text */
.dropdown-item-title {
  font-weight: 800;
  font-size: 1.7rem;
  color: #0A192F;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.navbar-custom.dark-hero-nav:not(.scrolled) .dropdown-item-title {
  color: #FFFFFF;
}

/* Description text */
.dropdown-item-desc {
  font-size: 0.9rem;
  color: #4A5568;
  line-height: 1.45;
}

.navbar-custom.dark-hero-nav:not(.scrolled) .dropdown-item-desc {
  color: rgba(255, 255, 255, 0.65);
}

/* Arrow layout in bottom row */
.dropdown-item-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 1.5rem;
  width: 100%;
}

.dropdown-item-arrow {
  font-size: 1.5rem;
  color: #0A192F;
  line-height: 1;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-custom.dark-hero-nav:not(.scrolled) .dropdown-item-arrow {
  color: #FFFFFF;
}

.dropdown-item-custom:hover .dropdown-item-arrow {
  transform: translateX(6px);
}

/* Mobile dropdown menu overrides */
@media (max-width: 991.98px) {
  .dropdown-menu-custom {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: none;
    width: 100% !important;
    min-width: unset !important;
    pointer-events: auto;
  }

  .dropdown-menu-custom.show {
    display: block !important;
  }

  /* Hide the desktop container/flex wrapper inside — show as simple list */
  .dropdown-menu-custom .container {
    padding: 0 !important;
    max-width: none !important;
  }

  .dropdown-menu-inner-flex {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 4px 0 8px 16px !important;
    border-left: 3px solid var(--secondary-color) !important;
    margin: 4px 0 8px 0 !important;
  }

  .dropdown-item-custom {
    display: flex !important;
    align-items: center !important;
    padding: 10px 12px !important;
    color: var(--primary-color) !important;
    background: rgba(37, 99, 235, 0.04) !important;
    border-radius: 8px !important;
    margin-bottom: 4px !important;
    border: none !important;
    min-height: auto !important;
    text-decoration: none !important;
    transition: background 0.2s;
  }

  .dropdown-item-custom:hover {
    background: rgba(249, 115, 22, 0.08) !important;
    color: var(--secondary-color) !important;
    transform: none !important;
    box-shadow: none !important;
  }

  .dropdown-item-title {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    margin-bottom: 0 !important;
    color: inherit !important;
    flex: 1;
  }

  .dropdown-item-bottom-row {
    display: none !important;
    /* Hide description & arrow on mobile */
  }

  .dropdown-item-desc,
  .dropdown-item-arrow {
    display: none !important;
  }

  /* Show icons on mobile */
  .dropdown-item-custom .bi {
    font-size: 1rem;
    margin-right: 8px;
    opacity: 0.75;
  }
}

/* Premium Blog Card Component */
.blog-card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--br-md);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(25, 39, 81, 0.18);
  box-shadow: var(--hover-shadow);
}

.blog-card-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-card-img {
  transform: scale(1.05);
}

.blog-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.blog-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.blog-card-meta i {
  color: var(--primary-color);
  margin-right: 4px;
}

.blog-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.blog-card-title a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.blog-card-title a:hover {
  color: var(--secondary-color);
}

.blog-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-card-footer {
  margin-top: auto;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 1rem;
}

.blog-card-link {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast), gap var(--transition-fast);
}

.blog-card-link i {
  transition: transform var(--transition-fast);
}

.blog-card-link:hover {
  color: var(--secondary-color);
  gap: 10px;
}

.blog-card-link:hover i {
  transform: translateX(2px);
}

/* ==========================================================================
   MOBILE LEFT-ALIGNMENT FOR ALL CONTENT
   ========================================================================== */
.blog-img-wrap {
  width: 100%;
  max-width: 240px;
  height: 180px;
  border-radius: var(--br-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.blog-img-wrap svg {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 991.98px) {

  /* Standardise typography to left alignment */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  .section-title,
  .section-subtitle,
  .section-title-tag,
  .hero-title,
  .hero-subtitle {
    text-align: left !important;
  }

  /* Mobile hero title typography scaling */
  .hero-title,
  .page-hero .hero-title {
    font-size: clamp(1.65rem, 5vw, 2.2rem) !important;
    line-height: 1.35 !important;
  }

  /* Mobile section title typography scaling */
  h2,
  .section-title,
  section h2,
  .cta-section h2 {
    font-size: clamp(1.4rem, 4.5vw, 1.85rem) !important;
    line-height: 1.32 !important;
  }

  /* Force left-alignment for section headers and text-center containers on mobile */
  section .text-center,
  .container>.text-center,
  div.text-center,
  header.text-center {
    text-align: left !important;
  }

  /* Exception: Keep glass-panel card content centered if explicitly marked text-center */
  .glass-panel.text-center h5,
  .glass-panel.text-center p {
    text-align: center !important;
  }

  /* Subtitles & tag alignment fixes (prevent auto-margins from centering them) */
  .section-subtitle,
  .hero-subtitle,
  .section-title-tag,
  .section-title-tag.mx-auto,
  .section-subtitle.mx-auto,
  .process-timeline {
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left !important;
  }

  .section-title-tag {
    display: inline-block !important;
  }

  .section-subtitle {
    display: block !important;
  }

  /* Align slide container and CTA rows left on mobile, but keep buttons centered */
  .hero-slide-container .row,
  .cta-section .row {
    justify-content: flex-start !important;
  }

  /* Guarantee all buttons have centered text and centered flex content */
  .btn,
  .btn-custom,
  button,
  input[type="submit"],
  .cta-form button,
  .btn.justify-content-center,
  button.justify-content-center {
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
  }

  /* Slide indicators positioned left */
  .hero-slider-dots {
    left: 1.5rem !important;
    transform: none !important;
  }

  /* Timeline step text left alignment */
  .process-step {
    text-align: left !important;
  }

  /* Full-width blog card image on mobile */
  .blog-img-wrap {
    max-width: 100% !important;
    width: 100% !important;
    height: 190px !important;
  }
}

@media (max-width: 576px) {
  .container {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  .hero-title,
  .page-hero .hero-title {
    font-size: 1.6rem !important;
    line-height: 1.38 !important;
  }

  h2,
  .section-title,
  section h2,
  .cta-section h2 {
    font-size: 1.38rem !important;
    line-height: 1.35 !important;
  }
}

/* ==========================================================================
   UNIFIED SPLIT NAVBAR DROPDOWN & CHEVRON CARET
   ========================================================================== */
.nav-dropdown-split {
  display: flex;
  align-items: center;
  position: relative;
}

.nav-dropdown-split .nav-link {
  margin-right: 0 !important;
  padding-right: 4px !important;
}

.nav-dropdown-caret {
  background: transparent !important;
  border: none !important;
  padding: 0.5rem 0.6rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  font-size: 0.8rem !important;
  outline: none !important;
}

/* Rotate caret chevron on desktop hover */
.navbar-custom .nav-item.dropdown:hover .nav-dropdown-caret {
  transform: rotate(180deg) !important;
}

/* Color adaptivity based on navbar scrolled state (desktop only) */
@media (min-width: 992px) {
  .navbar-custom.dark-hero-nav:not(.scrolled) .nav-dropdown-caret {
    color: rgba(255, 255, 255, 0.85) !important;
  }

  .navbar-custom.scrolled .nav-dropdown-caret,
  .navbar-custom:not(.dark-hero-nav) .nav-dropdown-caret {
    color: var(--text-primary) !important;
  }
}

/* Mobile dropdown layouts and triggers */
@media (max-width: 991.98px) {
  .nav-dropdown-split {
    width: 100%;
    justify-content: space-between;
    background: rgba(37, 99, 235, 0.04);
    border-radius: 8px;
    padding: 0 8px;
    margin-bottom: 4px;
    border-left: 3px solid transparent;
    transition: border-color 0.2s, background 0.2s;
  }

  /* Left orange border if active on mobile */
  .nav-dropdown-split:has(.active) {
    border-left-color: var(--secondary-color) !important;
  }

  .nav-dropdown-split .nav-link {
    flex-grow: 1;
    padding: 12px 8px !important;
    text-align: left !important;
  }

  .nav-dropdown-caret {
    padding: 12px 16px !important;
    border-left: 1px solid rgba(0, 0, 0, 0.08) !important;
    font-size: 0.95rem !important;
    color: var(--primary-color) !important;
    border-radius: 0 8px 8px 0 !important;
  }

  /* Rotate caret chevron on mobile when dropdown is shown */
  .nav-dropdown-split:has(+ .dropdown-menu-custom.show) .nav-dropdown-caret {
    transform: rotate(180deg) !important;
  }
}

/* Services Stats Bar Mobile Styling */
@media (max-width: 767.98px) {
  .svc-stat-item {
    border-right: none !important;
    border-bottom: none !important;
    padding: 1.25rem 0.5rem !important;
  }

  /* Left column items get vertical divider on right */
  .svc-stat-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
  }

  /* Top row items get horizontal divider on bottom */
  .svc-stat-item:nth-child(1),
  .svc-stat-item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  }

  .svc-stat-num {
    font-size: 1.6rem !important;
  }

  .svc-stat-lbl {
    font-size: 0.68rem !important;
    letter-spacing: 0.04em !important;
    line-height: 1.3 !important;
  }
}

/* ==========================================================================
   DIRECTOR CARDS PREMIUM HOVER EFFECT
   ========================================================================== */
.director-img-container {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 320px;
  width: 100%;
}

.director-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.director-img-container:hover .director-img {
  transform: scale(1.08);
}

.director-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.4) 60%, rgba(10, 25, 47, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.director-img-container:hover .director-overlay {
  opacity: 1;
}

.director-name-hover {
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 2px;
  transform: translateY(15px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.director-img-container:hover .director-name-hover {
  transform: translateY(0);
}

.director-role-hover {
  color: #fb923c;
  /* premium orange accent */
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  transform: translateY(15px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.05s;
}

.director-img-container:hover .director-role-hover {
  transform: translateY(0);
}

/* ==========================================================================
   FOOTER CONTACT LIST LAYOUT STYLE
   ========================================================================== */
.footer-contact-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-contact-list li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin-bottom: 1.2rem !important;
  color: var(--text-secondary) !important;
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
}

.footer-contact-list li i {
  color: var(--primary-color) !important;
  font-size: 1.1rem !important;
  margin-top: 2px !important;
  flex-shrink: 0 !important;
}

.footer-contact-list li div {
  flex-grow: 1;
}

.footer-contact-list li a {
  color: var(--text-secondary) !important;
  text-decoration: none !important;
  transition: all var(--transition-fast) !important;
}

.footer-contact-list li a:hover {
  color: var(--primary-color) !important;
  text-decoration: underline !important;
}

/* ==========================================================================
   Page Hero & Navbar color overrides for light background (non-homepage)
   ========================================================================== */

/* Target only pages with .page-hero */
body:has(.page-hero) .page-hero .hero-title {
  color: #000000 !important;
  text-shadow: none !important;
}

body:has(.page-hero) .page-hero .hero-subtitle {
  color: #000000 !important;
  opacity: 0.85;
}

body:has(.page-hero) .page-hero .breadcrumb-custom a {
  color: rgba(0, 0, 0, 0.6) !important;
}

body:has(.page-hero) .page-hero .breadcrumb-custom a:hover {
  color: #000000 !important;
}

body:has(.page-hero) .page-hero .breadcrumb-custom i {
  color: rgba(0, 0, 0, 0.4) !important;
}

body:has(.page-hero) .page-hero .breadcrumb-custom span {
  color: rgba(0, 0, 0, 0.8) !important;
}

/* Navbar text/button/logo override on non-scrolled state for light inner heroes */
@media (min-width: 992px) {
  body:has(.page-hero) .navbar-custom.dark-hero-nav:not(.scrolled) .nav-link {
    color: var(--text-primary) !important;
  }

  body:has(.page-hero) .navbar-custom.dark-hero-nav:not(.scrolled) .nav-link:hover,
  body:has(.page-hero) .navbar-custom.dark-hero-nav:not(.scrolled) .nav-link.active {
    color: var(--primary-color) !important;
  }

  body:has(.page-hero) .navbar-custom.dark-hero-nav:not(.scrolled) .nav-dropdown-caret {
    color: var(--text-primary) !important;
  }
}

body:has(.page-hero) .navbar-custom:not(.scrolled) .navbar-brand .logo-white {
  display: none !important;
}

body:has(.page-hero) .navbar-custom:not(.scrolled) .navbar-brand .logo-color {
  display: block !important;
}

body:has(.page-hero) .navbar-custom:not(.scrolled) .btn-liquid-glass-nav {
  background: linear-gradient(135deg, rgba(25, 39, 81, 0.9) 0%, rgba(25, 39, 81, 0.75) 100%) !important;
  border: 1px solid rgba(25, 39, 81, 0.3) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 15px rgba(25, 39, 81, 0.15) !important;
}

/* Homepage Hero Section Title Tag Color override */
.hero-section .section-title-tag {
  color: #FFFFFF !important;
}