/* Custom Styles for Cosmic Cranachan */

/* Text Selection Color */
::selection {
  background-color: #1543b4 !important;
  color: #ffffff !important;
}

::-moz-selection {
  background-color: #1543b4 !important;
  color: #ffffff !important;
}

/* Fix loading screen solid background globally */
#loading-screen {
  background: var(--theme-bg-color) !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  color: inherit !important;
  pointer-events: all;
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 99999 !important;
}

#cursor,
#cursor-follower {
  display: none !important;
}

/* Disable JS cursor globally */
html {
  scroll-behavior: smooth;
  color-scheme: light only;
}

/* Base body styles */
body {
  cursor: url("../assets/cursor.png"), auto;
  /* Use custom image cursor */
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  color-scheme: light only;
}

/* Force custom cursor on all interactive elements */
body,
a,
button,
[role="button"],
input,
select,
textarea,
label,
.cursor-pointer {
  cursor: url("../assets/cursor.png"), auto !important;
}
#hero {
  min-height: 91vh;
}

/* Fix for dropdown links to show normal hand cursor */
.about-panel a,
.dropdown-panel a,
.capabilities-panel a,
.resources-panel a {
  cursor: pointer !important;
}

/* Hide scrollbar for cleaner look */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Mobile menu open state */
.mobile-menu-open {
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

/* Mobile menu overlay — z-[100] Tailwind arbitrary class is not compiled in output.css */
#mobile-menu {
  z-index: 100;
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Hamburger button — must always be on top and clickable */
#mobile-menu-btn {
  position: relative;
  z-index: 60;
  pointer-events: auto !important;
}

/* Navbar Full Base Style */
.navbar-full {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  pointer-events: none;
  transition: all 0.5s ease;
  background-color: transparent;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  background:white;
}

/* Generic Section Container (Responsive Widths & Spacing) */
.section-container {
  width: 92%;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .section-container {
    width: 94%;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1024px) {
  .section-container {
    width: 96%;
  }
}

@media (min-width: 1280px) {
  .section-container {
    width: 94%;
  }
}

/* Global Variables */
:root {
  --theme-bg-color: rgb(22, 66, 179);
  color-scheme: light only;
}

/* Navigation scrolled state */
.nav-scrolled {
  background-color: var(--theme-bg-color) !important;
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
  border-bottom: none !important;
  box-shadow:
    0 10px 40px -10px rgba(2, 12, 27, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset !important;
}

/* Make top-level nav links white when scrolled */
#navigation.nav-scrolled
  .section-container
  > div.hidden.lg\:flex
  > a:not(.bg-red-600),
#navigation.nav-scrolled
  .section-container
  > div.hidden.lg\:flex
  > div.group
  > a {
  color: white !important;
}

/* Lighter blue for active links and hover state on dark scrolled nav */
#navigation.nav-scrolled
  .section-container
  > div.hidden.lg\:flex
  > a.active-nav-link,
#navigation.nav-scrolled
  .section-container
  > div.hidden.lg\:flex
  > a:not(.bg-red-600):hover,
#navigation.nav-scrolled
  .section-container
  > div.hidden.lg\:flex
  > div.group
  > a:hover {
  color: #60a5fa !important;
}

/* Mobile burger menu icon color when scrolled */
#navigation.nav-scrolled #mobile-menu-btn {
  color: white !important;
}

/* CTA button white/blue on dark scrolled nav */
#navigation.nav-scrolled .nav-cta-btn {
  background-color: white !important;
  border-color: white !important;
  color: #1642b3 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

#navigation.nav-scrolled .nav-cta-btn .span-mother span,
#navigation.nav-scrolled .nav-cta-btn .span-mother2 span {
  color: #1642b3 !important;
}

#navigation.nav-scrolled .nav-cta-btn:hover {
  background-color: #f0f4ff !important;
  color: #0d328f !important;
}

/* Dropdown open state */
.dropdown-open .dropdown-panel {
  opacity: 1 !important;
  transform: translateY(0) !important;
  visibility: visible !important;
}

.dropdown-open .dropdown-arrow {
  transform: rotate(180deg) !important;
}

/* Pulse-slow animation removed for performance */

/* Manifesto text (no word splitting needed) */

/* Service card initial state for GSAP animation */
.service-card {
  will-change: transform, opacity;
}

/* Stat label initial state */
.stat-label {
  will-change: transform, opacity;
}

/* Stat divider initial state */
.stat-divider {
  will-change: transform;
  transform-origin: center top;
}

/* Touch device cursor fix */
@media (hover: none) and (pointer: coarse) {
  body {
    cursor: auto !important;
  }

  #cursor,
  #cursor-follower {
    display: none !important;
    /* Hide JS cursor elements */
  }
}

/* Paper Background Texture */
.paper-bg {
  background-image: url("../assets/paper-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Marquee Animation */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee {
  animation: marquee 30s linear infinite;
  transform: translateZ(0);
}

.animate-marquee:hover {
  animation-play-state: paused;
}

.animate-marquee-slow {
  animation: marquee 50s linear infinite;
  transform: translateZ(0);
}

.animate-marquee-slow:hover {
  animation-play-state: paused;
}

/* Horizontal Scroll Snap */
.snap-x-mandatory {
  scroll-snap-type: x mandatory;
}

.snap-center {
  scroll-snap-align: center;
}

/* Hide scrollbar but keep functionality */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Glassmorphism Card (no backdrop-filter for performance) */
.glass-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* =========================================
   Realistic Wooden Awards Rack Theme
   ========================================= */

.awards-rack {
  background-image: url("../assets/wood-texture.png");
  background-size: 500px;
  /* Adjust based on texture resolution */
  background-repeat: repeat;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.8);
  border-top: 8px solid #232c3e;
  border-bottom: 8px solid #232c3e;
}

/* Engraved Text Effect */
.text-shadow-engraved {
  text-shadow:
    1px 1px 0 rgba(255, 255, 255, 0.2),
    -1px -1px 0 rgba(0, 0, 0, 0.8);
}

/* Wooden Plate for Header */
.wooden-plate {
  background: linear-gradient(180deg, #2e414e 0%, #2e414e 100%);
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Individual Cubby/Compartment */
.award-cubby {
  position: relative;
  height: 280px;
  /* Fixed height for uniformity */
  background: #281815;
  /* Darker recess color */
  border: 8px solid #232c3e;
  /* Frame */
  border-radius: 4px;
  box-shadow:
    inset 0 0 40px rgba(0, 0, 0, 0.9),
    /* Internal deep shadow */ 0 5px 10px rgba(0, 0, 0, 0.5);
  /* External drop shadow */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.3s ease;
  padding: 20px;
}

.award-cubby:hover {
  transform: translateY(-2px);
}

/* Spotlight Effect in Cubby */
.spotlight {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    rgba(255, 215, 0, 0.15) 0%,
    transparent 60%
  );
  pointer-events: none;
  mix-blend-mode: soft-light;
  /* flicker animation removed for scroll performance */
  opacity: 0.9;
}

@keyframes flicker {
  0%,
  100% {
    opacity: 0.8;
  }

  50% {
    opacity: 1;
  }
}

/* 3D Award Image Positioning */
.award-img {
  position: relative;
  max-height: 154px;
  width: auto;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.6));
  transform: perspective(600px) rotateX(10deg);
  /* Slight tilt back */
  transition: all 0.4s ease;
  margin-bottom: auto;
  z-index: 2;
}

.award-cubby:hover .award-img {
  transform: perspective(400px) rotateX(0deg) scale(1.1);
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.5));
}

/* Brass Plaque Nameplate */
.award-plaque {
  background: linear-gradient(to bottom, #f0e68c, #daa520, #b8860b);
  padding: 4px 12px;
  border-radius: 2px;
  border: 1px solid #8b4513;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  margin-bottom: 10px;
  z-index: 3;
  position: relative;
}

/* Realistic Screw Heads on Plaque */
.award-plaque::before,
.award-plaque::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: #3e2723;
  border-radius: 50%;
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.8);
}

.award-plaque::before {
  left: 4px;
}

.award-plaque::after {
  right: 4px;
}

/* Darker Gridlines for Hero Background */
.hero-gridlines {
  background-image:
    linear-gradient(to right, rgba(22, 66, 179, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(22, 66, 179, 0.07) 1px, transparent 1px);
  background-size: 6rem 6rem;
  background-position: center center;
}

/* =========================================
   Tech Ecosystem Custom Styles
   ========================================= */

.tech-content-grid {
  transition: opacity 0.4s ease-in-out;
}

/* Active tab text color transition & styling for tech ecosystem (light theme) */
.tech-tab {
  background-color: #ffffff !important;
  border-color: #e5e7eb !important;
  transition: all 0.3s ease !important;
}

.tech-tab span {
  color: #4b5563 !important; /* text-gray-600 */
}

.tech-tab i {
  color: #9ca3af !important; /* text-gray-400 */
  opacity: 0;
  transition: all 0.3s ease !important;
}

/* Hover State */
.tech-tab:hover {
  background-color: #f9fafb !important; /* bg-gray-50 */
  border-color: rgba(22, 66, 179, 0.3) !important; /* border-brand-blue/30 */
}

.tech-tab:hover span {
  color: #1642b3 !important; /* Brand Blue */
}

.tech-tab:hover i {
  opacity: 1 !important;
  color: #1642b3 !important;
}

/* Active State */
.tech-tab.active {
  background-color: #eff6ff !important; /* bg-blue-50 */
  border-color: rgba(22, 66, 179, 0.3) !important; /* border-brand-blue/30 */
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
}

.tech-tab.active span {
  color: #1642b3 !important; /* Brand Blue */
}

.tech-tab.active i {
  color: #1642b3 !important;
  opacity: 1 !important;
}

/* Ensure the tech grids have exactly 5 columns on desktop, 3 on tablet, and 2 on mobile */
.tech-content-grid > .grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1rem !important;
}

@media (min-width: 768px) {
  .tech-content-grid > .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1024px) {
  .tech-content-grid > .grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

/* Make sure hidden grids don't block clicks */
.tech-content-grid.pointer-events-none {
  pointer-events: none;
}

/* Custom Thin Scrollbar for Tech Stack Grid */
.tech-scrollbar::-webkit-scrollbar {
  width: 6px;
}

.tech-scrollbar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
}

