/* ==========================================================================
   Crescent Technosoft - Master Stylesheet (World-Class AI-Driven Enterprise)
   Brand Colors:
   - Primary Corporate Navy: #1e3a67 / #142848
   - Secondary Swoosh Blue: #3669a6 / #4a7bb8
   - Corporate Accent Gold: #c8933b / #d4af37
   - Soft Blue Tints: #f0f4f9 / #ebf2fa
   ========================================================================== */

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

:root {
  /* Logo & Corporate Palette from Corporate Profile & Internship Platform */
  --logo-navy: #0f2942;
  --logo-navy-dark: #0a1c2e;
  --logo-navy-royal: #1e3a8a;
  --logo-swoosh-blue: #2563eb;
  --logo-slate-blue: #3b82f6;
  --logo-light-blue: #60a5fa;

  /* Gold Accent */
  --accent-gold: #c8933b;
  --accent-gold-dark: #b4802c;
  --accent-gold-light: #fef3c7;
  --accent-amber: #fbbf24;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #0f2942 0%, #1e3a8a 100%);
  --grad-hover: linear-gradient(135deg, #0a1c2e 0%, #172554 100%);
  --grad-hero-overlay: linear-gradient(135deg, rgba(15, 41, 66, 0.92) 0%, rgba(30, 58, 138, 0.88) 100%);
  --grad-gold-badge: linear-gradient(135deg, #c8933b 0%, #d97706 100%);
  --grad-page-header: linear-gradient(135deg, #0f2942 0%, #1e3a8a 100%);

  /* Background Tints */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-card-tint: #f8fafc;
  --border-color: #e2e8f0;
  --border-subtle: #cbd5e1;

  /* Typography */
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px -8px rgba(15, 23, 42, 0.14);

  /* Typography Fonts */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--logo-swoosh-blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--logo-navy);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.top-bar {
  background-color: var(--logo-navy-dark);
  color: #d5e2f5;
  font-size: 0.825rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-contact-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-contact-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #d5e2f5;
}

.top-contact-item a {
  color: #ffffff;
  font-weight: 600;
}

.top-contact-item a:hover {
  color: var(--accent-gold);
}

.top-social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.top-social-links a {
  color: #d5e2f5;
  font-size: 0.9rem;
  transition: var(--transition);
}

.top-social-links a:hover {
  color: var(--accent-gold);
  transform: translateY(-2px);
}

.top-right-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(200, 147, 59, 0.14);
  color: #7a4d05;
  /* High contrast readable dark gold/amber */
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  border: 1px solid rgba(200, 147, 59, 0.4);
}

.top-bar .badge-gold,
.hero .badge-gold,
.founder-card .badge-gold,
.page-hero .badge-gold {
  background: rgba(200, 147, 59, 0.25);
  color: #fce8bd;
  /* High contrast light gold on dark backgrounds */
  border-color: rgba(200, 147, 59, 0.5);
}

/* Tech Stack & Framework Badges & Pills */
.tech-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  justify-content: center;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #ffffff;
  color: var(--logo-navy);
  border: 1.5px solid var(--border-color);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.tech-pill:hover {
  border-color: var(--logo-swoosh-blue);
  background: var(--bg-subtle);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 82px;
}

.logo-wrapper img {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--logo-swoosh-blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--grad-primary);
  border-radius: 2px;
  transition: var(--transition);
}

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

.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -10px;
  width: 270px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0.65rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  z-index: 1100;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem;
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.dropdown-item:hover {
  background: var(--bg-subtle);
  color: var(--logo-swoosh-blue);
  padding-left: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(30, 58, 103, 0.25);
}

.btn-primary:hover {
  background: var(--grad-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 58, 103, 0.35);
}

.btn-gold {
  background: var(--accent-gold);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 16px rgba(200, 147, 59, 0.35);
  font-weight: 800;
}

.btn-gold:hover {
  background: #b4802c;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(200, 147, 59, 0.5);
}

.btn-secondary {
  background: #ffffff;
  color: var(--logo-navy);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--logo-swoosh-blue);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--logo-swoosh-blue);
  color: var(--logo-swoosh-blue);
  background: transparent;
}

.btn-outline:hover {
  background: var(--logo-swoosh-blue);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-dark);
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: #ffffff;
  z-index: 2000;
  box-shadow: var(--shadow-lg);
  padding: 2rem 1.5rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.mobile-drawer.active {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.close-drawer {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
}

.mobile-drawer-social {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.mobile-drawer-social-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.mobile-social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.mobile-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: var(--logo-navy-dark);
  font-size: 1rem;
  transition: all 0.25s ease;
}

.mobile-social-icons a:hover {
  background: var(--logo-navy-dark);
  border-color: var(--logo-navy-dark);
  color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 25, 47, 0.15);
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 40, 72, 0.5);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   Hero Header Banner & Dynamic Flash Elements
   ========================================================================== */
.page-banner {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-subtle) 100%);
  color: var(--text-dark);
  padding: 3.5rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.page-banner-title {
  color: var(--logo-navy);
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0.5rem 0 0.65rem;
  letter-spacing: -0.01em;
}

.page-banner-subtitle {
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Homepage Hero Section */
.hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 5.5rem 0;
  overflow: hidden;
  color: #ffffff;
}

.hero-bg-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  transform: scale(1.03);
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--grad-hero-overlay);
}

.hero-content-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.45rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  backdrop-filter: blur(8px);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-title span {
  color: #8faef3;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #e2ecf9;
  margin-bottom: 2.25rem;
  line-height: 1.7;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-visual-frame {
  position: relative;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.75rem;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
}

.hero-visual-frame img {
  border-radius: var(--radius-lg);
  display: block;
}

/* Floating Flash Badge Animation */
.floating-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: #ffffff;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text-dark);
  animation: floatMotion 4s ease-in-out infinite;
}