.tech-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(0, 163, 224, 0.3);
  /* Matches cosmic-berry */
  border-radius: 10px;
}

.tech-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 163, 224, 0.6);
}

/* Back to Top Button */
.button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgb(20, 20, 20);
  border: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 0px 4px rgba(160, 193, 255, 0.253);
  cursor: pointer;
  transition-duration: 0.3s;
  overflow: hidden;
  position: relative;
}

.svgIcon {
  width: 12px;
  transition-duration: 0.3s;
}

.svgIcon path {
  fill: white;
}

.button:hover {
  width: 140px;
  border-radius: 50px;
  transition-duration: 0.3s;
  background-color: rgb(0, 33, 115);
  align-items: center;
}

.button:hover .svgIcon {
  /* width: 20px; */
  transition-duration: 0.3s;
  transform: translateY(-200%);
}

.button::before {
  position: absolute;
  bottom: -20px;
  content: "Back to Top";
  color: white;
  /* transition-duration: .3s; */
  font-size: 0px;
}

.button:hover::before {
  font-size: 13px;
  opacity: 1;
  bottom: unset;
  /* transform: translateY(-30px); */
  transition-duration: 0.3s;
}

/* 3D Transform Utility for Hero Visual */
.preserve-3d {
  transform-style: preserve-3d;
}

/* Reverse Marquee Animation (Moves Right) */
@keyframes marquee-reverse {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

.animate-marquee-reverse {
  animation: marquee-reverse 35s linear infinite;
}

.animate-marquee-reverse:hover {
  animation-play-state: paused;
}

/* Adjust the original marquee to match speed */
.animate-marquee {
  animation: marquee 35s linear infinite;
}

/* Developer Pods Custom Styles */
.pod-dropdown-panel {
  width: 860px !important;
  max-width: calc(100vw - 4rem) !important;
}

.pod-menu-category {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7280;
  font-weight: 700;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 0.5rem;
}
.w-11 {
    width: 11%;
}
.pod-menu-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  background-color: transparent;
  text-decoration: none;
}

.pod-menu-item:hover {
  background-color: #f8fafc;
  border-color: #e2e8f0;
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.05);
}

.pod-menu-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.pod-menu-item:hover .pod-menu-icon {
  transform: scale(1.05);
}

.pod-menu-text {
  display: flex;
  flex-direction: column;
}

.pod-menu-title {
  font-weight: 600;
  color: #1f2937;
  font-size: 1rem;
  transition: color 0.2s ease;
  margin: 0;
  line-height: 1.2;
  margin-bottom: 3px;
}

.pod-menu-item:hover .pod-menu-title {
  color: #2563eb;
}

.pod-menu-desc {
  font-size: 0.75rem;
  color: #6b7280;
  margin: 0.2rem 0 0 0;
  line-height: 1.2;
  transition: color 0.2s ease;
}

.pod-menu-item:hover .pod-menu-desc {
  color: #4b5563;
}

/* Pod Icon Colors */
.pod-icon-purple {
  background-color: #faf5ff;
  color: #9333ea;
}
.pod-menu-item:hover .pod-icon-purple {
  background-color: #f3e8ff;
}

.pod-icon-blue {
  background-color: #eff6ff;
  color: #2563eb;
}
.pod-menu-item:hover .pod-icon-blue {
  background-color: #dbeafe;
}

.pod-icon-emerald {
  background-color: #ecfdf5;
  color: #059669;
}
.pod-menu-item:hover .pod-icon-emerald {
  background-color: #d1fae5;
}

.pod-icon-indigo {
  background-color: #eef2ff;
  color: #4f46e5;
}
.pod-menu-item:hover .pod-icon-indigo {
  background-color: #e0e7ff;
}

.pod-icon-sky {
  background-color: #f0f9ff;
  color: #0284c7;
}
.pod-menu-item:hover .pod-icon-sky {
  background-color: #e0f2fe;
}

.pod-icon-teal {
  background-color: #f0fdfa;
  color: #0d9488;
}
.pod-menu-item:hover .pod-icon-teal {
  background-color: #ccfbf1;
}

.pod-icon-orange {
  background-color: #fff7ed;
  color: #ea580c;
}
.pod-menu-item:hover .pod-icon-orange {
  background-color: #ffedd5;
}

.pod-icon-amber {
  background-color: #fffbeb;
  color: #d97706;
}
.pod-menu-item:hover .pod-icon-amber {
  background-color: #fef3c7;
}

.pod-icon-cyan {
  background-color: #ecfeff;
  color: #0891b2;
}
.pod-menu-item:hover .pod-icon-cyan {
  background-color: #cffafe;
}

.pod-icon-green {
  background-color: #f0fdf4;
  color: #16a34a;
}
.pod-menu-item:hover .pod-icon-green {
  background-color: #dcfce7;
}

.pod-icon-red {
  background-color: #fef2f2;
  color: #dc2626;
}
.pod-menu-item:hover .pod-icon-red {
  background-color: #fee2e2;
}

.pod-icon-rose {
  background-color: #fff1f2;
  color: #e11d48;
}
.pod-menu-item:hover .pod-icon-rose {
  background-color: #ffe4e6;
}

/* Chatbot UI Styles */
.chatbot-trigger {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, #3b82f6, #4f46e5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
  cursor: pointer;
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-trigger:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.6);
}

.chatbot-trigger i {
  transition: transform 0.3s ease;
}

.chatbot-trigger:hover i {
  animation: bounceIcon 1s ease infinite;
}

@keyframes bounceIcon {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

.chatbot-window {
  position: fixed;
  bottom: 6.5rem;
  right: 2rem;
  width: 380px;
  height: 520px;
  background: rgba(15, 23, 42, 0.95);
  /* Cosmic dark with opacity */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  display: flex;
  flex-direction: column;
  z-index: 9998;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: bottom right;
}

.chatbot-window.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.chatbot-header {
  padding: 1.2rem 1.5rem;
  background: linear-gradient(
    to right,
    rgba(59, 130, 246, 0.2),
    rgba(79, 70, 229, 0.1)
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chatbot-avatar {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, #3b82f6, #4f46e5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
  position: relative;
}

.chatbot-avatar::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background-color: #10b981;
  border: 2px solid #0f172a;
  border-radius: 50%;
}

.chatbot-title {
  color: white;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
}

.chatbot-subtitle {
  color: #94a3b8;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.chatbot-close {
  color: #94a3b8;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.2s;
  padding: 0.25rem;
  border-radius: 0.25rem;
}

.chatbot-close:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.chatbot-body {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  scroll-behavior: smooth;
  color: #cbd5e1;
  font-family: "Syne", sans-serif;
  font-size: 0.95rem;
}

/* Custom Scrollbar for Chat Body */
.chatbot-body::-webkit-scrollbar {
  width: 6px;
}

.chatbot-body::-webkit-scrollbar-track {
  background: transparent;
}

.chatbot-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.chatbot-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

.chat-message {
  max-width: 85%;
  padding: 0.8rem 1rem;
  border-radius: 1rem;
  line-height: 1.5;
  animation: slideInMsg 0.3s ease-out forwards;
  opacity: 0;
  transform: translateY(10px);
}

@keyframes slideInMsg {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-message.bot {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  align-self: flex-start;
  border-bottom-left-radius: 0.25rem;
}

.chat-message.user {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 0.25rem;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.chatbot-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.2);
}

.chatbot-input-container {
  display: flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2rem;
  padding: 0.25rem;
  transition: border-color 0.3s;
}

.chatbot-input-container:focus-within {
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

.chatbot-input {
  flex: 1;
  background: transparent;
  border: none;
  color: white;
  padding: 0.5rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
}

.chatbot-input::placeholder {
  color: #64748b;
}

.chatbot-send {
  background: linear-gradient(135deg, #3b82f6, #4f46e5);
  color: white;
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.chatbot-send:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.chatbot-send:active {
  transform: scale(0.95);
}

.chatbot-typing-indicator {
  display: none;
  align-items: center;
  gap: 4px;
  padding: 0.8rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  border-bottom-left-radius: 0.25rem;
  align-self: flex-start;
  width: fit-content;
}

.chatbot-typing-indicator.active {
  display: flex;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background-color: #94a3b8;
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.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);
    opacity: 0.5;
  }

  40% {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .chatbot-window {
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: none;
    transform: translateY(100%);
  }

  .chatbot-trigger {
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

/* =========================================
   Dynamic Connect Cards UI (Hover Effects)
   ========================================= */

.dynamic-hover-card {
  background-color: #042b4b;
  height: 320px;
  max-width: 320px;
  /* Base width */
  z-index: 0;
  box-shadow:
    0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
  transform: translateY(0) scale(1);
  position: relative;
  overflow: hidden;

  /* Hardware acceleration & optimized transitions */
  will-change: transform, max-width, box-shadow;
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    max-width 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Pseudo element for gradient transitions (much more performant than animating background) */
.dynamic-hover-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, #1543b4, #244ab0);
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
  pointer-events: none;
}

/* Ensure contents stay above pseudo background */
.dynamic-hover-card > * {
  position: relative;
  z-index: 10;
}

/* On hover, take on the "active/highlighted" design */
.dynamic-hover-card:hover {
  max-width: 325px;
  /* Keep horizontal expansion minimal */
  z-index: 20;
  /* Pop to front */
  box-shadow:
    0 25px 50px -12px rgb(0 0 0 / 0.25),
    0 0 25px rgba(249, 115, 22, 0.3);
  transform: translateY(-4px) scale(1.01);
}

.dynamic-hover-card:hover::before {
  opacity: 1;
}

/* Base button styling (matches 'Click Here' button) */
.dynamic-hover-card .card-btn {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  font-weight: bold;
  padding: 0.625rem 1.5rem;
  /* py-2.5 px-6 */
  border-radius: 9999px;
  min-width: fit-content;
  width: max-content;
  font-size: 0.875rem;
  /* text-sm */
  /* backdrop-filter: blur(4px); - Removed for performance */
  background-color: rgba(
    255,
    255,
    255,
    0.15
  ); /* Slightly increased opacity to compensate */
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-block;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hovered button styling (matches "Connect on WhatsApp" button) */
.dynamic-hover-card:hover .card-btn {
  background-color: white;
  color: #2326a9;
  padding: 0.75rem 1.5rem;
  /* py-3 px-6 */
  width: 100%;
  /* expands to full width */
  border-color: white;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

/* Adjust card icon color */
.dynamic-hover-card:hover .card-icon {
  color: white !important;
}

/* Light text transition */
.dynamic-hover-card:hover .card-text-light {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Divider line transition */
.dynamic-hover-card:hover .card-divider {
  background-color: rgba(255, 255, 255, 0.3) !important;
}

/* Desktop spacing adjustments because we removed inline styles */
@media (min-width: 768px) {
  .center-card {
    z-index: 10;
  }
}

.dynamic-hover-card .card-btn {
  text-align: center;
  box-sizing: border-box;
  /* Ensure padding doesn't affect 100% width negatively */
}

/* Ensure flex container handles the expanding widths gracefully */
.contact-cards-container {
  align-items: center;
}

/* Multi-step Form Active States */
.select-option.active-option {
  background-color: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow:
    0 0 15px rgba(37, 99, 235, 0.15),
    inset 0 0 0 1px rgba(37, 99, 235, 0.3);
}

.select-option.active-option .text-gray-300,
.select-option.active-option .text-gray-400 {
  color: white !important;
}

/* Premium Input & Autofill Fixes */
.premium-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: #3b82f6;
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.2);
  transform: translateY(-1px);
}

/* Force Autofill to stay dark/themed */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: white !important;
  -webkit-box-shadow: 0 0 0px 1000px var(--theme-bg-color) inset !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* =========================================
   Window Frame Hover Cards UI
   ========================================= */

.window-frame-card {
  will-change: transform, box-shadow;
  transform: translateZ(0);
  /* Force hardware acceleration */
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.window-frame-card:hover {
  transform: translateY(-8px);
}

/* Base timing and easing for the sliding glass pane */
.frame-glass {
  will-change: transform;
  transition-property: transform;
  transition-duration: 0.6s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base timing and easing for the glowing border frame */
.frame-border {
  will-change: transform;
  transition-property: transform;
  transition-duration: 0.7s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Ensure child elements inside card buttons don't block clicks */
.window-frame-card button *,
.window-frame-card a * {
  pointer-events: none;
}

/* =========================================
   Command Center Upgrades
   ========================================= */

/* Scrollable Chip Carousel Mask */
.chip-carousel-mask {
  -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
  mask-image: linear-gradient(to right, black 85%, transparent 100%);
}

/* Minimalist AI Thinking Dots */
.ai-thinking-dot {
  animation: aiThink 1.4s infinite ease-in-out both;
}

.ai-thinking-dot:nth-child(1) {
  animation-delay: -0.32s;
}

.ai-thinking-dot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes aiThink {
  0%,
  80%,
  100% {
    transform: scale(0.6);
    opacity: 0.4;
  }

  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* --- ADD TO BOTTOM OF styles.css --- */

/* Fix for Chip Icon Hover */
.suggestion-chip:hover i {
  color: rgb(5, 42, 115);
  transform: translateX(2px);
}

/* Ensure chips are always above the mask for better interaction */
.suggestion-chip {
  position: relative;
  z-index: 50;
  white-space: nowrap;
  user-select: none;
}

/* --- Optimized Chat Bubble UI (Insta DM Style) --- */

#chat-window {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px !important;
  background-color: #ffffff;
  /* Clean white background */
}

/* Base message bubble */
.chat-msg-container {
  display: flex;
  width: 100%;
  margin-bottom: 4px;
}

.chat-bubble {
  max-width: 75%;
  padding: 10px 16px;
  line-height: 1.5;
  position: relative;
}

/* Agent (Left Side) */
.agent-container {
  justify-content: flex-start;
  gap: 8px;
}

.agent-bubble {
  background: #f1f5f9;
  /* Soft gray */
  color: #1e293b;
  border-radius: 18px 18px 18px 4px;
  border: 1px solid #e2e8f0;
}

/* User (Right Side) */
.user-container {
  justify-content: flex-end;
}

.user-bubble {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  border-radius: 18px 18px 4px 18px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
  text-align: left;
}

/* Avatar sizing fix */
.chat-avatar-small {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

/* Chips Carousel Adjustment */
.chip-carousel-mask {
  margin-top: 8px;
  padding-left: 2px;
}

.suggestion-chip {
  font-size: 12px !important;
  /* Smaller text for chips */
  padding: 6px 12px !important;
}

/* Unified Chat Container */
.command-center-right {
  background: transparent !important;
  /* Remove any outer gray backgrounds */
}

/* Instagram-style dynamic bubbles */
.chat-msg-container {
  display: flex;
  width: 100%;
  margin-bottom: 8px;
  animation: messageIn 0.3s ease-out forwards;
}

.user-container {
  justify-content: flex-end;
}

.agent-container {
  justify-content: flex-start;
}

.chat-bubble {
  display: inline-block;
  max-width: fit-content;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.5;
  word-wrap: break-word;
}

.user-bubble {
  background: #0095f6;
  /* Instagram blue */
  color: white;
  border-radius: 18px 18px 4px 18px;
  margin-left: auto;
}

.agent-bubble {
  background: #efefef;
  /* Soft gray bubble */
  color: #262626;
  border-radius: 18px 18px 18px 4px;
}

/* Message animation */
@keyframes messageIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hide scrollbar while keeping functionality */
#chat-window {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#chat-window::-webkit-scrollbar {
  display: none;
}

/* --- Fix for Header Corner Overlap --- */
.command-center-right .flex-1.flex.flex-col > div:first-child {
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
}

/* Ensure the header background doesn't leak over the rounding */
.command-center-right .bg-white.rounded-\[2rem\] {
  isolation: isolate;
}

/* =========================================
   Agent Card Hub Styles
   ========================================= */

/* Base card */
.agent-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  text-align: left;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: pointer;
  width: 100%;
}

/* Mobile: compact horizontal cards */
@media (max-width: 1023px) {
  .agent-card {
    min-width: 160px;
    width: auto;
    padding: 12px 14px;
  }

  .agent-card-tags {
    display: none !important;
  }
}

.agent-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

/* Active card */
.agent-card.active {
  border-color: var(--agent-color, #1e3a8a);
  background: linear-gradient(
    135deg,
    var(--agent-bg, rgba(30, 58, 138, 0.04)),
    #fff 80%
  );
  box-shadow: 0 4px 24px
    color-mix(in srgb, var(--agent-color, #1e3a8a) 15%, transparent);
  transform: translateY(-1px);
}

/* Inherit custom properties from avatar to card level */
.agent-card.active {
  --agent-color: inherit;
  --agent-bg: inherit;
}

/* Inner row layout */
.agent-card-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

/* Avatar ring */
.agent-avatar-ring {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  padding: 3px;
  border: 2px solid transparent;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  position: relative;
}

.agent-avatar-ring.active {
  border-color: var(--agent-color, #1e3a8a);
  animation: avatarRingPulse 2.5s ease-in-out infinite;
}

/* Avatar circle */
.agent-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--agent-bg, rgba(30, 58, 138, 0.08));
  color: var(--agent-color, #1e3a8a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.35s ease;
}

.agent-card.active .agent-avatar {
  background: var(--agent-color, #1e3a8a);
  color: #fff;
  box-shadow: 0 4px 15px
    color-mix(in srgb, var(--agent-color, #1e3a8a) 30%, transparent);
}

/* Agent info */
.agent-info {
  flex: 1;
  min-width: 0;
}

.agent-name {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #1e293b;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.agent-card.active .agent-name {
  color: var(--agent-color, #1e3a8a);
}

.agent-role {
  font-size: 14px;
  color: #94a3b8;
  font-weight: 500;
  margin-top: 2px;
  letter-spacing: 0.01em;
}

/* Status dot */
.agent-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.agent-status-dot.active {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
  animation: dotPulse 2s ease-in-out infinite;
}

/* Tags row */
.agent-card-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  padding-left: 58px;
  /* align with text after avatar */
}

.agent-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: #f1f5f9;
  color: #64748b;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.agent-card.active .agent-tag {
  background: color-mix(in srgb, var(--agent-color, #1e3a8a) 8%, white);
  color: var(--agent-color, #1e3a8a);
  border-color: color-mix(
    in srgb,
    var(--agent-color, #1e3a8a) 15%,
    transparent
  );
}

/* Animations */
@keyframes avatarRingPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0
      color-mix(in srgb, var(--agent-color, #1e3a8a) 20%, transparent);
  }

  50% {
    box-shadow: 0 0 0 6px
      color-mix(in srgb, var(--agent-color, #1e3a8a) 0%, transparent);
  }
}

@keyframes dotPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.3);
  }
}

/* Fix inherited custom properties on active card */
.agent-card[data-agent="sales"].active {
  --agent-color: #1e3a8a;
  --agent-bg: rgba(30, 58, 138, 0.04);
}

.agent-card[data-agent="marketing"].active {
  --agent-color: #059669;
  --agent-bg: rgba(5, 150, 105, 0.04);
}

.agent-card[data-agent="dev"].active {
  --agent-color: #7c3aed;
  --agent-bg: rgba(124, 58, 237, 0.04);
}

/* Multi-step Form Active States - Light Theme */
.select-option.active-option {
  background-color: #eff6ff !important;
  /* blue-50 */
  border-color: #3b82f6 !important;
  /* blue-500 */
  color: #1d4ed8 !important;
  /* blue-700 */
  box-shadow:
    0 4px 12px rgba(59, 130, 246, 0.15),
    inset 0 0 0 1px rgba(59, 130, 246, 0.2) !important;
}

.select-option.active-option span,
.select-option.active-option i {
  color: #1d4ed8 !important;
  /* text-blue-700 */
}

/* Ensure autofill stays light themed */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: #111827 !important;
  -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* --- Premium Footer Link Animations --- */
.footer-link {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}

.footer-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: #3b82f6;
  /* Tailwind blue-500 */
  transition: width 0.3s ease-in-out;
}

.footer-link:hover::after {
  width: 100%;
}
/* =========================================
   Premium Light Footer — Xonier 2026
   ========================================= */

.xf-footer {
  position: relative;
  background: #ffffff;
  padding: 0 0 40px 0;
  overflow: hidden;
  font-family: "Space Grotesk", sans-serif;
  color: #4b5563; /* Tailwind gray-600 */
}

/* Background Wave Graphic */
.xf-bg-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 300px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.xf-bg-wave svg {
  width: 100%;
  height: 100%;
}

/* Giant Watermark */
.xf-watermark {
  position: absolute;
  top: 72%;
  left: 53%;
  transform: translate(-54%, -50%);
  font-size: 17vw;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  color: rgba(240, 244, 252, 0.9);
  letter-spacing: -0.1em;
  line-height: 0.9;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

/* Inner container */
.xf-inner {
  position: relative;
  z-index: 5;
  max-width: 1656px;
  margin: 0 auto;
  padding: 80px 60px 0;
}

/* ─── TOP ROW ─── */
.xf-top-row {
  display: flex;
  gap: 80px;
  margin-bottom: 80px;
}

/* ─── BRAND CARD ─── */
.xf-brand-card {
  flex: 0 0 320px;
  position: relative;
  overflow: hidden;
}

.xf-brand-card:hover {
  transform: translateY(-2px);
}

.xf-brand-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.xf-logo {
  width: 180px;
  height: auto;
  object-fit: contain;
}

/* Contact details */
.xf-contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.xf-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: #374151; /* gray-700 */
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.3s ease;
}

.xf-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eff6ff; /* blue-50 */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.xf-contact-item i {
  color: #3b82f6; /* blue-500 */
  font-size: 13px;
}

a.xf-contact-item:hover {
  color: #2563eb; /* blue-600 */
}

a.xf-contact-item:hover .xf-icon-wrap {
  background: #dbeafe; /* blue-100 */
}

.xf-address span {
  line-height: 1.6;
}

/* LinkedIn Button */
.xf-linkedin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  background: #f8fafc; /* slate-50 */
  border: 1px solid #e2e8f0; /* slate-200 */
  border-radius: 100px;
  color: #1e293b; /* slate-800 */
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 8px;
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.5),
    0 2px 5px rgba(0, 0, 0, 0.02);
}

.xf-linkedin-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.xf-linkedin-icon i {
  color: #ffffff;
  font-size: 14px;
}

.xf-linkedin-btn span {
  transition: color 0.3s ease;
}

.xf-linkedin-arrow {
  font-size: 12px !important;
  color: #3b82f6 !important;
  transition: all 0.3s ease !important;
  transform: translateX(0);
}

.xf-linkedin-btn:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px -8px rgba(59, 130, 246, 0.15);
}

.xf-linkedin-btn:hover .xf-linkedin-arrow {
  transform: translateX(4px) !important;
}

/* ─── LINKS AREA ─── */
.xf-links-area {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-top: 20px;
}

.xf-link-column {
  display: flex;
  flex-direction: column;
}

.xf-link-group {
  display: flex;
  flex-direction: column;
}

/* Headings */
.xf-heading {
  color: rgb(17, 24, 39);
  font-family: "Syne";
  font-weight: 700;
  font-size: 16px;
  margin: 0px 0px 32px;
  letter-spacing: 0.05em;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
}

.xf-heading-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eff6ff; /* blue-50 */
  display: flex;
  align-items: center;
  justify-content: center;
}

.xf-heading-icon i {
  color: #3b82f6; /* blue-500 */
  font-size: 14px;
}

.xf-heading::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 44px; /* offset by icon width + gap */
  width: 24px;
  height: 2px;
  background: #3b82f6;
  border-radius: 2px;
}

.xf-heading-hidden {
  visibility: hidden;
}

/* Category pills */
.xf-sub-category {
  margin-bottom: 24px;
}

.xf-sub-category:last-child {
  margin-bottom: 0;
}

.xf-category-pill {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #3b82f6;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  margin-bottom: 16px;
}

/* Link lists */
.xf-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.xf-list li {
  margin: 0;
  padding: 0;
}

.xf-list a {
  color: #4b5563; /* gray-600 */
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: inline-block;
  padding-left: 0;
}

.xf-list a::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #3b82f6;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.xf-list a:hover {
  color: #2563eb; /* blue-600 */
  padding-left: 14px;
}

.xf-list a:hover::before {
  opacity: 1;
  left: 0;
}

/* ─── AWAR DS STRIP ─── */
.xf-awards-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 40px;
  padding: 28px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 10;
}

.xf-award-img {
  height: 100px;
  width: auto;
  max-width: 111px;
  object-fit: contain;
  transition:
    filter 0.25s ease,
    transform 0.25s ease;
  flex-shrink: 0;
}

.xf-award-img:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.08);
}

/* ─── BOTTOM BAR ─── */
.xf-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 10;
}

.xf-copyright {
  color: #6b7280; /* gray-500 */
  font-size: 13px;
  font-weight: 500;
  margin: 0;
}

.xf-legal {
  display: flex;
  align-items: center;
  gap: 16px;
}

.xf-legal-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #cbd5e1; /* slate-300 */
}

.xf-legal a {
  color: #6b7280; /* gray-500 */
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.xf-legal a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: #3b82f6;
  transition: width 0.3s ease;
}

.xf-legal a:hover {
  color: #111827; /* gray-900 */
}

.xf-legal a:hover::after {
  width: 100%;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1200px) {
  .xf-top-row {
    flex-direction: column;
    gap: 60px;
  }
  .xf-brand-card {
    flex: none;
    max-width: 400px;
  }
  .xf-inner {
    padding: 60px 40px 0;
  }
}

@media (max-width: 1024px) {
  .xf-links-area {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }
  .xf-heading-hidden {
    display: none;
  }
  .xf-heading::after {
    left: 0; /* Reset for better alignment on mobile if hidden header logic shifts */
  }
}

@media (max-width: 768px) {
  .xf-links-area {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }
  .xf-inner {
    padding: 48px 20px 0;
  }
  .xf-brand-card {
    padding: 32px 20px;
  }
  .xf-top-row {
    gap: 40px;
  }

  /* Compact Typography & Spacing for Mobile */
  .xf-heading {
    font-size: 12px;
    margin-bottom: 12px;
  }
  .xf-list {
    gap: 6px;
  }
  .xf-list li a {
    font-size: 13px;
    padding: 2px 0;
  }
  .xf-sub-category {
    margin-bottom: 16px;
  }
  .xf-sub-category .xf-category-pill {
    font-size: 10px;
    padding: 2px 6px;
    margin-bottom: 6px;
  }
  .xf-link-group {
    margin-bottom: 24px;
  }

  .xf-bottom-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    margin-top: 24px;
    padding-top: 24px;
  }
  .mobile-break {
    display: none;
  }
  .xf-watermark {
    font-size: 28vw;
    top: 50%;
    bottom: auto;
  }
  .xf-footer {
    padding-bottom: 40px;
  }
}

/* --- CTA Paper Texture Styling (Now Clean White) --- */
.cta-paper-card {
  position: relative;
  background-color: #ffffff;
  overflow: hidden;
  padding: 60px;
}

.cta-paper-card::after {
  display: none;
}

.cta-paper-card .premium-input {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #1e293b !important;
  font-weight: 500;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02) !important;
}
.cta-paper-card .premium-input::placeholder {
  color: #94a3b8 !important;
}

.cta-paper-card .premium-input:hover {
  border-color: #94a3b8 !important;
}

.cta-paper-card .premium-input:focus {
  border-color: #3b82f6 !important;
  background: #ffffff !important;
  box-shadow:
    0 0 0 4px rgba(59, 130, 246, 0.15),
    0 4px 10px rgba(0, 0, 0, 0.05) !important;
  transform: translateY(-1px);
}

/* --- Elevated Form Card Styling --- */
.cta-form-card {
  background: #ffffff !important;
  border: 1.5px solid rgba(22, 66, 179, 0.2) !important;
  box-shadow: 0 10px 25px -10px rgba(22, 66, 179, 0.12) !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative;
  z-index: 5;
}

/* Premium gradient top accent bar */
@keyframes shimmerBorder {
  to {
    background-position: 200% center;
  }
}

.cta-form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(
    90deg,
    #1642b3,
    #3b82f6,
    #8b5cf6,
    #ec4899,
    #1642b3
  );
  background-size: 200% auto;
  animation: shimmerBorder 3s linear infinite;
  z-index: 10;
}

/* Dynamic glow and slight elevation on hover */
.cta-form-card:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 66, 179, 0.5) !important;
  box-shadow: 0 15px 30px -10px rgba(22, 66, 179, 0.2) !important;
}