@keyframes floatMotion {

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

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

.floating-badge-top {
  position: absolute;
  top: -20px;
  right: -20px;
  background: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-dark);
  animation: floatMotion 4s ease-in-out infinite 2s;
}

.badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(54, 105, 166, 0.12);
  color: var(--logo-swoosh-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.hero-slider-nav {
  display: flex;
  gap: 0.5rem;
  margin-top: 2rem;
}

.hero-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: var(--transition);
}

.hero-slider-dot.active {
  width: 30px;
  border-radius: var(--radius-full);
  background: var(--accent-gold);
}

/* ==========================================================================
   Stats Bar Floating Component
   ========================================================================== */
.stats-bar-wrapper {
  margin-top: -3rem;
  position: relative;
  z-index: 10;
}

.stats-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 2.25rem 3rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-color);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--logo-navy);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Graphical Process Workflow & ROI Calculator Widgets
   ========================================================================== */
.process-stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-top: 2.75rem;
  position: relative;
}

.process-step,
.step-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.6rem 1.75rem;
  border: 1.5px solid var(--border-color);
  box-shadow: 0 6px 20px -4px rgba(30, 58, 103, 0.06);
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.process-step:hover,
.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px -6px rgba(30, 58, 103, 0.14);
  border-color: var(--logo-swoosh-blue);
}

.step-number {
  position: absolute;
  top: -18px;
  left: 1.6rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #ffffff;
  font-weight: 900;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid #ffffff;
  box-shadow: 0 4px 14px rgba(30, 58, 103, 0.22);
}

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(30, 58, 103, 0.06);
  color: var(--logo-swoosh-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(54, 105, 166, 0.15);
}

.step-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--logo-navy);
  margin-bottom: 0.65rem;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Client Logos Grid - Sleek 3-Column / 6-Column Layout */
.clients-logo-grid,
.client-logos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.client-logo-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.5rem;
  border: 1.5px solid var(--border-color);
  box-shadow: 0 6px 18px -4px rgba(30, 58, 103, 0.05);
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.client-logo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px -6px rgba(30, 58, 103, 0.12);
  border-color: var(--logo-swoosh-blue);
}

.client-logo-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(30, 58, 103, 0.08);
  color: var(--logo-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.client-logo-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--logo-navy);
  margin-bottom: 0.35rem;
}

.client-logo-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   Sections & Cards Styling
   ========================================================================== */
.section {
  padding: 5.5rem 0;
}

.section-subtle {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-subtitle {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--logo-swoosh-blue);
  margin-bottom: 0.5rem;
  display: inline-block;
  background: #e8f1f8;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Filter Nav */
.filter-nav {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-body);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--grad-primary);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(30, 58, 103, 0.25);
}

/* Solutions Grid */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.solution-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem 2rem;
  border: 1.5px solid var(--border-color);
  box-shadow: 0 6px 20px -4px rgba(30, 58, 103, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--grad-primary);
  opacity: 0.85;
  transition: var(--transition);
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px -6px rgba(30, 58, 103, 0.14);
  border-color: var(--logo-swoosh-blue);
}

.solution-card:hover::before {
  opacity: 1;
  height: 5px;
}

.card-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(30, 58, 103, 0.06) 0%, rgba(54, 105, 166, 0.12) 100%);
  color: var(--logo-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  margin-bottom: 1.35rem;
  border: 1px solid rgba(54, 105, 166, 0.2);
  box-shadow: 0 4px 12px rgba(30, 58, 103, 0.06);
}

.card-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  color: var(--text-dark);
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.35rem;
  line-height: 1.6;
}

.card-features-list {
  margin-bottom: 1.75rem;
}

.card-features-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--text-body);
  margin-bottom: 0.55rem;
  font-weight: 500;
}

.card-features-list i {
  color: var(--logo-swoosh-blue);
  font-size: 0.95rem;
}

.card-footer {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.link-arrow {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--logo-swoosh-blue);
}

.link-arrow i {
  transition: var(--transition);
}

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

/* Feature Boxes Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-box {
  background: #ffffff;
  padding: 2.25rem 2rem;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border-color);
  box-shadow: 0 6px 18px -4px rgba(30, 58, 103, 0.05);
  transition: var(--transition);
}

.feature-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px -6px rgba(30, 58, 103, 0.12);
  border-color: var(--logo-swoosh-blue);
}

.feature-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--bg-subtle);
  color: var(--logo-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(30, 58, 103, 0.12);
  box-shadow: 0 4px 10px rgba(30, 58, 103, 0.05);
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  color: var(--logo-navy);
}

/* Brochure Download Card */
.brochure-card {
  background: #ffffff;
  color: var(--text-dark);
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.brochure-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.25rem;
  width: 100%;
}

.brochure-item {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  text-decoration: none;
}

.brochure-item:hover {
  background: #ffffff;
  border-color: var(--logo-swoosh-blue);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.brochure-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--logo-navy);
}

/* Testimonials */
.testimonial-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  position: relative;
}

.quote-icon {
  font-size: 2.5rem;
  color: rgba(54, 105, 166, 0.15);
  position: absolute;
  top: 2rem;
  right: 2.5rem;
}

.testimonial-text {
  font-size: 1.1rem;
  color: var(--text-body);
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.client-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.client-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.client-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.client-org {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Global Office Locations Grid - Perfectly Aligned 3-Column Layout (6 Cards)
   ========================================================================== */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.location-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.location-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--logo-swoosh-blue);
  transform: translateY(-4px);
}

.location-flag {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
  display: inline-block;
}