/* Custom submit button with fixed gradient and clean shadows */
.cta-submit-btn {
  background: linear-gradient(135deg, #1642b3 0%, #3b82f6 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(22, 66, 179, 0.2) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.cta-submit-btn:hover {
  background: linear-gradient(135deg, #123693 0%, #2563eb 100%) !important;
  box-shadow: 0 6px 20px rgba(22, 66, 179, 0.3) !important;
  transform: translateY(-2px) !important;
}

/* --- CTA Form Custom Icon Positioning and Coloring --- */
.cta-input-group {
  position: relative;
  display: block;
}

.cta-input-icon {
  position: absolute !important;
  left: 20px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #94a3b8 !important; /* text-gray-400 */
  transition: color 0.3s ease;
  z-index: 10;
  pointer-events: none;
}

.cta-textarea-icon {
  position: absolute !important;
  left: 20px !important;
  top: 20px !important;
  color: #94a3b8 !important; /* text-gray-400 */
  transition: color 0.3s ease;
  z-index: 10;
  pointer-events: none;
}

.cta-input-group:focus-within .cta-input-icon,
.cta-input-group:focus-within .cta-textarea-icon {
  color: #2563eb !important; /* text-blue-600 */
}

.cta-paper-card input:-webkit-autofill,
.cta-paper-card input:-webkit-autofill:hover,
.cta-paper-card input:-webkit-autofill:focus {
  -webkit-text-fill-color: #1e293b !important;
  -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* =========================================
   Animated CTA Button (Uiverse style)
   ========================================= */

.cta-animated-btn {
  font-weight: bold;
  color: white;
  border-radius: 2rem;
  cursor: pointer;
  padding: 0.75rem 2rem;
  height: 48px;
  border: none;
  background-color: #1642b3;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(22, 66, 179, 0.3);
}

.cta-animated-btn:hover {
  background-color: #0d328f;
  box-shadow: 0 6px 25px rgba(22, 66, 179, 0.45);
}

/* Both text layers are always absolute — the button size is set by .span-sizer */
.cta-animated-btn .span-mother,
.cta-animated-btn .span-mother2 {
  display: flex;
  position: absolute;
  overflow: hidden;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Invisible sizing element keeps the button width stable */
.cta-animated-btn .span-sizer {
  visibility: hidden;
  display: flex;
  white-space: nowrap;
  pointer-events: none;
  height: 0;
  overflow: hidden;
}

/* Default: span-mother text is visible in place */
.cta-animated-btn .span-mother span {
  display: inline-block;
  transition: transform 0.3s ease;
  color: white;
}

/* Default: span-mother2 text is hidden above */
.cta-animated-btn .span-mother2 span {
  display: inline-block;
  transform: translateY(-1.2em);
  transition: transform 0.3s ease;
  color: white;
}

/* Hover: slide span-mother text down (out of view) */
.cta-animated-btn:hover .span-mother span {
  transform: translateY(1.2em);
}

/* Hover: slide span-mother2 text into view */
.cta-animated-btn:hover .span-mother2 span {
  transform: translateY(0);
}

/* Staggered timing for span-mother */
.cta-animated-btn .span-mother span:nth-child(1) {
  transition-delay: 0s;
}
.cta-animated-btn .span-mother span:nth-child(2) {
  transition-delay: 0.02s;
}
.cta-animated-btn .span-mother span:nth-child(3) {
  transition-delay: 0.04s;
}
.cta-animated-btn .span-mother span:nth-child(4) {
  transition-delay: 0.06s;
}
.cta-animated-btn .span-mother span:nth-child(5) {
  transition-delay: 0.08s;
}
.cta-animated-btn .span-mother span:nth-child(6) {
  transition-delay: 0.1s;
}
.cta-animated-btn .span-mother span:nth-child(7) {
  transition-delay: 0.12s;
}
.cta-animated-btn .span-mother span:nth-child(8) {
  transition-delay: 0.14s;
}
.cta-animated-btn .span-mother span:nth-child(9) {
  transition-delay: 0.16s;
}
.cta-animated-btn .span-mother span:nth-child(10) {
  transition-delay: 0.18s;
}
.cta-animated-btn .span-mother span:nth-child(11) {
  transition-delay: 0.2s;
}
.cta-animated-btn .span-mother span:nth-child(12) {
  transition-delay: 0.22s;
}
.cta-animated-btn .span-mother span:nth-child(13) {
  transition-delay: 0.24s;
}
.cta-animated-btn .span-mother span:nth-child(14) {
  transition-delay: 0.26s;
}
.cta-animated-btn .span-mother span:nth-child(15) {
  transition-delay: 0.28s;
}
.cta-animated-btn .span-mother span:nth-child(16) {
  transition-delay: 0.3s;
}
.cta-animated-btn .span-mother span:nth-child(17) {
  transition-delay: 0.32s;
}
.cta-animated-btn .span-mother span:nth-child(18) {
  transition-delay: 0.34s;
}
.cta-animated-btn .span-mother span:nth-child(19) {
  transition-delay: 0.36s;
}
.cta-animated-btn .span-mother span:nth-child(20) {
  transition-delay: 0.38s;
}
.cta-animated-btn .span-mother span:nth-child(21) {
  transition-delay: 0.4s;
}
.cta-animated-btn .span-mother span:nth-child(22) {
  transition-delay: 0.42s;
}

/* Staggered timing for span-mother2 */
.cta-animated-btn .span-mother2 span:nth-child(1) {
  transition-delay: 0s;
}
.cta-animated-btn .span-mother2 span:nth-child(2) {
  transition-delay: 0.02s;
}
.cta-animated-btn .span-mother2 span:nth-child(3) {
  transition-delay: 0.04s;
}
.cta-animated-btn .span-mother2 span:nth-child(4) {
  transition-delay: 0.06s;
}
.cta-animated-btn .span-mother2 span:nth-child(5) {
  transition-delay: 0.08s;
}
.cta-animated-btn .span-mother2 span:nth-child(6) {
  transition-delay: 0.1s;
}
.cta-animated-btn .span-mother2 span:nth-child(7) {
  transition-delay: 0.12s;
}
.cta-animated-btn .span-mother2 span:nth-child(8) {
  transition-delay: 0.14s;
}
.cta-animated-btn .span-mother2 span:nth-child(9) {
  transition-delay: 0.16s;
}
.cta-animated-btn .span-mother2 span:nth-child(10) {
  transition-delay: 0.18s;
}
.cta-animated-btn .span-mother2 span:nth-child(11) {
  transition-delay: 0.2s;
}
.cta-animated-btn .span-mother2 span:nth-child(12) {
  transition-delay: 0.22s;
}

/* =========================================
   Industry Recognized Award Cards
   ========================================= */
.award-card {
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  border: 1.5px solid rgba(59, 130, 246, 0.2) !important;
  padding: 0.8rem 0.9rem !important;
  border-radius: 1rem !important;
  width: 280px !important;
  background: #1642b3 !important;
  transition: all 0.3s ease !important;
}

.award-card:hover {
  border-color: rgba(59, 130, 246, 0.5) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px rgba(22, 66, 179, 0.4) !important;
}

.award-card img {
  height: 4rem !important;
  width: 4rem !important;
  object-fit: contain !important;
}

.award-card h4 {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  letter-spacing: 0.025em !important;
  margin: 0 !important;
}

.award-card p {
  color: rgba(191, 219, 254, 0.7) !important;
  font-size: 10px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  margin-top: 0.125rem !important;
  margin-bottom: 0 !important;
}

/* =========================================
   Internal Page White Hero Section Styling
   ========================================= */

/* Synchronous flash prevention for body, loading screen, and hero */
html.is-internal-page body,
html.is-internal-page #loading-screen,
html.is-internal-page #hero {
  background-color: #ffffff !important;
}
html.is-internal-page #hero .absolute.inset-0.z-0 {
  background: transparent !important;
}
html.is-internal-page #hero .absolute.inset-0.z-0 div[class*="bg-"] {
  display: none !important;
}

.internal-white-hero {
  background: #ffffff !important;
  background-image:
    radial-gradient(
      circle at 80% 10%,
      rgba(59, 130, 246, 0.04),
      transparent 50%
    ),
    radial-gradient(
      circle at 10% 80%,
      rgba(139, 92, 246, 0.03),
      transparent 60%
    ) !important;
  color: #0f172a !important;
}

/* Base overlay backgrounds override */
.internal-white-hero .absolute.inset-0.z-0 {
  background: transparent !important;
}

/* Organic blobs in white hero: hidden entirely for performance */
.internal-white-hero .absolute.inset-0.z-0 div[class*="bg-gradient-to-r"],
.internal-white-hero .absolute.inset-0.z-0 div[class*="bg-brand-blue"],
.internal-white-hero .absolute.inset-0.z-0 div[class*="bg-red-600"],
.internal-white-hero .absolute.inset-0.z-0 div[class*="bg-purple-600"],
.internal-white-hero .absolute.inset-0.z-0 div[class*="bg-rose-500"],
.internal-white-hero .absolute.inset-0.z-0 div[class*="bg-emerald-500"],
.internal-white-hero .absolute.inset-0.z-0 div[class*="bg-purple-600/20"],
.internal-white-hero .absolute.inset-0.z-0 div[class*="bg-rose-500/10"],
.internal-white-hero .absolute.inset-0.z-0 div[class*="bg-pink-400/8"],
.internal-white-hero .absolute.inset-0.z-0 div[class*="bg-emerald-500/15"],
.internal-white-hero .absolute.inset-0.z-0 div[class*="bg-teal-400/10"],
.internal-white-hero .absolute.inset-0.z-0 div[class*="bg-red-600/15"],
.internal-white-hero .absolute.inset-0.z-0 div[class*="bg-violet-400"],
.internal-white-hero .absolute.inset-0.z-0 div[class*="bg-indigo-400"],
.internal-white-hero .absolute.inset-0.z-0 div[class*="bg-teal-400"] {
  display: none !important;
}

/* Grid lines overlay override to very soft dark lines */
.internal-white-hero .absolute.inset-0.z-0 div[class*="bg-[linear-gradient"] {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px) !important;
  background-size: 6rem 6rem !important;
  opacity: 1 !important;
}