.location-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.location-detail {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.location-detail a {
  color: inherit;
  text-decoration: none;
}

/* Embedded Google Maps Container */
.map-responsive {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  height: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.map-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
  border: 0;
}

/* Tech Badges */
.tech-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.tech-pill {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--logo-navy);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Footer */
.footer {
  background: var(--logo-navy-dark);
  color: #cbd5e1;
  padding: 4.5rem 0 2rem;
  font-size: 0.9rem;
  border-top: 3px solid var(--accent-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand img {
  height: 52px;
  width: auto;
  background: #ffffff;
  padding: 6px;
  border-radius: var(--radius-sm);
}

.footer-brand p {
  margin-top: 1.25rem;
  color: #94a3b8;
  line-height: 1.65;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.footer-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #d5e2f5;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-social-links a:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #0b1a30;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(200, 147, 59, 0.35);
}

.footer-heading {
  font-family: var(--font-heading);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.35rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #cbd5e1;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 0.35rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #8fa0b5;
}

/* ==========================================================================
   AI Assistant Chatbot Widget & Floating WhatsApp Action Button
   ========================================================================== */

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #ffffff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #ffffff;
}

/* Floating AI Chatbot Button */
.ai-chatbot-trigger {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--grad-primary);
  color: #ffffff;
  border: none;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  z-index: 2500;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transition: var(--transition);
}

.ai-chatbot-trigger:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(30, 58, 103, 0.35);
}

.ai-dot {
  width: 10px;
  height: 10px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseAi 1.5s infinite;
}

@keyframes pulseAi {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* AI Chatbot Window Drawer */
.ai-chat-window {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 520px;
  max-height: calc(100vh - 120px);
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  z-index: 2600;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
}

.ai-chat-window.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ai-chat-header {
  background: var(--grad-primary);
  color: #ffffff;
  padding: 1.15rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ai-chat-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
}

.ai-chat-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-chat-messages {
  flex: 1;
  padding: 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--bg-body);
}

.chat-bubble {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.5;
}

.chat-bubble.bot {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  align-self: flex-start;
  box-shadow: var(--shadow-sm);
}

.chat-bubble.user {
  background: var(--logo-navy);
  color: #ffffff;
  align-self: flex-end;
}

.ai-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.chip-btn {
  background: #ffffff;
  border: 1px solid var(--logo-swoosh-blue);
  color: var(--logo-swoosh-blue);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.chip-btn:hover {
  background: var(--logo-swoosh-blue);
  color: #ffffff;
}

.ai-chat-input-area {
  padding: 0.85rem;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 0.5rem;
}

.ai-chat-input {
  flex: 1;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.ai-chat-send {
  background: var(--logo-navy);
  color: #ffffff;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Quick Action Bar at Screen Bottom */
/* Modal Dialog */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 40, 72, 0.7);
  backdrop-filter: blur(4px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--bg-surface);
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-color);
}

.modal-header {
  background: var(--grad-primary);
  color: #ffffff;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
}

.modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.modal-body {
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--bg-surface);
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--logo-swoosh-blue);
  box-shadow: 0 0 0 3px rgba(54, 105, 166, 0.15);
}

/* Toast */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--logo-navy);
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 4000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.toast-notification.active {
  opacity: 1;
  pointer-events: auto;
}

/* Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-slider-nav {
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .client-logos-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-stepper {
    grid-template-columns: repeat(2, 1fr);
  }

  .brochure-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-social-links {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
  }

  .nav-menu {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

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

  .page-banner-title {
    font-size: 2.1rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item::after {
    display: none !important;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .locations-grid {
    grid-template-columns: 1fr;
  }

  .client-logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-stepper {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-social-links {
    justify-content: center;
  }
}

/* ==========================================================================
   Floating Action Buttons & Floating AI Chat Box Widget
   ========================================================================== */
.floating-btn-group {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2500;
}

.whatsapp-fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

.fab-tooltip {
  position: absolute;
  right: 68px;
  background: #1e293b;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.whatsapp-fab:hover .fab-tooltip {
  opacity: 1;
}

/* Floating AI Chatbot Button Icon */
.ai-chat-fab {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--logo-navy-blue) 0%, var(--logo-swoosh-blue) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 20px rgba(30, 58, 103, 0.4);
  cursor: pointer;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.ai-chat-fab:hover {
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 8px 25px rgba(30, 58, 103, 0.6);
}

.ai-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #10b981;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Floating AI Chat Box Popup Widget */
.ai-chat-drawer {
  position: fixed;
  bottom: 95px;
  right: 24px;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 540px;
  max-height: calc(100vh - 120px);
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.25);
  display: flex;
  flex-direction: column;
  z-index: 2600;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(30, 58, 103, 0.15);
}