/* Headings and Spans */
.internal-white-hero h1 {
  color: #0f172a !important;
  letter-spacing: -0.02em !important;
}

.internal-white-hero h1 span.text-blue-500,
.internal-white-hero h1 span[class*="text-blue-500"] {
  color: #2563eb !important; /* Premium brand blue with high contrast */
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.internal-white-hero h1 span.text-white {
  color: #0f172a !important;
}

/* Subheading text and left border */
.internal-white-hero p.text-gray-400,
.internal-white-hero p.text-gray-300,
.internal-white-hero p[class*="text-gray-400"],
.internal-white-hero p[class*="text-gray-300"],
.internal-white-hero p#hero-desc {
  color: #475569 !important; /* Slate-600 */
  border-left-color: rgba(37, 99, 235, 0.2) !important;
}

/* Service Pages bullet ticks or small pricing notes */
.internal-white-hero p > i.fa-circle-check,
.internal-white-hero p > i.fa-check,
.internal-white-hero p > i[class*="text-"] {
  color: #2563eb !important;
}
.internal-white-hero p:has(> i.fa-circle-check),
.internal-white-hero p:has(> i.fa-check) {
  color: #4b5563 !important;
}

/* Badges */
.internal-white-hero .inline-flex.items-center {
  background-color: rgba(37, 99, 235, 0.05) !important;
  border: 1px solid rgba(37, 99, 235, 0.12) !important;
}

/* Text inside badge */
.internal-white-hero .inline-flex.items-center span:not(.w-2) {
  color: #1e40af !important;
  font-weight: 600 !important;
}

/* Dot inside badge */
.internal-white-hero .inline-flex.items-center span.w-2.h-2 {
  background-color: #2563eb !important;
}

/* CTA and general buttons */
.internal-white-hero .cta-animated-btn {
  background-color: #1642b3 !important;
  color: #ffffff !important;
  box-shadow: 0 10px 25px -5px rgba(22, 66, 179, 0.3) !important;
}

.internal-white-hero .cta-animated-btn:hover {
  background-color: #0d328f !important;
  box-shadow: 0 12px 30px -5px rgba(22, 66, 179, 0.45) !important;
}