.ai-chat-drawer.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.ai-chat-header {
  background: linear-gradient(135deg, var(--logo-navy, #0f2942) 0%, var(--logo-swoosh-blue) 100%);
  color: #ffffff;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ai-avatar-main {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent-gold);
}

.ai-header-info h4 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
}

.ai-header-info p {
  color: #cbd5e1;
  font-size: 0.78rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.online-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
}

.ai-close-btn {
  background: #ef4444 !important;
  border: 2px solid #ffffff !important;
  color: #ffffff !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 3px 10px rgba(239, 68, 68, 0.4) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  z-index: 10 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.ai-close-btn i {
  color: #ffffff !important;
  font-size: 1.15rem !important;
  font-weight: 900 !important;
  display: block !important;
  line-height: 1 !important;
}

.ai-close-btn:hover {
  background: #dc2626 !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  transform: scale(1.15) rotate(90deg) !important;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.6) !important;
}

.ai-chat-body {
  flex: 1;
  padding: 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #f8fafc;
}

.chat-msg {
  display: flex;
  gap: 0.75rem;
  max-width: 85%;
}

.chat-msg.user-msg {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--logo-swoosh-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.msg-avatar.user-av {
  background: var(--accent-gold);
}

.msg-bubble {
  background: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  border-top-left-radius: 2px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.user-msg .msg-bubble {
  background: var(--logo-navy, #0f2942);
  color: #ffffff !important;
  border-radius: 14px;
  border-top-right-radius: 2px;
  border-top-left-radius: 14px;
  border: none;
  box-shadow: 0 3px 10px rgba(15, 41, 66, 0.15);
}

.user-msg .msg-bubble *,
.user-msg .msg-bubble p,
.user-msg .msg-bubble span {
  color: #ffffff !important;
}

.chat-chips-container {
  padding: 0.5rem 1rem;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.chat-chips-container::-webkit-scrollbar {
  display: none;
}

.chat-chip {
  background: #f1f5f9;
  color: var(--logo-navy, #0f2942);
  border: 1px solid #cbd5e1;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
}

.chat-chip:hover {
  background: var(--logo-swoosh-blue);
  color: #ffffff;
  border-color: var(--logo-swoosh-blue);
}

.ai-chat-footer {
  padding: 0.75rem 1rem;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ai-chat-footer input {
  flex: 1;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.ai-chat-footer input:focus {
  border-color: var(--logo-swoosh-blue);
}

.ai-chat-footer button {
  background: var(--logo-swoosh-blue);
  color: #ffffff;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.ai-chat-footer button:hover {
  background: var(--logo-navy, #0f2942);
}

/* Typing Indicator Dots */
.typing-dots span {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #94a3b8;
  border-radius: 50%;
  margin-right: 3px;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

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

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

@keyframes typingBounce {

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

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

/* ==========================================================================
   Growth Journey Timeline Stepper & Roadmap
   ========================================================================== */
.timeline-stepper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  position: relative;
  margin-top: 2rem;
}

.timeline-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--logo-swoosh-blue);
}

.timeline-year-badge {
  display: inline-block;
  background: var(--grad-primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.timeline-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--logo-navy);
  margin-bottom: 0.5rem;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Founder Spotlight & Heritage Cards */
.founder-profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.founder-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.founder-badge-gold {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--grad-gold-badge);
  color: var(--logo-navy-dark);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.founder-avatar-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 16px rgba(30, 58, 103, 0.2);
}

.founder-name {
  font-size: 1.4rem;
  color: var(--logo-navy);
  margin-bottom: 0.25rem;
}

.founder-role {
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Partner & Reseller Tier Cards */
.reseller-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.reseller-tier-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem;
  border: 2px solid var(--border-color);
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.reseller-tier-card.featured {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.reseller-tier-badge {
  background: var(--logo-navy);
  color: #ffffff;
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.reseller-tier-card.featured .reseller-tier-badge {
  background: var(--grad-gold-badge);
  color: var(--logo-navy-dark);
}

.reseller-margin {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--logo-navy);
  margin: 0.5rem 0;
}

.reseller-margin span {
  font-size: 1.1rem;
  color: var(--accent-gold);
}

/* Graphical Representation & Stat Progress Bars */
.graphical-stats-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  border: 1.5px solid var(--border-color);
  box-shadow: 0 8px 24px -4px rgba(30, 58, 103, 0.08);
}

.graph-stat-item {
  margin-bottom: 1.35rem;
}

.graph-stat-label {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.925rem;
  margin-bottom: 0.45rem;
  color: var(--text-dark);
}

.graph-bar-bg {
  width: 100%;
  height: 10px;
  background: var(--bg-subtle);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.graph-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--grad-primary);
  transition: width 1s ease;
}

.graph-bar-fill.gold {
  background: var(--grad-gold-badge);
}

.graph-bar-fill.green {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Blog Article Cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 6px 18px -4px rgba(30, 58, 103, 0.06);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px -6px rgba(30, 58, 103, 0.12);
  border-color: var(--logo-swoosh-blue);
}

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

.blog-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--logo-swoosh-blue);
  background: #e8f1f8;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
  align-self: flex-start;
}

.blog-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--logo-navy);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

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

/* ==========================================================================
   Software Product Showcase Cards (Side-by-Side Image + Details)
   ========================================================================== */
.software-showcase-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-md);
  padding: 2.25rem;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 2.5rem;
  transition: var(--transition);
}

.software-showcase-card.reverse {
  grid-template-columns: 1.15fr 1fr;
}

.software-showcase-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--logo-swoosh-blue);
}

.showcase-img-wrapper {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(30, 58, 103, 0.08);
  border: 1px solid var(--border-color);
}

.showcase-img-wrapper img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.software-showcase-card:hover .showcase-img-wrapper img {
  transform: scale(1.03);
}

.showcase-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.showcase-title {
  color: var(--logo-navy);
  font-size: 1.85rem;
  font-weight: 800;
  margin: 0.5rem 0 0.85rem;
  line-height: 1.25;
}

.showcase-desc {
  color: var(--text-body);
  font-size: 0.975rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.showcase-features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
  list-style: none;
  padding: 0;
}

.showcase-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.925rem;
  color: var(--text-dark);
}

.showcase-features li i {
  color: var(--logo-swoosh-blue);
  font-size: 1.1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* Pan-India & Global Interactive Map Representation */
.map-showcase-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 2rem;
  align-items: stretch;
  margin-top: 2rem;
}