/* Force random theme-colored buttons to brand blue (Match cta-animated-btn design) */
.internal-white-hero a[class*="bg-gradient-to-r"]:not(.cta-animated-btn) {
  background: #1642b3 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(22, 66, 179, 0.3) !important;
  border: none !important;
  border-radius: 2rem !important;
  height: 48px !important;
  padding: 0 2rem !important;
  font-size: 0.875rem !important;
  font-weight: bold !important;
  letter-spacing: 0.01em !important;
}
.internal-white-hero a[class*="bg-gradient-to-r"]:not(.cta-animated-btn):hover {
  background: #0d328f !important;
  box-shadow: 0 6px 25px rgba(22, 66, 179, 0.45) !important;
  transform: translateY(-2px) !important;
}
.internal-white-hero a[class*="bg-gradient-to-r"]:not(.cta-animated-btn) i {
  color: #ffffff !important;
}

/* Secondary Buttons (e.g. Discover Solutions, All Capabilities) */
.internal-white-hero a.border-white\/10,
.internal-white-hero a.border-slate-200,
.internal-white-hero a.border-gray-200 {
  border-color: #e2e8f0 !important;
  background-color: #ffffff !important;
  color: #334155 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

.internal-white-hero a.border-white\/10:hover,
.internal-white-hero a.border-slate-200:hover,
.internal-white-hero a.border-gray-200:hover {
  background-color: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

/* Right side graphic mockup styling (cards, dashboard templates, browser mocks) */
.internal-white-hero .bg-white\/5,
.internal-white-hero .bg-white\/\[0\.04\],
.internal-white-hero .bg-white\/10 {
  background-color: rgba(255, 255, 255, 0.5) !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.06) !important;
}

.internal-white-hero .border-white\/10,
.internal-white-hero .border-white\/15,
.internal-white-hero .border-white\/20,
.internal-white-hero .bg-white\/5.border-white\/10 {
  border-color: rgba(15, 23, 42, 0.08) !important;
}

/* Internal elements in mockup screens */
.internal-white-hero .bg-white\/5.border-b {
  border-bottom-color: rgba(15, 23, 42, 0.08) !important;
  background-color: rgba(15, 23, 42, 0.02) !important;
}

.internal-white-hero .bg-white\/5.rounded-md {
  background-color: rgba(15, 23, 42, 0.03) !important;
}

.internal-white-hero .bg-white\/5.border-white\/10.rounded-xl {
  background-color: rgba(255, 255, 255, 0.7) !important;
  border-color: rgba(15, 23, 42, 0.06) !important;
}

.internal-white-hero .text-white {
  color: #0f172a !important;
}

.internal-white-hero .text-gray-500 {
  color: #64748b !important;
}

/* Floating badges on mockups */
.internal-white-hero .animate-float,
.internal-white-hero .animate-float2,
.internal-white-hero .animate-float3,
.internal-white-hero div[class*="animate-bounce"] {
  background-color: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(37, 99, 235, 0.15) !important;
  color: #1e40af !important;
  box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.05) !important;
}
.internal-white-hero .animate-float i,
.internal-white-hero .animate-float2 i,
.internal-white-hero .animate-float3 i,
.internal-white-hero div[class*="animate-bounce"] i {
  color: #2563eb !important;
}

/* Orbiting Dots in Hero Mockup */
.internal-white-hero .animate-spin-slow > div[class*="absolute"] {
  background-color: #3b82f6 !important;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.6) !important;
}

/* Center Mockup Icons (e.g., 64x64 or 56x56 icon containers) */
.internal-white-hero div[class*="w-16"][class*="h-16"],
.internal-white-hero div[class*="w-14"][class*="h-14"] {
  background: rgba(37, 99, 235, 0.08) !important;
  border: 1px solid rgba(37, 99, 235, 0.15) !important;
}
.internal-white-hero div[class*="w-16"][class*="h-16"] i,
.internal-white-hero div[class*="w-14"][class*="h-14"] i {
  color: #2563eb !important;
}

/* Glow under hero graphic animations */
.internal-white-hero .blur-\[80px\] {
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.15) 0%,
    transparent 70%
  ) !important;
  opacity: 0.6 !important;
}

/* Ensure any leftover custom colored text defaults to brand blue */
.internal-white-hero [class*="text-emerald-"],
.internal-white-hero [class*="text-red-"],
.internal-white-hero [class*="text-rose-"],
.internal-white-hero [class*="text-purple-"],
.internal-white-hero [class*="text-violet-"],
.internal-white-hero [class*="text-indigo-"],
.internal-white-hero [class*="text-yellow-"],
.internal-white-hero [class*="text-amber-"],
.internal-white-hero [class*="text-green-"],
.internal-white-hero [class*="text-teal-"],
.internal-white-hero [class*="text-pink-"],
.internal-white-hero [class*="text-orange-"],
.internal-white-hero [class*="text-fuchsia-"],
.internal-white-hero [class*="text-cyan-"] {
  color: #2563eb !important;
}

/* Specific button styles for white hero pages */
.internal-white-hero a.bg-white,
.internal-white-hero a[class*="bg-white"] {
  background-color: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #334155 !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03) !important;
}

.internal-white-hero a.bg-white:hover,
.internal-white-hero a[class*="bg-white"]:hover {
  background-color: #f8fafc !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
  transform: translateY(-1px) !important;
}

/* Quote icon color correction for Testimonials page */
.internal-white-hero svg.text-white\/5 {
  color: rgba(15, 23, 42, 0.04) !important;
}

/* Floating transparent cards style correction for Case Studies / About pages */
.internal-white-hero div[class*="from-white/10"],
.internal-white-hero div[class*="from-blue-800/20"] {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.7) 0%,
    rgba(255, 255, 255, 0.2) 100%
  ) !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.06) !important;
}

/* =========================================
   Solution Page Hero — Light Centered Layout
   ========================================= */

.sol-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(180deg, #f0f4ff 0%, #ffffff 100%);
  padding-top: 8rem;
  padding-bottom: 5rem;
}

/* --- Agent Workflow Stack Visual --- */
.sol-agent-stack-container {
  width: 100%;
  max-width: 1200px;
  margin-top: 2rem;
  z-index: 10;
}

.sol-agent-stack-row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  width: 100%;
}

.sol-agent-stack-card {
  flex: 1;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.sol-agent-stack-card:hover {
  transform: translateY(-6px);
  border-color: rgba(22, 66, 179, 0.2);
  box-shadow: 0 12px 30px rgba(22, 66, 179, 0.08);
}

.sol-card-step-badge {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: rgba(22, 66, 179, 0.15);
  letter-spacing: 0.05em;
}

.sol-agent-stack-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 1.75rem;
  transition: transform 0.3s ease;
}
.sol-agent-stack-card:hover .sol-agent-stack-icon {
  transform: scale(1.08) rotate(-3deg);
}

.sol-agent-stack-card-blue .sol-agent-stack-icon {
  background: rgba(22, 66, 179, 0.06);
  color: #1642b3;
}
.sol-agent-stack-card-blue .sol-card-step-badge {
  color: rgba(22, 66, 179, 0.2);
}
.sol-agent-stack-card-purple .sol-agent-stack-icon {
  background: rgba(124, 58, 237, 0.06);
  color: #7c3aed;
}
.sol-agent-stack-card-purple .sol-card-step-badge {
  color: rgba(124, 58, 237, 0.2);
}
.sol-agent-stack-card-green .sol-agent-stack-icon {
  background: rgba(16, 185, 129, 0.06);
  color: #059669;
}
.sol-agent-stack-card-green .sol-card-step-badge {
  color: rgba(16, 185, 129, 0.25);
}

.sol-agent-stack-card-title {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.sol-agent-stack-card-desc {
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.sol-agent-stack-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(22, 66, 179, 0.05);
  padding-top: 1.25rem;
}

.sol-agent-stack-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: #475569;
  font-weight: 500;
}

.sol-agent-stack-list-item i {
  font-size: 10px;
  margin-top: 3px;
}
.sol-agent-stack-card-blue .sol-agent-stack-list-item i {
  color: #1642b3;
}
.sol-agent-stack-card-purple .sol-agent-stack-list-item i {
  color: #7c3aed;
}
.sol-agent-stack-card-green .sol-agent-stack-list-item i {
  color: #059669;
}

.sol-agent-stack-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(22, 66, 179, 0.15);
  font-size: 18px;
  flex-shrink: 0;
  padding: 0 0.5rem;
  align-self: center;
}

/* Responsive updates */
@media (max-width: 1024px) {
  .sol-agent-stack-row {
    flex-direction: column;
    gap: 2rem;
  }
  .sol-agent-stack-connector {
    transform: rotate(90deg);
    padding: 0.5rem 0;
  }
}

@media (max-width: 640px) {
  .sol-hero {
    padding-top: 6rem;
    min-height: auto;
  }
  .sol-agent-stack-card {
    padding: 2rem 1.5rem;
  }
}

/* ==========================================================
   RESPONSIVE FIXES — index.html full-page audit
   ========================================================== */

/* ─── HERO SECTION ─────────────────────────────────────── */
@media (max-width: 1023px) {
  #hero .section-container {
    grid-template-columns: 1fr !important;
    gap: 2rem;
    padding-top: 6rem;
    padding-bottom: 5rem;
  }
  #hero-visual-container {
    display: none !important;
  }
  #hero h1 {
    font-size: clamp(2.4rem, 8vw, 4.5rem) !important;
  }
}

@media (max-width: 640px) {
  #hero h1 {
    font-size: clamp(2rem, 9vw, 3rem) !important;
    line-height: 1.1 !important;
  }
  #hero p {
    font-size: 1rem !important;
  }
}

/* ─── TECH STACK — tab pills & grid ─────────────────────── */
@media (max-width: 640px) {
  #tech-stack .flex.flex-row.gap-2 {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
  }
  .tech-tab {
    flex-shrink: 0;
    padding: 0.5rem 1rem !important;
  }
  .tech-tab span {
    font-size: 0.9rem !important;
  }
  .tech-item {
    padding: 0.75rem !important;
  }
}

/* ─── SECTION HEADINGS — fluid scale ────────────────────── */
@media (max-width: 640px) {
  h3.font-display {
    font-size: clamp(1.75rem, 7vw, 2.25rem) !important;
    line-height: 1.2 !important;
  }
}

/* ─── INDUSTRIES — heading on mobile ────────────────────── */
@media (max-width: 640px) {
  #industries h3 br {
    display: none;
  }
}