.visual-map-card {
  background: linear-gradient(135deg, #142848 0%, #1e3a67 100%);
  border-radius: var(--radius-xl);
  border: 2px solid var(--accent-gold);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.map-card-header {
  margin-bottom: 1rem;
}

.svg-map-container {
  width: 100%;
  flex: 1;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.vector-india-map {
  width: 100%;
  height: 100%;
  max-height: 480px;
}

@keyframes pulseRing {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.4);
    opacity: 0.3;
  }

  100% {
    transform: scale(0.9);
    opacity: 0.8;
  }
}

.pulse-ring {
  animation: pulseRing 3s infinite ease-in-out;
  transform-origin: center;
}

.map-summary-bar {
  display: flex;
  justify-content: space-around;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.925rem;
  margin-top: 1.25rem;
}

.region-cards-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.region-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  border: 1.5px solid var(--border-color);
  box-shadow: 0 4px 14px rgba(30, 58, 103, 0.05);
  transition: var(--transition);
}

.region-card:hover {
  transform: translateX(4px);
  border-color: var(--logo-swoosh-blue);
  box-shadow: 0 10px 24px rgba(30, 58, 103, 0.1);
}

.region-card.featured {
  border-color: var(--accent-gold);
  background: linear-gradient(180deg, #ffffff 0%, #fffdf7 100%);
}

.region-card.featured-global {
  border-color: var(--logo-swoosh-blue);
  background: linear-gradient(180deg, #ffffff 0%, #f0f6ff 100%);
}

.region-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.region-tag {
  font-weight: 800;
  font-size: 1rem;
  color: var(--logo-navy);
}

.region-tag.gold {
  color: #7a4d05;
}

.region-tag.global {
  color: var(--logo-swoosh-blue);
}

.region-count {
  font-size: 0.78rem;
  font-weight: 800;
  background: var(--bg-subtle);
  color: var(--logo-swoosh-blue);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
}

.region-count.gold {
  background: rgba(200, 147, 59, 0.15);
  color: #7a4d05;
}

.region-count.global {
  background: rgba(54, 105, 166, 0.15);
  color: var(--logo-swoosh-blue);
}

.city-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.city-pill {
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--bg-body);
  color: var(--text-body);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.city-pill.gold {
  background: rgba(200, 147, 59, 0.12);
  color: #7a4d05;
  border-color: rgba(200, 147, 59, 0.3);
  font-weight: 700;
}

.city-pill.highlight {
  background: #e8f1f8;
  color: var(--logo-navy);
  font-weight: 700;
}

.city-pill.global {
  background: rgba(54, 105, 166, 0.1);
  color: var(--logo-navy);
  border-color: rgba(54, 105, 166, 0.25);
  font-weight: 600;
}

/* Google Maps Side-by-Side 2-Column Grid */
.maps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.map-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border-color);
  box-shadow: 0 6px 20px -4px rgba(30, 58, 103, 0.06);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.map-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -6px rgba(30, 58, 103, 0.12);
  border-color: var(--logo-swoosh-blue);
}

.map-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
}

.map-header i {
  font-size: 1.5rem;
}

.map-frame-wrapper {
  width: 100%;
  flex: 1;
  overflow: hidden;
  position: relative;
}

.map-frame-wrapper iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

@media (max-width: 992px) {
  .map-showcase-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {

  .founder-profile-grid,
  .reseller-grid,
  .locations-grid,
  .clients-logo-grid,
  .client-logos-grid,
  .process-stepper {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.25rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .maps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {

  .founder-profile-grid,
  .reseller-grid,
  .locations-grid,
  .clients-logo-grid,
  .client-logos-grid,
  .process-stepper {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
}

/* Software Showcase Cards & Feature Alignment (Services Page) */
.software-showcase-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
  background: var(--bg-surface, #ffffff);
  border-radius: var(--radius-xl, 20px);
  padding: 2.75rem;
  border: 1.5px solid var(--border-color, #e2e8f0);
  box-shadow: 0 10px 30px -5px rgba(30, 58, 103, 0.06);
  margin-bottom: 3rem;
  transition: var(--transition, all 0.3s ease);
}

.software-showcase-card:hover {
  box-shadow: 0 18px 40px -8px rgba(30, 58, 103, 0.12);
  border-color: rgba(54, 105, 166, 0.35);
}

.software-showcase-card.reverse .showcase-details {
  order: 1;
}

.software-showcase-card.reverse .showcase-img-wrapper {
  order: 2;
}

.showcase-img-wrapper {
  width: 100%;
  height: 340px;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  border: 1px solid var(--border-color, #e2e8f0);
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.04));
}

.showcase-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.software-showcase-card:hover .showcase-img-wrapper img {
  transform: scale(1.04);
}

.showcase-details {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.showcase-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--logo-navy, #1e3a67);
  line-height: 1.25;
  margin: 0;
}

.showcase-desc {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-body, #334155);
  margin: 0;
}

/* Perfect alignment for showcase features list */
.showcase-features {
  list-style: none !important;
  padding: 0 !important;
  margin: 0.5rem 0 1.25rem 0 !important;
}

.showcase-features li {
  position: relative !important;
  padding-left: 2rem !important;
  margin-bottom: 0.85rem !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  color: var(--text-body, #334155) !important;
  display: block !important;
}

.showcase-features li i {
  position: absolute !important;
  left: 0 !important;
  top: 0.2rem !important;
  color: var(--logo-swoosh-blue, #3669a6) !important;
  font-size: 1.1rem !important;
}

.showcase-features li strong {
  color: var(--logo-navy, #1e3a67) !important;
  font-weight: 700 !important;
  display: inline !important;
  margin-right: 0.25rem !important;
}

@media (max-width: 992px) {

  .software-showcase-card,
  .software-showcase-card.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.75rem;
  }

  .software-showcase-card.reverse .showcase-details {
    order: 2;
  }

  .software-showcase-card.reverse .showcase-img-wrapper {
    order: 1;
  }

  .showcase-img-wrapper {
    height: 250px;
  }
}

/* Client Roster Showcase Grid (Page 8 Corporate Profile) */
.client-roster-card {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
}

.client-roster-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--logo-swoosh-blue);
}

.client-roster-card.mfg-card {
  border-color: rgba(200, 147, 59, 0.3);
}

.client-roster-card.mfg-card:hover {
  border-color: var(--accent-gold);
}

.client-roster-card strong {
  color: var(--logo-navy);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

/* Floating Action Buttons & Tooltips */
.floating-btn-group {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-end;
}

.whatsapp-fab {
  width: 54px;
  height: 54px;
  background: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  position: relative;
}

.whatsapp-fab:hover {
  transform: scale(1.08);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
}

.ai-chat-fab {
  width: 56px;
  height: 56px;
  background: var(--logo-navy);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(15, 41, 66, 0.4);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.ai-chat-fab:hover {
  transform: scale(1.08);
  background: var(--logo-navy-royal);
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.5);
}

.ai-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #10b981;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 50px;
  border: 2px solid #ffffff;
}

/* Mobile Quick Bottom Bar (< 768px) */
/* ==========================================================================
   Comprehensive Tablet & Mobile Responsiveness System
   ========================================================================== */

/* Tablets & Laptops (<= 992px) */
@media (max-width: 992px) {
  .nav-menu {
    display: none !important;
  }

  .mobile-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    color: var(--logo-navy);
    cursor: pointer;
  }

  .top-bar-inner {
    justify-content: center;
    text-align: center;
  }

  .top-right-links {
    justify-content: center;
    width: 100%;
  }

  .top-social-links {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
  }

  /* Hero & Section Layouts */
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual-frame {
    max-width: 520px;
    margin: 0 auto;
  }

  /* Solutions & Feature Grids */
  .solutions-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  }

  .software-showcase-card,
  .software-showcase-card.reverse {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    padding: 1.75rem !important;
  }

  .software-showcase-card.reverse .showcase-details {
    order: 2;
  }

  .software-showcase-card.reverse .showcase-img-wrapper {
    order: 1;
  }

  .showcase-img-wrapper {
    height: 260px !important;
  }

  /* Footer Responsiveness */
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 2.5rem !important;
  }

  /* Stats grid divider fix */
  .stat-item:not(:last-child)::after {
    display: none !important;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }

  /* Process Stepper & Reseller & Locations Grids */
  .process-stepper,
  .reseller-grid,
  .founder-profile-grid,
  .maps-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }

  /* Generic Inline Grids & Multi-column Overrides */
  div[style*="grid-template-columns: 1.15fr 0.85fr"],
  div[style*="grid-template-columns:1.15fr 0.85fr"],
  div[style*="grid-template-columns: 1.15fr 0.85fr;"],
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns: 1fr 1fr;"] {
    grid-template-columns: 1fr !important;
  }

  div[style*="grid-template-columns: repeat(4, 1fr)"],
  div[style*="grid-template-columns:repeat(4, 1fr)"],
  div[style*="grid-template-columns: repeat(3, 1fr)"],
  div[style*="grid-template-columns:repeat(3, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .container {
    padding: 0 1rem !important;
  }

  .top-bar {
    display: none !important;
    /* Hide top bar on phones to preserve viewport height */
  }

  .nav-container {
    height: 68px !important;
  }

  .logo-wrapper img {
    height: 42px !important;
  }

  .hero-section {
    padding: 3rem 0 4rem !important;
    min-height: auto !important;
  }

  .hero-title {
    font-size: 2.15rem !important;
    line-height: 1.2 !important;
  }

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

  .hero-slider-nav {
    justify-content: center;
  }

  /* Prevent floating badges from spilling past mobile viewport width */
  .floating-badge,
  .floating-badge-top {
    display: none !important;
  }

  .stats-bar-wrapper {
    margin-top: 1.5rem !important;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 1.25rem !important;
  }

  .stats-card {
    padding: 1.5rem 1.25rem !important;
  }

  .section {
    padding: 3rem 0 !important;
  }

  .section-title {
    font-size: 1.75rem !important;
  }

  .section-description {
    font-size: 0.95rem !important;
  }

  /* Force Form Grids & Multi-column Grids to 1 Column on Mobile */
  .process-stepper,
  .reseller-grid,
  .founder-profile-grid,
  .maps-grid,
  .timeline-stepper,
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns: repeat(2, 1fr)"],
  div[style*="grid-template-columns:repeat(2, 1fr)"],
  div[style*="grid-template-columns: repeat(3, 1fr)"],
  div[style*="grid-template-columns:repeat(3, 1fr)"],
  div[style*="grid-template-columns: repeat(4, 1fr)"],
  div[style*="grid-template-columns:repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .brochure-card {
    grid-template-columns: 1fr !important;
    padding: 2rem 1.5rem !important;
    text-align: center;
  }

  .brochure-list {
    grid-template-columns: 1fr !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    text-align: center;
  }

  .footer-brand img {
    margin: 0 auto 1rem;
  }

  .footer-social-links {
    justify-content: center;
  }

  .modal-container {
    width: 100% !important;
    max-width: 480px !important;
  }

  .floating-btn-group {
    bottom: 16px !important;
    right: 16px !important;
  }

  .ai-chat-drawer {
    width: calc(100vw - 24px) !important;
    right: 12px !important;
    left: 12px !important;
    bottom: 80px !important;
    height: min(480px, calc(100dvh - 100px)) !important;
  }
}