/* ─── STATS TICKER — text scaling ────────────────────────── */
@media (max-width: 480px) {
  .animate-marquee .text-4xl {
    font-size: 1.75rem !important;
  }
  .animate-marquee .mx-12 {
    margin-left: 1.5rem !important;
    margin-right: 1.5rem !important;
  }
}

/* ─── VIDEO CAROUSEL — narrow cards on tiny screens ──────── */
@media (max-width: 480px) {
  .success-slide-card {
    width: 88% !important;
  }
  .success-spacer {
    width: 6% !important;
  }
}

/* ─── DYNAMIC HOVER CARDS — stacked on mobile ───────────── */
@media (max-width: 1023px) {
  .dynamic-hover-card {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-height: 240px;
  }
  .contact-cards-container {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1rem;
  }
}

/* ─── AWARD CUBBY HEIGHT ─────────────────────────────────── */
@media (max-width: 768px) {
  .award-cubby {
    height: 200px !important;
  }
  .award-img {
    max-height: 110px !important;
  }
}

/* ─── AWARDS STRIP (footer) ─────────────────────────────── */
@media (max-width: 640px) {
  .xf-awards-strip {
    gap: 6px 14px;
    padding: 18px 0;
  }
  .xf-award-img {
    height: 56px !important;
    max-width: 56px;
  }
}

/* ─── CTA FORM CARD ──────────────────────────────────────── */
@media (max-width: 768px) {
  .cta-paper-card {
    padding: 36px 24px !important;
  }
  .cta-form-card {
    padding: 32px 20px !important;
  }
}
@media (max-width: 480px) {
  .cta-paper-card,
  .cta-form-card {
    padding: 24px 16px !important;
  }
}

/* ─── CHATBOT WINDOW — very small screens ────────────────── */
@media (max-width: 380px) {
  .chatbot-window {
    width: 100% !important;
    right: 0 !important;
    border-radius: 0 !important;
  }
}

/* ─── SECTION-CONTAINER — extra-small ───────────────────── */
@media (max-width: 375px) {
  .section-container {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
}

/* ─── FOOTER COPYRIGHT BAR ───────────────────────────────── */
@media (max-width: 480px) {
  .xf-copyright,
  .xf-legal a {
    font-size: 11px !important;
  }
  .xf-legal {
    gap: 8px !important;
  }
}

/* ─── TECH SECTION — heading+desc row ───────────────────── */
@media (max-width: 768px) {
  #tech-stack .max-w-md {
    max-width: 100% !important;
  }
}

/* ─── PRESS LOGOS GRID ───────────────────────────────────── */
@media (max-width: 640px) {
  .w-32.h-20 {
    width: 5rem !important;
    height: 3.5rem !important;
  }
}

/* --- Dynamic Light Space Hero --- */
.page-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(
    circle at 50% -25%,
    rgba(22, 66, 179, 0.08) 0%,
    rgba(22, 66, 179, 0.02) 60%,
    #ffffff 100%
  );
  padding-top: 8rem;
  padding-bottom: 5rem;
}

/* Glowing background blur elements */
.cosmic-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  pointer-events: none;
  z-index: 1;
}