/* Small Smartphone Devices (<= 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem !important;
  }

  .btn:not(.btn-sm) {
    width: 100% !important;
    padding: 0.75rem 1.25rem !important;
  }

  .hero-actions {
    flex-direction: column !important;
    width: 100% !important;
  }

  .stats-grid {
    grid-template-columns: 1fr !important;
  }

  .client-roster-card {
    min-height: 64px !important;
    padding: 0.85rem 1rem !important;
  }

  .client-roster-card strong {
    font-size: 0.875rem !important;
  }
}




/* ==========================================================================
   Responsive Layer — Mobile / Tablet Support
   Replaces former inline-style grids so they can collapse at breakpoints.
   ========================================================================== */

/* Prevent any stray element from creating sideways scroll on phones */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img,
video,
svg,
iframe,
canvas {
  max-width: 100%;
}

table {
  max-width: 100%;
}

/* Generic responsive grid system (.rg) */
.rg {
  display: grid;
}

.rg>* {
  min-width: 0;
  /* lets grid children shrink instead of forcing overflow */
}

.rg-2 {
  grid-template-columns: 1fr 1fr;
}

.rg-3 {
  grid-template-columns: repeat(3, 1fr);
}

.rg-4 {
  grid-template-columns: repeat(4, 1fr);
}

.rg-split-a {
  grid-template-columns: 1.15fr 0.85fr;
}

.rg-split-b {
  grid-template-columns: 1fr 1.2fr;
}

.rg-panel {
  padding: 3rem 2.75rem;
}

.locations-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* ---- Large tablets / small laptops ---- */
@media (max-width: 1100px) {
  .rg-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .rg-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .rg-split-a,
  .rg-split-b {
    gap: 2.5rem !important;
  }
}

/* ---- Tablets ---- */
@media (max-width: 900px) {

  .rg-split-a,
  .rg-split-b,
  .rg-stack-lg,
  .rg-stack-md {
    grid-template-columns: 1fr;
    gap: 2rem !important;
  }

  .rg-3 {
    grid-template-columns: 1fr 1fr;
  }

  .locations-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .rg-panel {
    padding: 2.25rem 1.75rem;
  }
}

/* ---- Phones ---- */
@media (max-width: 640px) {

  .rg-3,
  .rg-4,
  .rg-2:not(.rg-keep-2) {
    grid-template-columns: 1fr;
  }

  .rg-2.rg-stack-sm {
    grid-template-columns: 1fr;
  }

  .locations-grid-2 {
    grid-template-columns: 1fr;
  }

  .rg {
    gap: 1.25rem !important;
  }

  .rg-panel {
    padding: 1.5rem 1.15rem;
    border-radius: var(--radius-lg) !important;
  }

  /* Inline-padded cards (careers / contact / index) get tighter padding */
  [style*="padding: 2.25rem"],
  [style*="padding:2.25rem"] {
    padding: 1.5rem 1.25rem !important;
  }

  [style*="padding: 2rem 1.75rem"] {
    padding: 1.5rem 1.15rem !important;
  }
}

/* ---- Small phones ---- */
@media (max-width: 480px) {
  .rg-4 {
    grid-template-columns: 1fr;
  }

  .rg-keep-2 {
    grid-template-columns: 1fr;
  }
}

/* Make sure long words / emails / URLs never break the layout */
/* Wrap long strings only when a single word truly cannot fit (never mid-word otherwise) */
p,
li,
a,
td,
th,
label,
h1,
h2,
h3,
h4 {
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4 {
  hyphens: auto;
}

/* Let grid children shrink below their min-content width (fixes 320px overflow) */
.software-showcase-card>*,
.hero-grid>*,
.footer-grid>*,
.features-grid>*,
.solutions-grid>*,
.map-showcase-grid>*,
.maps-grid>* {
  min-width: 0;
}

@media (max-width: 992px) {

  .software-showcase-card,
  .software-showcase-card.reverse {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .solutions-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)) !important;
  }
}


/* Fluid sizing for headings/cards that carry inline font-size / padding */
@media (max-width: 900px) {
  .resp-h1 {
    font-size: clamp(1.7rem, 6.4vw, 2.5rem) !important;
  }

  .resp-h2 {
    font-size: clamp(1.45rem, 5.4vw, 2.1rem) !important;
  }
}

@media (max-width: 640px) {
  .resp-hero-card {
    padding: 2rem 1.35rem !important;
    border-radius: var(--radius-lg) !important;
  }

  .resp-hero-card .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Small polish for tight rows */
.card-footer-link,
.software-showcase-card .btn,
.software-showcase-card a {
  white-space: normal;
}

/* Keep action links on one line inside card footers */
.link-arrow {
  white-space: nowrap;
}

/* Touch targets: >= 44x44px for nav controls (and robust if icon font is slow/blocked) */
.mobile-toggle,
.close-drawer {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.mobile-toggle {
  display: none;
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: inline-flex;
  }
}


/* ==========================================================================
   Buttons & Request-Demo modal — mobile fixes
   ========================================================================== */

/* Long button labels wrap instead of spilling out of the button */
@media (max-width: 768px) {
  .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    max-width: 100%;
    min-height: 44px;
  }

  .btn-sm {
    min-height: 40px;
  }

  .card-footer {
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
  }

  .card-footer .btn {
    flex: 0 0 auto;
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
  }
}

@media (max-width: 480px) {

  /* Footer: link on top, demo button full width underneath if they don't fit */
  .card-footer .btn {
    width: auto !important;
    flex: 1 1 auto;
  }

  .btn {
    font-size: 0.92rem;
  }
}

/* ---- Modal: bounded to the viewport, header pinned, body scrolls ---- */
.modal-overlay {
  padding: 1rem;
  padding-top: max(1rem, env(safe-area-inset-top, 0px));
  padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
}

.modal-container {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
}

.modal-header {
  flex: 0 0 auto;
  gap: 1rem;
}

.modal-title {
  overflow-wrap: break-word;
  min-width: 0;
}

.modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.modal-close {
  flex: 0 0 auto;
}

@media (max-width: 640px) {
  .modal-overlay {
    padding: 0.75rem;
  }

  .modal-header {
    padding: 1rem 1.15rem;
  }

  .modal-title {
    font-size: 1.05rem;
    line-height: 1.3;
  }

  .modal-close {
    width: 40px;
    height: 40px;
  }

  .modal-body {
    padding: 1.15rem;
  }

  .modal-body .form-group {
    margin-bottom: 1rem;
  }

  /* 16px prevents iOS Safari zooming the page when a field is focused */
  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px;
  }

  .modal-body .btn[type="submit"] {
    width: 100%;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .modal-header {
    padding: 0.65rem 1.15rem;
  }

  .modal-body {
    padding: 1rem 1.15rem;
  }
}

/* Any touch device: 16px form fields so iOS never auto-zooms on focus */
@media (pointer: coarse) {

  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px;
  }
}

/* Stacked form rows: spacing comes from .form-group margins only (no doubled gap) */
@media (max-width: 640px) {
  .rg.rg-stack-sm {
    row-gap: 0 !important;
  }

  .form-select {
    text-overflow: ellipsis;
  }
}


/* ==========================================================================
   About / Contact / Reviews — mobile fixes
   ========================================================================== */

/* ---- About: deployment map ---- */
.map-img-wrap {
  min-height: 0;
}

@media (min-width: 993px) {
  .map-img-wrap {
    min-height: 680px;
  }

  /* tall side-by-side layout on desktop only */
}

.map-img-wrap img {
  width: 100%;
  height: auto;
}

/* ---- About: region cards & badges ---- */
.region-header {
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}

.region-tag {
  min-width: 0;
}

.region-count {
  white-space: nowrap;
  flex-shrink: 0;
}

@media (hover: none) {
  .region-card:hover {
    transform: none;
  }
}

@media (max-width: 640px) {
  .region-card {
    padding: 1.05rem 1.1rem;
  }

  .map-summary-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* ---- Contact: info rows (address / phone / email) ---- */
.contact-info-row>div:first-child {
  flex: 0 0 44px;
}

/* keep the icon circle round */
.contact-info-row>div:last-child {
  min-width: 0;
  flex: 1 1 auto;
}

.contact-info-row a {
  overflow-wrap: break-word;
  word-break: normal;
}

@media (max-width: 640px) {
  .contact-info-row {
    padding: 1rem !important;
    gap: 0.8rem !important;
  }

  .contact-info-row>div:first-child {
    flex-basis: 40px;
    width: 40px !important;
    height: 40px !important;
  }

  .contact-info-row a[href^="mailto:"] {
    font-size: 0.82rem;
  }
}

/* ---- Home: Google reviews card ---- */
.t-rating {
  flex-wrap: nowrap;
}

.t-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.client-profile {
  min-width: 0;
}

.client-avatar {
  flex: 0 0 50px;
}

.t-foot .client-profile>div:last-child {
  min-width: 0;
}

@media (max-width: 640px) {
  .testimonial-card {
    padding: 1.5rem 1.15rem;
    border-radius: var(--radius-lg);
  }

  .testimonial-card .quote-icon {
    display: none;
  }

  .t-head {
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
  }

  .testimonial-text {
    font-size: 1rem !important;
    line-height: 1.65 !important;
  }

  #testimonialContainer {
    min-height: 0 !important;
  }

  .t-foot {
    flex-direction: column;
    align-items: stretch !important;
    gap: 1rem !important;
  }

  .t-nav {
    justify-content: flex-end;
  }

  .t-nav #testimonialCounter {
    margin-right: auto !important;
  }
}

/* ==========================================================================
   Client logos — drop <slug>.png into assets/clients/ and it appears automatically.
   If a file is missing, the monogram tile (clients page) / icon badge (home) stays.
   ========================================================================== */

/* Clients page: responsive roster grid, each card = logo tile on top + name below */
.client-roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
  gap: 1.25rem;
}

.client-roster-grid>* {
  min-width: 0;
}

.client-roster-card {
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  gap: 0.9rem;
  padding: 1rem 1rem 1.15rem;
}

.client-logo-slot {
  position: relative;
  width: 100%;
  height: 124px;
  display: grid;
  place-items: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.client-mono {
  grid-area: 1 / 1;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: var(--logo-navy);
}

.mfg-card .client-mono {
  color: var(--accent-gold-dark);
}

.mfg-card .client-logo-slot {
  background: rgba(200, 147, 59, 0.1);
}

.client-logo-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  background: #ffffff;
  /* covers the monogram once a real logo loads */
}

.client-roster-card strong {
  min-width: 0;
  overflow-wrap: break-word;
}

/* Home page cards: logo replaces the icon badge when the file exists */
.client-logo-img {
  width: 100%;
  max-width: 200px;
  height: 76px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.client-logo-img+.client-logo-badge {
  display: none;
}

@media (max-width: 640px) {
  .client-roster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .client-roster-card {
    padding: 0.75rem 0.75rem 0.9rem !important;
    gap: 0.7rem;
    min-height: 0 !important;
  }

  .client-logo-slot {
    height: 96px;
  }

  .client-logo-slot img {
    padding: 8px;
  }

  .client-roster-card strong {
    font-size: 0.82rem !important;
  }
}

@media (max-width: 340px) {
  .client-roster-grid {
    grid-template-columns: 1fr;
  }
}