.cosmic-blob-1 {
  top: -10%;
  left: 20%;
  width: 40vw;
  height: 40vw;
  background: linear-gradient(135deg, #1642b3, #3b82f6);
}

.cosmic-blob-2 {
  bottom: 10%;
  right: 15%;
  width: 35vw;
  height: 35vw;
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
}

/* Grid overlay */
.hero-gridlines-dark {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(22, 66, 179, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(22, 66, 179, 0.03) 1px, transparent 1px);
  background-size: 4rem 4rem;
  background-position: center center;
  mask-image: radial-gradient(circle at 50% 50%, black 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(
    circle at 50% 50%,
    black 60%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* --- Agent Workflow Stack Visual --- */
.agent-stack-container {
  width: 100%;
  max-width: 1200px;
  margin-top: 2rem;
  z-index: 10;
}

.agent-stack-row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  width: 100%;
}

.agent-stack-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(22, 66, 179, 0.08);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  box-shadow:
    0 20px 40px -15px rgba(22, 66, 179, 0.05),
    0 0 50px 0 rgba(22, 66, 179, 0.02),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.agent-stack-card:hover {
  transform: translateY(-6px);
  border-color: rgba(22, 66, 179, 0.2);
  box-shadow:
    0 30px 60px -15px rgba(22, 66, 179, 0.08),
    0 0 60px 0 rgba(22, 66, 179, 0.04);
  background: rgba(255, 255, 255, 0.85);
}

.card-step-badge {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: rgba(22, 66, 179, 0.15);
  letter-spacing: 0.05em;
}

.agent-stack-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 1.75rem;
  transition: transform 0.3s ease;
}

.agent-stack-card:hover .agent-stack-icon {
  transform: scale(1.08) rotate(-3deg);
}

.agent-stack-card-blue .agent-stack-icon {
  background: rgba(22, 66, 179, 0.06);
  color: #1642b3;
}

.agent-stack-card-blue .card-step-badge {
  color: rgba(22, 66, 179, 0.2);
}

.agent-stack-card-purple .agent-stack-icon {
  background: rgba(124, 58, 237, 0.06);
  color: #7c3aed;
}

.agent-stack-card-purple .card-step-badge {
  color: rgba(124, 58, 237, 0.2);
}

.agent-stack-card-green .agent-stack-icon {
  background: rgba(16, 185, 129, 0.06);
  color: #059669;
}

.agent-stack-card-green .card-step-badge {
  color: rgba(16, 185, 129, 0.25);
}

.agent-stack-card-title {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.agent-stack-card-desc {
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.agent-stack-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(22, 66, 179, 0.05);
  padding-top: 1.25rem;
}

.agent-stack-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #475569;
  font-weight: 500;
}

.agent-stack-list-item i {
  font-size: 10px;
  margin-top: 3px;
}

.agent-stack-card-blue .agent-stack-list-item i {
  color: #1642b3;
}

.agent-stack-card-purple .agent-stack-list-item i {
  color: #7c3aed;
}

.agent-stack-card-green .agent-stack-list-item i {
  color: #059669;
}

.agent-stack-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(22, 66, 179, 0.15);
  font-size: 18px;
  flex-shrink: 0;
  padding: 0 0.5rem;
  align-self: center;
}

/* Responsive updates */
@media (max-width: 1024px) {
  .agent-stack-row {
    flex-direction: column;
    gap: 2rem;
  }

  .agent-stack-connector {
    transform: rotate(90deg);
    padding: 0.5rem 0;
  }
}

@media (max-width: 640px) {
  .page-hero {
    padding-top: 6rem;
  }

  .agent-stack-card {
    padding: 2rem 1.5rem;
  }
}

/* Gradient Text */
.fsp-gradient-text {
  background: linear-gradient(135deg, #1642b3 0%, #3b82f6 40%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Animated border line */
.fsp-line-animated {
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #1642b3, #6366f1);
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fsp-line-animated.visible {
  width: 80px;
}

/* Service Cards */
.fsp-service-card {
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.7);
  border-radius: 1.5rem;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.fsp-service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--card-accent, #1642b3),
    var(--card-accent-end, #6366f1)
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.fsp-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px -15px rgba(22, 66, 179, 0.12);
  border-color: rgba(22, 66, 179, 0.15);
}

.fsp-service-card:hover::before {
  transform: scaleX(1);
}

/* Icon Container */
.fsp-icon-container {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fsp-service-card:hover .fsp-icon-container {
  transform: scale(1.15) rotate(-5deg);
}

/* Process Timeline */
.fsp-process-step {
  position: relative;
  padding-left: 3.5rem;
}

.fsp-process-step::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #1642b3, #3b82f6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  font-family: "Space Grotesk", sans-serif;
}

.fsp-process-step::after {
  content: "";
  position: absolute;
  left: 1.2rem;
  top: 2.5rem;
  width: 2px;
  bottom: -1.5rem;
  background: linear-gradient(to bottom, #3b82f6, transparent);
}

.fsp-process-step:last-child::after {
  display: none;
}

/* Tech Stack Pill */
.fsp-tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.fsp-tech-pill:hover {
  border-color: #3b82f6;
  background: #eff6ff;
  color: #1642b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.12);
}

.fsp-tech-pill i {
  font-size: 1rem;
}

/* Stat Counter */
.fsp-stat-card {
  text-align: center;
  padding: 2rem;
}

.fsp-stat-number {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

/* CTA Glow Button */
.fsp-cta-glow {
  position: relative;
  overflow: hidden;
}

.fsp-cta-glow::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(45deg, #1642b3, #6366f1, #3b82f6, #1642b3);
  background-size: 300% 300%;
  z-index: -1;
  border-radius: inherit;
  animation: fsp-glow-shift 4s ease infinite;
  opacity: 0;
  transition: opacity 0.3s;
}

.fsp-cta-glow:hover::after {
  opacity: 1;
}

@keyframes fsp-glow-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Deliverables Grid Item */
.fsp-deliverable {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 1rem;
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
}

.fsp-deliverable:hover {
  background: white;
  border-color: #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

/* Engagement Model Card */
.fsp-engagement-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1.25rem;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.fsp-engagement-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px -10px rgba(0, 0, 0, 0.1);
}

.fsp-engagement-card.featured {
  border-color: #1642b3;
  box-shadow:
    0 0 0 1px #1642b3,
    0 12px 40px -10px rgba(22, 66, 179, 0.2);
}

.fsp-engagement-card.featured::before {
  content: "Most Popular";
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #1642b3, #3b82f6);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Scroll reveal helper */
.fsp-reveal {
  opacity: 0;
  transform: translateY(30px);
}

/* Responsive grid adjustments */
@media (max-width: 768px) {
  .fsp-stat-number {
    font-size: 2.25rem;
  }

  .fsp-service-card {
    padding: 1.75rem;
  }
}

/* --- Tech Marquee --- */
.genai-marquee-track {
  display: flex;
  width: max-content;
  animation: genai-scroll 40s linear infinite;
}

.genai-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes genai-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.genai-tech-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1f2937;
  white-space: nowrap;
  margin: 0 8px;
  transition: border-color 0.3s ease;
}

.genai-tech-chip:hover {
  border-color: #1642b3;
}

.genai-tech-chip i {
  font-size: 1.1rem;
}

/* --- Creative Premium Pipeline Form --- */
.genai-pipeline-wrapper {
  position: relative;
  padding: 1rem 0;
  margin-top: 2rem;
}

.genai-pipeline-track-x {
  position: absolute;
  top: 50px;
  /* center of 70px icon */
  left: 5%;
  right: 5%;
  height: 4px;
  background: linear-gradient(90deg, #eff6ff 0%, #1642b3 50%, #f5f3ff 100%);
  border-radius: 6px;
  z-index: 1;
  box-shadow: 0 0 15px rgba(22, 66, 179, 0.3);
}

.genai-pipeline-track-y {
  display: none;
}

@media (max-width: 1023px) {
  .genai-pipeline-wrapper {
    margin: 2rem 0;
    padding: 0;
  }

  .genai-pipeline-track-x {
    display: none;
  }

  .genai-pipeline-track-y {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 33px;
    /* center of 70px icon */
    width: 4px;
    background: linear-gradient(180deg, #eff6ff 0%, #1642b3 50%, #f5f3ff 100%);
    border-radius: 6px;
    z-index: 1;
    box-shadow: 0 0 15px rgba(22, 66, 179, 0.3);
  }
}

.genai-pipeline-nodes {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

@media (max-width: 1023px) {
  .genai-pipeline-nodes {
    flex-direction: column;
    gap: 3rem;
  }
}

.genai-pipeline-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 22%;
  cursor: pointer;
}

@media (max-width: 1023px) {
  .genai-pipeline-node {
    flex-direction: row;
    width: 100%;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

.pipeline-icon-wrapper {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.pipeline-node-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid var(--theme-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--theme-color);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 5;
}

.genai-pipeline-node:hover .pipeline-node-icon {
  transform: scale(1.15);
  background: var(--theme-color);
  color: #ffffff;
  box-shadow: 0 0 30px var(--theme-color-alpha);
}

.pipeline-node-num {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 24px;
  height: 24px;
  background: var(--theme-light);
  color: var(--theme-color);
  border-radius: 50%;
  font-size: 11px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  z-index: 6;
}

.pipeline-node-content {
  margin-top: 1.5rem;
  text-align: center;
  width: 100%;
}

@media (max-width: 1023px) {
  .pipeline-node-content {
    margin-top: 0;
    text-align: left;
    padding-top: 0.25rem;
  }
}

.pipeline-node-title {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #0f172a;
  transition: color 0.3s ease;
  line-height: 1.3;
  padding: 0 5px;
}

.genai-pipeline-node:hover .pipeline-node-title {
  color: var(--theme-color);
}

/* Hover Details Card */
@media (min-width: 1024px) {
  .pipeline-hover-card {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 280px;
    background: #ffffff;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow:
      0 20px 40px -10px rgba(0, 0, 0, 0.1),
      0 0 20px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 50;
    pointer-events: none;
  }

  .pipeline-hover-card.card-up {
    top: auto;
    bottom: calc(100% + 20px);
    transform: translateX(-50%) translateY(-20px);
  }

  .genai-pipeline-node:hover .pipeline-hover-card {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  .pipeline-hover-card::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-left: 1px solid rgba(0, 0, 0, 0.05);
  }

  .pipeline-hover-card.card-up::before {
    top: auto;
    bottom: -6px;
    border-top: none;
    border-left: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
  }
}

@media (max-width: 1023px) {
  .pipeline-hover-card {
    margin-top: 0.75rem;
  }
}

.pipeline-hover-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1rem;
  text-align: left;
}

.pipeline-hover-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-start;
}

.pipeline-hover-tag {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--theme-light);
  color: var(--theme-color);
}

/* =========================================
   Compliance Images
   ========================================= */
.compliance-item {
  width: 13rem;
  height: 13rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 1rem;
  background-color: #ffffff;
  border: 1px solid #f3f4f6;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 640px) {
  .compliance-item {
    width: 10rem;
    height: 10rem;
  }
}

.compliance-item:hover {
  box-shadow: 0 15px 30px rgba(22, 66, 179, 0.08);
  transform: translateY(-0.25rem);
  border-color: #dbeafe;
}

.compliance-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.compliance-item:hover .compliance-img {
  transform: scale(1.05);
}

/* =========================================
   Global Partners Grid
   ========================================= */
.global-partners-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .global-partners-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .global-partners-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* --- Pod Configurator --- */
@keyframes floatNode {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* =========================================
   POD CONFIGURATOR (Lightweight & Clean)
   ========================================= */
.pod-config-section {
  padding: 6rem 0;
  background-color: #ffffff;
  border-top: 1px solid #f1f5f9;
  position: relative;
  color: #0f172a;
}

.pod-config-container {
  
  margin: 0 auto;
  padding: 0 1.5rem;
}

.pod-config-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.pod-config-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  background-color: #f8fafc;
  margin-bottom: 1.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #475569;
}

.pod-config-badge i {
  color: #1642b3;
}

.pod-config-title {
  font-family: "Syne", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .pod-config-title {
    font-size: 3rem;
  }
}

.pod-config-desc {
  color: #64748b;
  font-size: 1.125rem;
  line-height: 1.7;
}

.pod-config-wrapper {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

@media (min-width: 768px) {
  .pod-config-wrapper {
    padding: 2.5rem;
  }
}

.pod-config-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .pod-config-grid {
    grid-template-columns: 7fr 5fr;
  }
}

.pod-config-controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pod-role-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-radius: 1rem;
  background-color: #ffffff;
  border: 1px solid #f1f5f9;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.pod-role-item:hover {
  border-color: #cbd5e1;
  background-color: #f8fafc;
}

.pod-role-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pod-role-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.pod-role-item:hover .pod-role-icon {
  transform: scale(1.05);
}

.pod-role-text h4 {
  font-family: "Syne", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.pod-role-text p {
  color: #64748b;
  font-size: 0.8rem;
  margin: 0;
}

.pod-role-stepper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #f8fafc;
  border-radius: 9999px;
  padding: 0.25rem;
  border: 1px solid #e2e8f0;
}

.pod-role-stepper button {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  background: transparent;
  border: none;
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s;
}

.pod-role-stepper button:hover:not(:disabled) {
  background-color: #e2e8f0;
  color: #0f172a;
}

.pod-role-stepper button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.pod-role-stepper span {
  width: 1.5rem;
  text-align: center;
  font-weight: 700;
  font-family: monospace;
  color: #0f172a;
  font-size: 1.1rem;
}

/* Right Side - Visual */
.pod-config-visual {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pod-config-visual-card {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pod-config-visual-title {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #0f172a;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pod-config-visual-title i {
  color: #1642b3;
}

.pod-visual-map {
  flex-grow: 1;
  background-color: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 1rem;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  margin-bottom: 2rem;
}

.pod-visual-nodes-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.pod-visual-node {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1rem;
  position: relative;
  transition: transform 0.3s ease;
  cursor: default;
}

.pod-visual-node:hover {
  transform: scale(1.15);
  z-index: 10;
}

.pod-visual-node-tooltip {
  position: absolute;
  top: -2.5rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: #0f172a;
  color: #ffffff;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.pod-visual-node:hover .pod-visual-node-tooltip {
  opacity: 1;
  visibility: visible;
}

.pod-visual-empty {
  color: #94a3b8;
  text-align: center;
  font-size: 0.875rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.pod-visual-empty i {
  font-size: 2rem;
  opacity: 0.5;
}

.pod-config-summary {
  border-top: 1px solid #e2e8f0;
  padding-top: 1.5rem;
}

.pod-config-total {
  margin-bottom: 1.5rem;
}

.pod-config-total p {
  color: #64748b;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.pod-config-total-val {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  color: #0f172a;
}

.pod-config-total-val span {
  font-family: "Syne", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
}

.pod-config-total-val small {
  font-size: 1rem;
  color: #64748b;
  font-weight: 500;
}

.pod-config-save-btn {
  width: 100%;
  padding: 1rem;
  border-radius: 9999px;
  background-color: #1642b3;
  color: #ffffff;
  font-weight: 600;
  font-size: 1.125rem;
  border: none;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pod-config-save-btn:hover {
  background-color: #11328a;
  transform: translateY(-2px);
}

.pod-config-save-btn.saved {
  background-color: #059669;
}

.pod-config-save-btn span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* =========================================
   CUSTOM TOAST STYLES
   ========================================= */
.pod-toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.pod-toast {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow:
    0 10px 25px -5px rgba(0, 0, 0, 0.05),
    0 8px 10px -6px rgba(0, 0, 0, 0.01);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transform: translateY(150%);
  opacity: 0;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.4s ease;
  pointer-events: auto;
  max-width: 340px;
}

.pod-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.pod-toast-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: #ecfdf5;
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.pod-toast-content {
  flex-grow: 1;
}

.pod-toast-title {
  color: #0f172a;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  font-family: "Syne", sans-serif;
  margin-top: 0.1rem;
}

.pod-toast-message {
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.5;
  margin: 0;
}

.pod-toast-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 0;
  font-size: 1rem;
  transition: color 0.2s ease;
  margin-top: 0.2rem;
}

.pod-toast-close:hover {
  color: #0f172a;
}


@media (min-width: 1024px) and (max-width: 1439px) {

  .navbar-full {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }

  #navigation .section-container {
    width: 90%;
    max-width: 1250px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

  #nav-logo-img {
    height: 3rem !important;
    width: auto;
  }

  #navigation .section-container > div.hidden.lg\:flex {
    gap: 0.9rem !important;
    margin-right: 1rem !important;
  }

  #navigation .section-container > div.hidden.lg\:flex > a,
  #navigation .section-container > div.hidden.lg\:flex > div.group > a {
    font-size: 0.8rem !important;
    letter-spacing: 0.09em !important;
    white-space: nowrap;
  }

  #navigation .dropdown-arrow {
    width: 0.75rem !important;
    height: 0.75rem !important;
  }

  .cta-animated-btn {
    height: 42px;
    padding: 0.6rem 1.1rem;
    font-size: 0.75rem;
  }

  .py-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    
  }
  .mt-100px {
    margin-top: 100px !important;
  }

}


@media (min-width: 1024px) and (max-width: 1439px)
{
  .pod-menu-title{
    font-size: 0.8rem !important;
  }

  .xf-link-group{
    margin-top : 13px;
  }

  .pod-dropdown-panel{
    width: 950px !important;
  }

  .pod-menu-item{
    padding: 0.3rem;
  }

  
  
}




