/* ==========================================================================
   CAMPUSGURU TECHNOLOGIES — DESIGN SYSTEM & MASTER STYLESHEET
   Crafted with Senior UX/UI Standards | Clean, Bespoke, High-Performance
   ========================================================================== */

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

:root {
  /* Color Palette */
  --navy-950: #070d1e;
  --navy-900: #0b152d;
  --navy-800: #122143;
  --navy-700: #1b2f5b;
  
  --primary: #4338ca;
  --primary-light: #6366f1;
  --primary-dark: #3730a3;
  --primary-subtle: #eef2ff;
  --primary-glow: rgba(99, 102, 241, 0.25);
  
  --cyan-500: #06b6d4;
  --cyan-600: #0891b2;
  --cyan-light: #ecfeff;
  
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-light: #ecfdf5;
  
  --amber-500: #f59e0b;
  --amber-light: #fffbeb;
  
  --rose-500: #f43f5e;
  --rose-light: #fff1f2;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  --surface-white: #ffffff;
  --surface-card: #ffffff;
  --border-light: rgba(226, 232, 240, 0.9);
  --border-subtle: rgba(203, 213, 225, 0.5);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.07), 0 1px 2px -1px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
  --shadow-glow: 0 0 50px -10px rgba(99, 102, 241, 0.35);

  /* Layout */
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;
  
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
}

body {
  font-family: var(--font-sans);
  background-color: var(--slate-50);
  color: var(--slate-700);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--navy-950);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.font-display { font-family: var(--font-display); }
.font-mono { font-family: var(--font-mono); }

/* Container & Header Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.header-container {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 900px;
}

/* ==========================================================================
   CAMPUSGURU TECHNOLOGIES — MODERN CAPSULE HEADER & BRAND SYSTEM
   ========================================================================== */

.header-container {
  width: 100%;
  max-width: 1420px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   FLOATING ISLAND NAVBAR (APPLE & VERCEL CALIBER)
   Detached, Frosted Glass Blur, Elevated Floating Pill Container
   ========================================================================== */
.main-header {
  position: sticky;
  top: 1rem;
  z-index: 1000;
  width: 100%;
  padding: 0 1.5rem;
  background: transparent !important;
  border: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  pointer-events: none;
  transition: top 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-container {
  max-width: 1220px;
  margin: 0 auto;
  pointer-events: auto;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.35rem;
  padding: 0 1.15rem 0 1.5rem;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-full);
  box-shadow: 0 12px 36px -6px rgba(15, 23, 42, 0.08),
              0 0 0 1px rgba(226, 232, 240, 0.75),
              0 1px 2px rgba(255, 255, 255, 0.9) inset;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  gap: 1.25rem;
}

/* Scrolled Floating Island (Sleeker & slightly more compact) */
.main-header.scrolled {
  top: 0.65rem;
}
.main-header.scrolled .nav-wrapper {
  height: 3.95rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 45px -8px rgba(15, 23, 42, 0.13),
              0 0 0 1px rgba(203, 213, 225, 0.85),
              0 1px 2px rgba(255, 255, 255, 0.95) inset;
}

/* Authentic Brand Logo inside Floating Island */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}
.brand-logo:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}
.brand-logo-img {
  height: 38px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  transition: height 0.3s ease;
}
.main-header.scrolled .brand-logo-img {
  height: 34px;
}

/* Island Center Navigation Links (Clean, No clumsy double-capsule) */
.nav-capsule {
  display: flex;
  align-items: center;
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  padding: 0;
  gap: 0.25rem;
  box-shadow: none;
  flex-shrink: 0;
}
.nav-capsule:hover {
  background: transparent;
  box-shadow: none;
  border-color: transparent;
}

.capsule-item {
  position: relative;
  display: flex;
  align-items: center;
}

.capsule-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-700);
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-full);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  white-space: nowrap !important;
  line-height: 1;
  border: none;
  background: transparent;
  font-family: inherit;
}
.capsule-link:hover {
  color: var(--primary);
  background: rgba(67, 56, 202, 0.06);
  transform: translateY(-1px);
}
.capsule-link.active {
  background: #ffffff;
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(67, 56, 202, 0.12), 0 0 0 1px rgba(199, 210, 254, 0.6);
}
.capsule-link .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald-500);
  display: inline-block;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.7);
}

/* Dropdown Mega Menus for Capsule Items */
.nav-dropdown {
  position: relative;
}
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
}
.dropdown-chevron {
  transition: transform var(--transition-fast);
  color: var(--slate-400);
}
.nav-dropdown:hover .dropdown-chevron,
.nav-dropdown.open .dropdown-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 580px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
  padding: 1.15rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-normal);
  z-index: 1050;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
.dropdown-menu.compact {
  width: 320px;
  grid-template-columns: 1fr;
  padding: 0.85rem;
  left: 50%;
}

/* Redesigned Streamlined Services Mega Menu */
.dropdown-menu.mega-menu {
  width: 680px;
  max-width: 92vw;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  left: 50%;
  transform: translateX(-35%) translateY(10px);
  box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.2), 0 0 0 1px rgba(226, 232, 240, 0.8);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.nav-dropdown:hover .dropdown-menu.mega-menu,
.nav-dropdown:focus-within .dropdown-menu.mega-menu,
.nav-dropdown.open .dropdown-menu.mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-35%) translateY(0);
}

.mega-grid-clean {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.35rem;
  padding: 0.9rem;
}

.mega-item-clean {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--navy-950);
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.mega-item-clean:hover {
  background: #f8fafc;
  border-color: #e2e8f0;
  transform: translateY(-1px);
}
.mega-item-clean.highlight:hover {
  background: #faf5ff;
  border-color: #e9d5ff;
}

.mega-item-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.mega-item-clean:hover .mega-item-icon {
  transform: scale(1.06);
}

.mega-item-body {
  flex: 1;
  min-width: 0;
}
.mega-item-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.2rem;
}
.mega-item-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-950);
  line-height: 1.25;
  transition: color 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mega-item-clean:hover .mega-item-title {
  color: var(--primary);
}
.mega-item-clean.highlight:hover .mega-item-title {
  color: #7c3aed;
}

.mega-item-arrow {
  opacity: 0;
  color: var(--primary);
  transform: translateX(-4px);
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.mega-item-clean:hover .mega-item-arrow {
  opacity: 1;
  transform: translateX(0);
}
.mega-item-clean.highlight .mega-item-arrow {
  color: #7c3aed;
}

.mega-item-desc {
  display: block;
  font-size: 0.74rem;
  color: var(--slate-500);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mega Menu Clean Footer Strip */
.mega-footer-clean {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.15rem;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-top: 1px solid var(--border-light);
  font-size: 0.78rem;
}
.mega-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
}
.mega-footer-link:hover {
  color: var(--primary-dark);
  transform: translateX(2px);
}
.mega-footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--slate-600);
  font-size: 0.76rem;
}
.mega-footer-phone a {
  color: var(--navy-950);
  font-weight: 700;
  text-decoration: none;
}
.mega-footer-phone a:hover {
  color: var(--primary);
  text-decoration: underline;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  color: var(--navy-950);
  border: 1px solid transparent;
}
.dropdown-item:hover {
  background: var(--slate-50);
  border-color: var(--slate-200);
  transform: translateY(-1px);
}
.dropdown-item.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
  border: 1px solid #e0e7ff;
}
.dropdown-item.featured:hover {
  background: #eef2ff;
  border-color: #c7d2fe;
}
.dropdown-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}
.dropdown-content strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-950);
  line-height: 1.25;
}
.dropdown-content span {
  display: block;
  font-size: 0.74rem;
  color: var(--slate-500);
  margin-top: 0.15rem;
  line-height: 1.35;
}

/* Header Right Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  white-space: nowrap;
}
.header-quick-action {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  color: var(--slate-600);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-xs);
}
.header-quick-action:hover {
  transform: translateY(-2px);
  border-color: var(--primary-light);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}
.header-quick-action.whatsapp:hover {
  color: #10b981;
  border-color: #10b981;
  background: #ecfdf5;
}
.btn-glow {
  box-shadow: 0 4px 14px rgba(67, 56, 202, 0.35);
}
.btn-glow:hover {
  box-shadow: 0 8px 22px rgba(67, 56, 202, 0.45);
  transform: translateY(-2px);
}

/* Service Pills & Checklist Badges */
.service-sublist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1.1rem 0;
}
.service-pill-tag {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--slate-700);
  background: var(--slate-100);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--slate-200);
  transition: all var(--transition-fast);
}
.service-pill-tag:hover {
  background: var(--primary-subtle);
  color: var(--primary);
  border-color: rgba(99, 102, 241, 0.3);
}

/* Header Action Buttons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Button Component System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-smooth);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #3730a3 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(67, 56, 202, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #312e81 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(67, 56, 202, 0.45);
  color: #ffffff;
}
.btn-secondary {
  background: var(--surface-white);
  color: var(--navy-900);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover {
  border-color: var(--primary-light);
  color: var(--primary);
  background: var(--slate-50);
  transform: translateY(-1px);
}
.btn-white {
  background: #ffffff;
  color: var(--navy-950);
  box-shadow: var(--shadow-md);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--slate-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}
.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}
.btn-outline-white:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.btn-lg {
  padding: 0.9rem 1.85rem;
  font-size: 1.05rem;
}
.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.8125rem;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 2rem;
  height: 1.35rem;
  padding: 0;
  z-index: 1001;
}
.mobile-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--navy-950);
  border-radius: 2px;
  transition: all var(--transition-normal);
}
.mobile-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Drawer Overlay */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 380px;
  height: 100vh;
  background: var(--surface-white);
  box-shadow: var(--shadow-2xl);
  z-index: 999;
  padding: 6rem 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right var(--transition-smooth);
}
.mobile-drawer.open {
  right: 0;
}
.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}
.mobile-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.mobile-menu .nav-link {
  font-size: 1.1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
}

/* Badge System */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}
.badge-pill-light {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--slate-200);
  color: var(--navy-900);
  box-shadow: var(--shadow-xs);
}
.badge-pulse {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--emerald-500);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 2s infinite;
}
@keyframes pulse-ring {
  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); }
}

/* ==========================================================================
   HERO SECTION 2.0 — HIGH UI/UX MAX PRO ARCHITECTURE
   ========================================================================== */

/* ==========================================================================
   FULL-PAGE AMBIENT VIDEO BACKGROUND (HIGH VISIBILITY + TASTEFUL BLUR)
   ========================================================================== */

.fullpage-video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  z-index: -10;
  overflow: hidden;
  pointer-events: none;
  background: #f8fafc;
}

.fullpage-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.04);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  filter: blur(2.5px) saturate(1.18) contrast(1.04);
  -webkit-filter: blur(2.5px) saturate(1.18) contrast(1.04);
  opacity: 1;
}

.fullpage-video-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 40%,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.18) 70%,
    rgba(255, 255, 255, 0.35) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-section {
  position: relative;
  overflow: hidden;
  background: transparent !important;
}

.hero-section.hero-fullpage {
  height: clamp(650px, 100vh, 960px);
  min-height: 650px;
  display: flex;
  align-items: center;
  margin-top: -5.5rem;
  padding-top: 7rem;
  padding-bottom: 3rem;
  box-sizing: border-box;
}

.hero-ambient-mesh {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(99, 102, 241, 0.05) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  pointer-events: none;
  opacity: 0.35;
  z-index: 1;
}

.practices-section {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-radius: 40px 40px 0 0;
  box-shadow: 0 -20px 50px rgba(15, 23, 42, 0.08);
}

.hero-grid-split {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 3.75rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-left-content {
  text-align: left;
}

.hero-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(199, 210, 254, 0.9);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--navy-900);
  box-shadow: 0 4px 15px -3px rgba(67, 56, 202, 0.08);
  margin-bottom: 1.35rem;
  transition: all var(--transition-fast);
}

.hero-live-badge:hover {
  border-color: var(--primary-light);
  transform: translateY(-1px);
}

.hero-title-max {
  font-size: clamp(2.35rem, 4.2vw, 3.75rem);
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--navy-950);
  margin-top: 0;
  margin-bottom: 2rem;
}

/* ==========================================================================
   HERO HEADLINE — ENTERPRISE CINEMATIC ANIMATIONS (LINEAR / STRIPE STYLE)
   ========================================================================== */

/* Line 1: Word-by-Word Smooth Kinetic Entrance */
.hero-headline-line1 {
  display: block;
  margin-bottom: 0.35rem;
}

.hero-word {
  display: inline-block;
  color: var(--navy-950);
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.85);
  opacity: 0;
  transform: translateY(24px);
  filter: blur(8px);
  animation: heroWordSlideUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--i) * 0.12s);
  margin-right: 0.28em;
}

.hero-word:last-child {
  margin-right: 0;
}

@keyframes heroWordSlideUp {
  0% {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Line 2: Fluid Aurora Gradient Shimmer with Backlight & Light Beam */
.hero-headline-line2 {
  display: inline-block;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  filter: blur(6px);
  animation: heroLine2Entrance 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
  padding-bottom: 0.5rem;
}

@keyframes heroLine2Entrance {
  0% {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Multi-Tone Iridescent Gradient Sweep */
.hero-gradient-text {
  display: inline-block;
  background: linear-gradient(
    115deg,
    #0f172a 0%,
    #1d4ed8 25%,
    #2563eb 50%,
    #4338ca 75%,
    #0369a1 90%,
    #0f172a 100%
  );
  background-size: 260% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: heroLiquidWave 6s ease-in-out infinite alternate;
  filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.85)) drop-shadow(0 4px 16px rgba(29, 78, 216, 0.25));
}

@keyframes heroLiquidWave {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

/* Underline Luminous Beam */
.hero-shine-beam {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3.5px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #4338ca 15%,
    #2563eb 40%,
    #06b6d4 50%,
    #3b82f6 65%,
    #6366f1 85%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: heroBeamFlow 3.5s linear infinite;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.6), 0 0 24px rgba(37, 99, 235, 0.35);
}

@keyframes heroBeamFlow {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Ambient Backlight Aura */
.hero-glow-aura {
  position: absolute;
  top: 15%;
  left: 10%;
  width: 80%;
  height: 70%;
  background: radial-gradient(
    ellipse at center,
    rgba(37, 99, 235, 0.22) 0%,
    rgba(6, 182, 212, 0.14) 45%,
    transparent 70%
  );
  filter: blur(28px);
  z-index: -1;
  pointer-events: none;
  animation: heroAuraPulse 4s ease-in-out infinite alternate;
}

@keyframes heroAuraPulse {
  0% {
    opacity: 0.35;
    transform: scale(0.95);
  }
  100% {
    opacity: 0.75;
    transform: scale(1.05);
  }
}

.hero-title-max .text-gradient {
  background: linear-gradient(135deg, #3730a3 0%, #2563eb 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead-text {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 2.25rem;
  max-width: 620px;
}

.hero-action-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.hero-creds-strip {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.85rem;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  flex-wrap: wrap;
}

.hero-cred-item {
  display: flex;
  flex-direction: column;
}

.hero-cred-val {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 850;
  color: var(--navy-950);
  line-height: 1.1;
}

.hero-cred-label {
  font-size: 0.72rem;
  color: var(--slate-500);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.hero-cred-divider {
  width: 1px;
  height: 30px;
  background: var(--slate-200);
}

/* Right Side Hero — Pure 5 Services Architecture */
.hero-services-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-2xl);
  padding: 1.25rem;
  box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.85) inset;
  position: relative;
  z-index: 1;
}

.service-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.05rem 1.35rem;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  text-decoration: none;
  transition: all 260ms cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px -2px rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
}

.service-strip::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: transparent;
  transition: background 250ms ease;
}

.service-strip:hover {
  transform: translateX(6px);
  box-shadow: 0 12px 30px -6px rgba(15, 23, 42, 0.1);
}

.service-strip.s-erp:hover::before { background: #4338ca; }
.service-strip.s-erp:hover { border-color: #c7d2fe; background: linear-gradient(90deg, #f5f7ff 0%, #ffffff 100%); }

.service-strip.s-software:hover::before { background: #0891b2; }
.service-strip.s-software:hover { border-color: #a5f3fc; background: linear-gradient(90deg, #f0fdfa 0%, #ffffff 100%); }

.service-strip.s-ai:hover::before { background: #059669; }
.service-strip.s-ai:hover { border-color: #a7f3d0; background: linear-gradient(90deg, #ecfdf5 0%, #ffffff 100%); }

.service-strip.s-web:hover::before { background: #d97706; }
.service-strip.s-web:hover { border-color: #fde68a; background: linear-gradient(90deg, #fffbeb 0%, #ffffff 100%); }

.service-strip.s-growth:hover::before { background: #e11d48; }
.service-strip.s-growth:hover { border-color: #fecdd3; background: linear-gradient(90deg, #fff1f2 0%, #ffffff 100%); }

.service-strip.s-allinone:hover::before { background: #7c3aed; }
.service-strip.s-allinone:hover { border-color: #ddd6fe; background: linear-gradient(90deg, #f5f3ff 0%, #ffffff 100%); }

.service-strip-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  flex: 1 1 auto;
}

.service-strip-icon {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: transform 250ms ease;
}

.service-strip:hover .service-strip-icon {
  transform: scale(1.08);
}

.service-strip.s-erp .service-strip-icon { background: #eef2ff; color: #4338ca; }
.service-strip.s-software .service-strip-icon { background: #ecfeff; color: #0891b2; }
.service-strip.s-ai .service-strip-icon { background: #ecfdf5; color: #059669; }
.service-strip.s-web .service-strip-icon { background: #fffbeb; color: #d97706; }
.service-strip.s-growth .service-strip-icon { background: #fdf2f8; color: #e11d48; }
.service-strip.s-allinone .service-strip-icon { background: #f5f3ff; color: #7c3aed; }

.service-strip-text {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1 1 auto;
}

.service-strip-idx {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--slate-400);
  letter-spacing: 0.05em;
  background: var(--slate-100);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
}

.service-strip-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-950);
  line-height: 1.25;
  min-width: 0;
  word-break: normal;
  overflow-wrap: break-word;
}

.service-strip-chevron {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: var(--slate-100);
  color: var(--slate-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 250ms ease;
}

.service-strip:hover .service-strip-chevron {
  background: var(--navy-950);
  color: #ffffff;
  transform: translateX(4px);
}

/* ==========================================================================
   FULL-SPECTRUM PRACTICES 2.0 ARCHITECTURE
   ========================================================================== */

/* ==========================================================================
   FULL-SPECTRUM PRACTICES — CLEAN 5-CARD GRID ARCHITECTURE
   ========================================================================== */

.practices-section {
  background: #f8fafc;
  position: relative;
  z-index: 2;
  padding: 5rem 0 5.5rem;
  border-radius: 40px 40px 0 0;
  box-shadow: 0 -20px 50px rgba(15, 23, 42, 0.06);
}

.practices-clean-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (max-width: 1080px) {
  .practices-clean-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .practices-clean-grid {
    grid-template-columns: 1fr;
  }
}

.practice-item-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
}

.practice-item-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-light);
  transition: height 0.25s ease;
}
.practice-item-card.p-erp::before { background: #4338ca; }
.practice-item-card.p-software::before { background: #0891b2; }
.practice-item-card.p-ai::before { background: #059669; }
.practice-item-card.p-web::before { background: #d97706; }
.practice-item-card.p-growth::before { background: #e11d48; }
.practice-item-card.p-allinone::before { background: #7c3aed; }

.practice-item-card:hover {
  transform: translateY(-6px);
  border-color: rgba(199, 210, 254, 0.9);
  box-shadow: 0 20px 40px -8px rgba(15, 23, 42, 0.12);
}
.practice-item-card:hover::before {
  height: 6px;
}

.practice-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.35rem;
}

.practice-item-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--slate-100);
  transition: transform 0.25s ease;
}
.practice-item-card:hover .practice-item-icon {
  transform: scale(1.08);
}
.practice-item-card.p-erp .practice-item-icon { background: #eef2ff; color: #4338ca; }
.practice-item-card.p-software .practice-item-icon { background: #ecfeff; color: #0891b2; }
.practice-item-card.p-ai .practice-item-icon { background: #ecfdf5; color: #059669; }
.practice-item-card.p-web .practice-item-icon { background: #fffbeb; color: #d97706; }
.practice-item-card.p-growth .practice-item-icon { background: #fdf2f8; color: #e11d48; }
.practice-item-card.p-allinone .practice-item-icon { background: #f5f3ff; color: #7c3aed; }

.practice-item-idx {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--slate-400);
  background: var(--slate-100);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

.practice-item-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-950);
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.practice-item-desc {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin-bottom: 1.35rem;
}

.practice-item-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.practice-item-list li {
  font-size: 0.84rem;
  color: var(--slate-700);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.practice-item-list li::before {
  content: '✓';
  color: var(--emerald-500);
  font-weight: 800;
  font-size: 0.85rem;
}

.practice-item-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: auto;
  transition: gap 0.2s ease, color 0.2s ease;
}
.practice-item-card:hover .practice-item-arrow {
  gap: 0.75rem;
  color: var(--primary-light);
}

/* ==========================================================================
   INDUSTRIES WE SERVE — DUAL MARQUEE TICKER & INTERACTIVE GRID
   ========================================================================== */

.industries-section {
  position: relative;
  z-index: 2;
  padding: 4.5rem 0 4.5rem;
  background: #ffffff;
  overflow: hidden;
  border-top: 1px solid var(--slate-200);
}

/* Single-Row Smooth Looping Marquee */
.marquee-track-wrap {
  overflow: hidden;
  overflow-x: clip;
  contain: paint;
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 2rem 0 0.5rem;
  display: flex;
  mask-image: linear-gradient(90deg, transparent 0%, #000000 12%, #000000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000000 12%, #000000 88%, transparent 100%);
  padding: 0.5rem 0;
}

.marquee-row {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 1.25rem;
  white-space: nowrap;
  will-change: transform;
}

.marquee-row.scroll-left {
  animation: marqueeSlideLeft 48s linear infinite;
}

.marquee-track-wrap:hover .marquee-row {
  animation-play-state: paused;
}

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

.marquee-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.45rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-950);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

.marquee-pill:hover {
  background: #ffffff;
  border-color: var(--primary-light);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -2px rgba(67, 56, 202, 0.14);
}

.marquee-pill-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.marquee-pill-dot {
  font-size: 1.15rem;
  color: var(--primary-light);
  opacity: 0.6;
  user-select: none;
}

/* 12-Card Clean Industry Matrix */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

@media (max-width: 1140px) {
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

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

.industry-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.4rem;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.industry-card:hover {
  background: #ffffff;
  border-color: rgba(99, 102, 241, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -6px rgba(15, 23, 42, 0.08);
}

.industry-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease;
}

.industry-card:hover .industry-card-icon {
  transform: scale(1.12);
}

.industry-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy-950);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.industry-card-solutions {
  font-size: 0.82rem;
  color: var(--slate-500);
  line-height: 1.45;
  margin: 0;
}

/* Dashboard Mockup Component */
.dashboard-preview-wrapper {
  position: relative;
  z-index: 1;
  margin-top: 3.5rem;
  padding: 10px;
  background: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(226, 232, 240, 0.4) 100%);
  border-radius: var(--radius-2xl);
  box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
}
.dashboard-preview {
  background: var(--surface-white);
  border-radius: calc(var(--radius-2xl) - 6px);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.dashboard-preview-header {
  background: #f8fafc;
  padding: 0.85rem 1.4rem;
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mockup-dots {
  display: flex;
  gap: 0.4rem;
}
.mockup-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
}
.mockup-dot.red { background: #f87171; }
.mockup-dot.yellow { background: #fbbf24; }
.mockup-dot.green { background: #34d399; }

.mockup-search-bar {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-full);
  padding: 0.3rem 1rem;
  font-size: 0.78rem;
  color: var(--slate-400);
  width: 280px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.mockup-live-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--emerald-600);
  background: var(--emerald-light);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
}

.dashboard-body {
  padding: 1.75rem;
  background: #fcfdfe;
}
.dashboard-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.kpi-card {
  background: #ffffff;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}
.kpi-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-light);
}
.kpi-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.65rem;
}
.kpi-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--slate-500);
  letter-spacing: 0.05em;
}
.kpi-icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.kpi-value {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--navy-950);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}
.kpi-badge {
  font-size: 0.72rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}
.kpi-badge.up {
  color: var(--emerald-600);
  background: var(--emerald-light);
}
.kpi-badge.info {
  color: var(--primary);
  background: var(--primary-subtle);
}

.dashboard-row-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 1.25rem;
}
.dashboard-panel {
  background: #ffffff;
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-xs);
}
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}
.panel-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-950);
}
.panel-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--slate-500);
  background: var(--slate-100);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

/* Recent Activity Feed Mockup */
.activity-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.activity-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-md);
  background: #f8fafc;
  font-size: 0.84rem;
  transition: background var(--transition-fast);
}
.activity-item:hover {
  background: #f1f5f9;
}
.activity-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.activity-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
}
.activity-text strong {
  color: var(--navy-900);
  display: block;
  font-size: 0.83rem;
}
.activity-text span {
  color: var(--slate-500);
  font-size: 0.75rem;
}
.activity-amount {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--emerald-600);
}

/* Section Common Styling */
.section-py {
  padding-top: 6rem;
  padding-bottom: 6rem;
}
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.75rem;
}
.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-subtle);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--navy-950);
  line-height: 1.18;
  margin-bottom: 1.1rem;
}
.section-desc {
  font-size: 1.1rem;
  color: var(--slate-600);
  line-height: 1.65;
}

/* Redesigned School ERP Section */
.school-erp-section {
  position: relative;
  z-index: 2;
  padding: 5rem 0;
  background: #ffffff;
}

.erp-modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 992px) {
  .erp-modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .erp-modules-grid {
    grid-template-columns: 1fr;
  }
}

.erp-module-card {
  background: var(--surface-white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 1.85rem;
  box-shadow: 0 4px 15px -3px rgba(15, 23, 42, 0.05);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: var(--navy-950);
  position: relative;
  overflow: hidden;
}
.erp-module-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.25s ease;
}
.erp-module-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px -8px rgba(15, 23, 42, 0.12);
  border-color: rgba(99, 102, 241, 0.35);
}
.erp-module-card.m-indigo:hover::before { background: var(--primary); }
.erp-module-card.m-emerald:hover::before { background: var(--emerald-500); }
.erp-module-card.m-cyan:hover::before { background: var(--cyan-600); }
.erp-module-card.m-amber:hover::before { background: var(--amber-500); }
.erp-module-card.m-rose:hover::before { background: var(--rose-500); }
.erp-module-card.m-purple:hover::before { background: #8b5cf6; }

.erp-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.erp-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s ease;
}
.erp-module-card:hover .erp-card-icon {
  transform: scale(1.08);
}
.erp-card-idx {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--slate-400);
  background: var(--slate-100);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

.erp-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 1.15rem;
  line-height: 1.3;
}

.erp-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  padding: 0;
}
.erp-card-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--slate-600);
  line-height: 1.4;
}
.erp-card-list li svg {
  color: var(--emerald-500);
  flex-shrink: 0;
}

.erp-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-100);
  transition: all 0.2s ease;
}
.erp-card-cta svg {
  transition: transform 0.2s ease;
}
.erp-module-card:hover .erp-card-cta {
  color: var(--primary-dark);
}
.erp-module-card:hover .erp-card-cta svg {
  transform: translateX(4px);
}

.erp-cta-wrap {
  text-align: center;
  margin-top: 3.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

/* ==========================================================================
   Industries Mega Menu & Grid Styles
   ========================================================================== */
.dropdown-menu.mega-menu.industries-mega {
  width: 840px;
  max-width: 95vw;
  transform: translateX(-45%) translateY(0);
}
.nav-dropdown:hover .dropdown-menu.mega-menu.industries-mega,
.nav-dropdown:focus-within .dropdown-menu.mega-menu.industries-mega,
.nav-dropdown.open .dropdown-menu.mega-menu.industries-mega {
  transform: translateX(-45%) translateY(0);
}
.mega-grid-industries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem 0.75rem;
  padding: 1.25rem 1.25rem 1rem;
  background: #ffffff;
}
@media (max-width: 940px) {
  .dropdown-menu.mega-menu.industries-mega {
    width: 95vw;
    transform: translateX(-30%) translateY(0);
  }
  .mega-grid-industries {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 580px) {
  .mega-grid-industries {
    grid-template-columns: 1fr;
  }
}
.mega-ind-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}
.mega-ind-item:hover {
  background: #f8fafc;
  border-color: #e2e8f0;
  transform: translateY(-1px);
}
.mega-ind-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  background: #f1f5f9;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.mega-ind-item:hover .mega-ind-icon {
  transform: scale(1.12);
}
.mega-ind-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.mega-ind-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-950);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mega-ind-desc {
  font-size: 0.72rem;
  color: var(--slate-500);
  line-height: 1.3;
  margin-top: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   End Industries Mega Menu
   ========================================================================== */

/* Hero Showcase Image Frame */
.erp-hero-mockup-frame {
  max-width: 1040px;
  margin: 3rem auto 0;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(99, 102, 241, 0.25);
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  background: #0b1329;
}
.erp-hero-mockup-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px) {
  .erp-hero-mockup-frame img {
    height: 280px;
  }
}
.erp-float-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-950);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.8);
  z-index: 2;
}
.erp-float-badge.top-left {
  top: 1.25rem;
  left: 1.25rem;
}
.erp-float-badge.bottom-left {
  bottom: 1.25rem;
  left: 1.25rem;
}
.erp-float-badge.bottom-right {
  bottom: 1.25rem;
  right: 1.25rem;
}
@media (max-width: 640px) {
  .erp-float-badge {
    display: none;
  }
}

/* Stats Metric Strip */
.erp-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: var(--surface-white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2rem 2.5rem;
  margin: -2.5rem auto 4.5rem;
  position: relative;
  z-index: 5;
  max-width: 1000px;
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.08);
}
@media (max-width: 768px) {
  .erp-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 1.5rem;
    padding: 1.5rem;
  }
}
@media (max-width: 480px) {
  .erp-stats-bar {
    grid-template-columns: 1fr;
  }
}
.erp-stat-item {
  text-align: center;
}
.erp-stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}
.erp-stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-500);
  line-height: 1.35;
}

/* 2 Alternating Real Image Feature Showcases */
.erp-showcase-section {
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
  margin: 4.5rem 0;
}
.erp-showcase-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.erp-showcase-row.reverse {
  grid-template-columns: 1fr 1.1fr;
}
@media (max-width: 992px) {
  .erp-showcase-row,
  .erp-showcase-row.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.erp-showcase-img {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.16);
  border: 1px solid var(--slate-200);
  height: 380px;
  position: relative;
}
.erp-showcase-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.erp-showcase-img:hover img {
  transform: scale(1.03);
}
.erp-showcase-content {
  display: flex;
  flex-direction: column;
}
.erp-showcase-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy-950);
  line-height: 1.25;
  margin: 0.85rem 0 1.25rem;
}
.erp-showcase-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.erp-showcase-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--slate-700);
  line-height: 1.5;
}
.erp-showcase-item svg {
  color: var(--emerald-500);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Timeline: How Much Time It Takes (4-Stage Roadmap) */
.erp-timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 3rem 0 2rem;
}
@media (max-width: 992px) {
  .erp-timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 580px) {
  .erp-timeline-grid {
    grid-template-columns: 1fr;
  }
}
.erp-timeline-card {
  background: var(--surface-white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 4px 15px -3px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
}
.erp-timeline-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-light);
  box-shadow: 0 12px 25px -5px rgba(67, 56, 202, 0.12);
}
.erp-timeline-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.erp-timeline-days {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--emerald-600);
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}
.erp-timeline-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy-950);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}
.erp-timeline-desc {
  font-size: 0.85rem;
  color: var(--slate-600);
  line-height: 1.55;
}

/* Bento Grid System for Features & Modules */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}
.bento-card {
  background: var(--surface-white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(99, 102, 241, 0.3);
}
.bento-card.col-8 { grid-column: span 8; }
.bento-card.col-6 { grid-column: span 6; }
.bento-card.col-4 { grid-column: span 4; }
.bento-card.col-12 { grid-column: span 12; }

.bento-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.bento-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-xs);
}
.bento-icon.indigo { background: var(--primary-subtle); color: var(--primary); }
.bento-icon.cyan { background: var(--cyan-light); color: var(--cyan-600); }
.bento-icon.emerald { background: var(--emerald-light); color: var(--emerald-600); }
.bento-icon.amber { background: var(--amber-light); color: var(--amber-500); }
.bento-icon.rose { background: var(--rose-light); color: var(--rose-500); }

.bento-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 0.65rem;
}
.bento-card-desc {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1.4rem;
}
.bento-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.bento-feature-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-700);
}
.bento-feature-item svg {
  color: var(--emerald-500);
  flex-shrink: 0;
}

/* Real Image Presentation Cards */
.img-card-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  height: 220px;
  margin-top: 1rem;
}
.img-card-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}
.bento-card:hover .img-card-wrapper img {
  transform: scale(1.05);
}
.img-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 21, 45, 0.7) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1rem 1.25rem;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Interactive Tabs Component */
.tab-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
  padding: 0.4rem;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-full);
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow-xs);
}
.tab-btn {
  padding: 0.6rem 1.35rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-600);
  transition: all var(--transition-fast);
}
.tab-btn:hover {
  color: var(--primary);
}
.tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(67, 56, 202, 0.3);
}

.tab-pane {
  display: none;
  animation: fadeIn 300ms ease;
}
.tab-pane.active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Interactive ROI / Savings Calculator */
.calc-box {
  background: var(--surface-white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-2xl);
  padding: 3rem;
  box-shadow: var(--shadow-xl);
}
.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.calc-slider-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.calc-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-950);
}
.calc-value-pill {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-subtle);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-md);
}
.calc-range-slider {
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--slate-200);
  border-radius: var(--radius-full);
  outline: none;
}
.calc-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 0 6px var(--primary-subtle);
  transition: box-shadow var(--transition-fast);
}
.calc-range-slider::-webkit-slider-thumb:hover {
  box-shadow: 0 0 0 9px var(--primary-subtle);
}

.calc-output-card {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
}
.calc-output-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, transparent 70%);
  pointer-events: none;
}
.calc-metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.calc-metric-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
}
.calc-metric-item:nth-child(3), .calc-metric-item:nth-child(4) {
  border-bottom: none;
  padding-bottom: 0;
}
.calc-metric-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: #38bdf8;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}
.calc-metric-lbl {
  font-size: 0.8125rem;
  color: var(--slate-300);
}

/* Role Showcase Grid */
.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.role-card {
  background: var(--surface-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}
.role-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}
.role-img {
  height: 180px;
  width: 100%;
  object-fit: cover;
}
.role-content {
  padding: 1.75rem;
}
.role-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-subtle);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.75rem;
}
.role-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 0.5rem;
}
.role-desc {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin-bottom: 1rem;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}
.pricing-card {
  background: var(--surface-white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-2xl);
  padding: 2.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  position: relative;
}
.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 20px 40px -10px rgba(67, 56, 202, 0.25);
  transform: scale(1.03);
  z-index: 2;
}
.pricing-card.featured[data-badge]::before {
  content: attr(data-badge);
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(67, 56, 202, 0.3);
  white-space: nowrap;
}
.pricing-card.featured:not([data-badge])::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(67, 56, 202, 0.3);
  white-space: nowrap;
}
.pricing-tier-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-950);
  margin-bottom: 0.5rem;
}
.pricing-tier-desc {
  font-size: 0.88rem;
  color: var(--slate-500);
  margin-bottom: 1.75rem;
  min-height: 2.7rem;
}
.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 1.75rem;
}
.pricing-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-900);
}
.pricing-amount {
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 900;
  color: var(--navy-950);
  line-height: 1;
}
.pricing-period {
  font-size: 0.88rem;
  color: var(--slate-500);
  font-weight: 500;
}
.pricing-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2.25rem;
  border-top: 1px solid var(--slate-200);
  padding-top: 1.75rem;
}
.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--slate-700);
}
.pricing-feature-item svg {
  color: var(--emerald-500);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Interactive Booking Calendar */
.booking-container {
  background: var(--surface-white);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.booking-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr;
}
.booking-sidebar {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: #ffffff;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.booking-details-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.75rem 0;
}
.booking-content-panel {
  padding: 3rem 2.5rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 0.4rem;
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--slate-200);
  background: var(--slate-50);
  color: var(--navy-950);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px var(--primary-subtle);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* Time Slot Picker */
.time-slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-top: 0.75rem;
}
.slot-pill {
  padding: 0.65rem;
  text-align: center;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-700);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.slot-pill:hover {
  border-color: var(--primary);
  background: var(--primary-subtle);
  color: var(--primary);
}
.slot-pill.selected {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

/* Auto-Sliding 20+ Testimonials System (Single Line) */
.testimonials-section {
  position: relative;
  z-index: 2;
  padding: 5rem 0 5.5rem;
  background: var(--slate-100);
  overflow: hidden;
  overflow-x: clip;
  contain: paint;
  max-width: 100%;
  width: 100%;
}

.testimonials-marquee-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  overflow-x: clip;
  contain: paint;
  margin-top: 2.75rem;
  display: flex;
  mask-image: linear-gradient(90deg, transparent 0%, #000000 8%, #000000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000000 8%, #000000 92%, transparent 100%);
  padding: 0.75rem 0;
}

.testimonials-track {
  display: flex;
  align-items: stretch;
  width: max-content;
  gap: 1.5rem;
  will-change: transform;
}

.testimonials-track.scroll-left {
  animation: testimonialSlideLeft 110s linear infinite;
}

.testimonials-marquee-wrap:hover .testimonials-track {
  animation-play-state: paused;
}

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

.testimonial-slide-card {
  width: 380px;
  min-width: 380px;
  background: var(--surface-white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 1.65rem 1.65rem;
  box-shadow: 0 4px 15px -3px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: normal;
}

.testimonial-slide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px -8px rgba(15, 23, 42, 0.12);
  border-color: rgba(99, 102, 241, 0.35);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.testimonial-verified-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.testimonial-quote {
  font-size: 0.92rem;
  color: var(--navy-900);
  line-height: 1.55;
  font-weight: 450;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.testimonial-author-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-100);
}

.testimonial-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.testimonial-author-info {
  min-width: 0;
  flex: 1;
}

.testimonial-author-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy-950);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testimonial-author-role {
  font-size: 0.78rem;
  color: var(--slate-500);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Testimonial & Social Proof */
.testimonial-card {
  background: var(--surface-white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.quote-text {
  font-size: 1.05rem;
  color: var(--navy-900);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.author-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.author-avatar {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-light);
}
.author-name {
  font-weight: 700;
  color: var(--navy-950);
  font-size: 0.95rem;
}
.author-role {
  font-size: 0.8125rem;
  color: var(--slate-500);
}

/* FAQ Accordion */
.faq-filter-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.25rem;
}
.faq-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-600);
  background: var(--surface-white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
}
.faq-filter-btn:hover {
  background: var(--slate-50);
  border-color: var(--slate-300);
  color: var(--navy-950);
}
.faq-filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(67, 56, 202, 0.25);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}
.faq-item {
  background: var(--surface-white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}
.faq-item:hover {
  border-color: var(--slate-300);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}
.faq-item.open {
  border-color: var(--primary-light);
  box-shadow: 0 8px 20px -3px rgba(67, 56, 202, 0.1);
}
.faq-trigger {
  width: 100%;
  padding: 1.35rem 1.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
}
.faq-trigger-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.faq-badge {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 0.45rem;
}
.faq-badge.b-erp { background: #eef2ff; color: #4338ca; }
.faq-badge.b-software { background: #ecfeff; color: #0891b2; }
.faq-badge.b-ai { background: #ecfdf5; color: #059669; }
.faq-badge.b-web { background: #fffbeb; color: #d97706; }
.faq-badge.b-growth { background: #fdf2f8; color: #db2777; }
.faq-badge.b-security { background: #f5f3ff; color: #7c3aed; }

.faq-question {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-950);
  line-height: 1.4;
  transition: color 0.15s ease;
}
.faq-item:hover .faq-question {
  color: var(--primary);
}
.faq-item.open .faq-question {
  color: var(--primary);
}
.faq-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all var(--transition-normal);
  color: var(--slate-600);
  flex-shrink: 0;
}
.faq-item.open .faq-icon {
  transform: rotate(180deg);
  background: var(--primary-subtle);
  color: var(--primary);
}
.faq-body {
  padding: 0 1.65rem 1.4rem;
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.65;
  display: none;
  border-top: 1px dashed var(--slate-100);
  padding-top: 1rem;
}
.faq-item.open .faq-body {
  display: block;
}

/* Modern Call-To-Action Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 60%, #1e1b4b 100%);
  color: #ffffff;
  border-radius: var(--radius-2xl);
  padding: 4.5rem 3rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.22) 0%, transparent 60%);
  filter: blur(50px);
  pointer-events: none;
}
.cta-title {
  color: #ffffff;
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
}
.cta-desc {
  font-size: 1.15rem;
  color: var(--slate-300);
  max-width: 680px;
  margin: 0 auto 2.25rem;
  line-height: 1.6;
}

/* ==========================================================================
   Redesigned Premium Enterprise Footer
   ========================================================================== */

.main-footer {
  background: radial-gradient(circle at 50% 0%, #0d1a3a 0%, #060c1d 40%, #02050e 100%);
  color: #94a3b8;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(99, 102, 241, 0.25);
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.4);
}

.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.6), transparent);
}

/* Footer Top Fast Connect Banner */
.footer-top-strip {
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-top-left {
  max-width: 580px;
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.85rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  color: #34d399;
  margin-bottom: 1rem;
}

.footer-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse-dot 2s infinite;
}

.footer-top-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.footer-top-sub {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.5;
}

.footer-top-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.footer-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-action-btn.primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(67, 56, 202, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.footer-action-btn.primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(67, 56, 202, 0.45);
}

.footer-action-btn.whatsapp {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.footer-action-btn.whatsapp:hover {
  background: #10b981;
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-action-btn.call {
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-action-btn.call:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Main Footer Grid */
.footer-main-body {
  padding: 4.5rem 0 3.5rem;
}

.footer-grid-modern {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr 1.2fr 1.2fr;
  gap: 3.5rem;
}

@media (max-width: 1024px) {
  .footer-grid-modern {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  .footer-grid-modern {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
}

.footer-brand-box {
  display: flex;
  flex-direction: column;
}

.footer-logo-card {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  padding: 0.6rem 1rem;
  border-radius: 14px;
  width: fit-content;
  margin-bottom: 1.35rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}
.footer-logo-card:hover {
  transform: scale(1.02);
}
.footer-logo-card img {
  height: 38px;
  width: auto;
  max-width: 200px;
}

.footer-brand-bio {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: #cbd5e1;
}

.footer-contact-row svg {
  color: var(--primary-light);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.footer-contact-row a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}
.footer-contact-row a:hover {
  color: #38bdf8;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-col-title::after {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-nav-item a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #94a3b8;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-nav-item a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-nav-item a svg {
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s ease;
  color: var(--primary-light);
}

.footer-nav-item a:hover svg {
  opacity: 1;
  transform: translateX(0);
}

.footer-nav-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  margin-left: 0.35rem;
  text-transform: uppercase;
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
}

/* Security & Trust Strip */
.footer-trust-strip {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #cbd5e1;
  font-weight: 600;
}

.footer-trust-badge svg {
  color: #34d399;
}

/* Bottom Legal Bar */
.footer-bottom-bar {
  padding: 1.75rem 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: #64748b;
  flex-wrap: wrap;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-bottom-links a:hover {
  color: #cbd5e1;
}

.footer-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
  cursor: pointer;
}
.footer-back-to-top:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Floating Bottom Action Bar for Mobile */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(11, 21, 45, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.65rem 1rem;
  z-index: 990;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
}
.mobile-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 0.65rem;
  align-items: center;
}
.mobile-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: #ffffff;
  padding: 0.4rem 0.2rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
}
.mobile-action-btn.primary {
  background: var(--primary);
  color: #ffffff;
  font-size: 0.85rem;
  padding: 0.7rem 1rem;
  flex-direction: row;
  gap: 0.4rem;
  border-radius: var(--radius-full);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.toast {
  background: var(--navy-950);
  color: #ffffff;
  padding: 1rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-left: 4px solid var(--primary-light);
  animation: slideInRight 250ms ease;
}
.toast.success { border-left-color: var(--emerald-500); }
.toast.error { border-left-color: var(--rose-500); }

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-section.hero-fullpage {
    height: auto !important;
    min-height: unset !important;
    margin-top: 0 !important;
    padding-top: 6.5rem !important;
    padding-bottom: 3.5rem !important;
    display: block !important;
  }
  .hero-grid-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-left-content {
    text-align: center;
  }
  .hero-lead-text {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-action-row {
    justify-content: center;
  }
  .hero-creds-strip {
    justify-content: center;
  }
  .hero-main-img-card {
    height: 380px;
  }
  .chip-top-left {
    top: -12px;
    left: -10px;
  }
  .chip-bottom-right {
    bottom: -12px;
    right: -10px;
  }
  .practice-featured-grid {
    grid-template-columns: 1fr;
  }
  .practice-callout-banner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .bento-card.col-8, .bento-card.col-6, .bento-card.col-4 {
    grid-column: span 12;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .pricing-card.featured {
    transform: none;
  }
  .dashboard-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard-row-grid {
    grid-template-columns: 1fr;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .role-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }
  .booking-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1080px) {
  .main-header {
    top: 0.65rem;
    padding: 0 0.85rem;
  }
  .header-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
  }
  .nav-wrapper {
    height: 3.75rem;
    padding: 0 0.85rem 0 1.15rem;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .brand-logo-img {
    height: 32px;
    max-width: 175px;
  }
  .nav-capsule, .nav-actions .header-quick-action {
    display: none !important;
  }
  .mobile-toggle {
    display: flex;
  }
  .mobile-bottom-bar {
    display: block;
  }
  body {
    padding-bottom: 4.5rem;
  }
}

@media (max-width: 580px) {
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    box-sizing: border-box !important;
  }
  .main-header {
    top: 0.5rem;
    padding: 0 0.65rem;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .header-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .nav-wrapper {
    height: 3.35rem;
    padding: 0 0.85rem 0 1rem;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .brand-logo {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
  }
  .brand-logo-img {
    height: 26px !important;
    max-width: 140px !important;
    width: auto !important;
  }
  .nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
  }
  .nav-actions .btn {
    display: none !important;
  }
  .mobile-toggle {
    display: flex !important;
    flex-shrink: 0 !important;
  }
  .hero-section.hero-fullpage {
    height: auto !important;
    min-height: unset !important;
    margin-top: 0 !important;
    padding-top: 4.75rem !important;
    padding-bottom: 2.75rem !important;
    display: block !important;
    overflow: hidden !important;
  }
  .hero-grid-split {
    grid-template-columns: 1fr !important;
    gap: 1.35rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .hero-left-content {
    text-align: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .hero-title-max {
    font-size: clamp(1.75rem, 6.2vw, 2.15rem) !important;
    line-height: 1.22 !important;
    letter-spacing: -0.025em !important;
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
  .hero-headline-line1 {
    display: block !important;
    margin-bottom: 0.25rem !important;
    white-space: normal !important;
  }
  .hero-word {
    display: inline !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    color: var(--navy-950) !important;
    white-space: normal !important;
    margin-right: 0.22em !important;
  }
  .hero-headline-line2 {
    display: block !important;
    position: relative !important;
    margin-top: 0.25rem !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }
  .hero-gradient-text {
    display: inline-block !important;
    font-size: clamp(1.45rem, 5.2vw, 1.85rem) !important;
    line-height: 1.25 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    background: linear-gradient(115deg, #0f172a 0%, #2563eb 50%, #4338ca 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    animation: none !important;
  }
  .hero-shine-beam {
    height: 2px !important;
    bottom: -2px !important;
  }
  .hero-action-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.65rem !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 1.25rem !important;
    margin-bottom: 1.5rem !important;
    box-sizing: border-box !important;
  }
  .hero-action-row .btn {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    padding: 0.85rem 1.25rem !important;
    font-size: 0.95rem !important;
    box-sizing: border-box !important;
    border-radius: var(--radius-full) !important;
  }
  .hero-services-stack {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0.65rem !important;
    gap: 0.55rem !important;
    border-radius: var(--radius-xl) !important;
    margin: 0 !important;
  }
  .service-strip {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.75rem 0.85rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    gap: 0.5rem !important;
    border-radius: var(--radius-lg) !important;
    overflow: hidden !important;
  }
  .service-strip-content {
    display: flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
  }
  .service-strip-text {
    display: flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
  }
  .service-strip-title {
    font-size: 0.84rem !important;
    line-height: 1.28 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    text-align: left !important;
    color: var(--navy-950) !important;
  }
  .service-strip-icon {
    width: 2.15rem !important;
    height: 2.15rem !important;
    font-size: 1.1rem !important;
    flex-shrink: 0 !important;
  }
  .service-strip-idx {
    font-size: 0.68rem !important;
    padding: 0.15rem 0.35rem !important;
    flex-shrink: 0 !important;
  }
  .service-strip-chevron {
    width: 1.85rem !important;
    height: 1.85rem !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .service-strip-chevron svg {
    width: 14px !important;
    height: 14px !important;
  }
}

@media (max-width: 768px) {
  .section-py {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .time-slot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard-kpi-grid {
    grid-template-columns: 1fr;
  }
  .calc-box {
    padding: 1.5rem;
  }
  .booking-content-panel, .booking-sidebar {
    padding: 1.75rem 1.25rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}


/* ==========================================================================
   CampusGuru Blog & Insights System (Directory & Reader)
   ========================================================================== */

/* Blog Hero & Spotlight */
.blog-hero-section {
  position: relative;
  padding: 5rem 0 3.5rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  overflow: hidden;
}
.blog-hero-mesh {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 450px;
  background: radial-gradient(circle at 50% 20%, rgba(99, 102, 241, 0.08) 0%, rgba(14, 165, 233, 0.04) 50%, transparent 80%);
  pointer-events: none;
}

/* Featured Spotlight Card */
.featured-post-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: #ffffff;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--slate-200);
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.07);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.featured-post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12);
  border-color: #cbd5e1;
}
.featured-img-col {
  position: relative;
  min-height: 380px;
  overflow: hidden;
}
.featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.featured-post-card:hover .featured-img {
  transform: scale(1.04);
}
.featured-ribbon {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #fbbf24;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.featured-body-col {
  padding: 2.75rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-tag-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.blog-category-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  background: #eef2ff;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
  letter-spacing: 0.02em;
}
.blog-read-time, .blog-post-date {
  font-size: 0.78rem;
  color: var(--slate-500);
  font-weight: 500;
}
.featured-title {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: var(--navy-950);
  line-height: 1.3;
  margin-bottom: 1rem;
}
.featured-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.featured-title a:hover {
  color: var(--primary);
}
.featured-excerpt {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}
.featured-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--slate-100);
}
.featured-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.author-micro-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e2e8f0;
}
.author-micro-name {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-950);
}
.author-micro-role {
  display: block;
  font-size: 0.72rem;
  color: var(--slate-500);
}

/* Filter Section & Search Controls */
.blog-filter-section {
  padding: 3rem 0 5rem;
  background: #ffffff;
}
.blog-controls-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.blog-category-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.blog-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 9999px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: var(--slate-700);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-pill-btn:hover {
  background: #e2e8f0;
  color: var(--navy-950);
  border-color: #cbd5e1;
}
.blog-pill-btn.active {
  background: var(--navy-950);
  color: #ffffff;
  border-color: var(--navy-950);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}
.pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.08);
  font-size: 0.7rem;
  font-weight: 700;
}
.blog-pill-btn.active .pill-count {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* Live Search Box */
.blog-search-box {
  position: relative;
  min-width: 280px;
  flex-shrink: 0;
}
.blog-search-box input {
  width: 100%;
  padding: 0.65rem 2.25rem 0.65rem 2.4rem;
  border-radius: 9999px;
  border: 1px solid var(--slate-200);
  background: #f8fafc;
  font-size: 0.85rem;
  color: var(--navy-950);
  transition: all 0.2s ease;
  outline: none;
}
.blog-search-box input:focus {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}
.blog-search-box .search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate-400);
  pointer-events: none;
}
.clear-search-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--slate-400);
  cursor: pointer;
  padding: 0.2rem;
}
.clear-search-btn:hover {
  color: var(--navy-950);
}

/* Filter Status Row */
.filter-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border-radius: var(--radius-md);
  margin-bottom: 1.75rem;
  border: 1px solid #e2e8f0;
}
.filter-status-text {
  font-size: 0.85rem;
  color: var(--slate-600);
}
.reset-filter-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: underline;
}

/* 3-Column Modern Grid */
.blog-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 1.75rem;
}
@media (max-width: 1024px) {
  .blog-grid-modern {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .blog-grid-modern {
    grid-template-columns: 1fr;
  }
  .featured-post-card {
    grid-template-columns: 1fr;
  }
  .featured-img-col {
    min-height: 240px;
  }
  .featured-body-col {
    padding: 1.75rem 1.5rem;
  }
}

/* Blog Card Item */
.blog-card-item {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.1);
  border-color: #cbd5e1;
}
.blog-card-link-wrap {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.blog-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  background: #e2e8f0;
}
.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-card-item:hover .blog-card-thumb img {
  transform: scale(1.06);
}
.blog-thumb-badge {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--slate-500);
  margin-bottom: 0.75rem;
}
.blog-card-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--navy-950);
  line-height: 1.35;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}
.blog-card-item:hover .blog-card-title {
  color: var(--primary);
}
.blog-card-excerpt {
  font-size: 0.86rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}
.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-100);
  font-size: 0.78rem;
}
.blog-card-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--slate-700);
  font-weight: 600;
}
.author-tiny-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}
.blog-read-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--primary);
  font-weight: 700;
  transition: transform 0.2s ease;
}
.blog-card-item:hover .blog-read-arrow svg {
  transform: translateX(3px);
}

/* Empty State */
.blog-empty-state {
  text-align: center;
  padding: 4rem 1rem;
  max-width: 500px;
  margin: 0 auto;
}
.empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.empty-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-950);
  margin-bottom: 0.5rem;
}
.empty-desc {
  font-size: 0.92rem;
  color: var(--slate-500);
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   Blog Post Reader Styles
   ========================================================================== */
.blog-container {
  max-width: 1140px;
}
.blog-article-wrapper {
  background: #ffffff;
}
.blog-post-header {
  padding: 4.5rem 0 2.5rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.blog-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--slate-500);
  margin-bottom: 1.25rem;
}
.blog-breadcrumbs a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.blog-breadcrumbs a:hover {
  color: var(--primary);
}
.bc-sep {
  color: var(--slate-400);
}
.blog-post-badge-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.blog-post-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  color: var(--navy-950);
  line-height: 1.25;
  margin-bottom: 1.25rem;
  max-width: 950px;
}
.blog-post-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 920px;
}
.blog-author-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--slate-200);
  flex-wrap: wrap;
}
.blog-author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e2e8f0;
}
.blog-author-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-author-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy-950);
}
.blog-author-role {
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-top: 0.15rem;
}
.btn-share-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-share-wa:hover {
  background: #059669;
  color: #ffffff;
}

/* Blog Hero Image */
.blog-hero-media {
  margin: 1.5rem auto 3.5rem;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
  border: 1px solid var(--slate-200);
  aspect-ratio: 16 / 8.5;
  max-height: 520px;
}
.blog-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Grid Layout Split */
.blog-layout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3.5rem;
  margin-bottom: 5rem;
}
@media (max-width: 992px) {
  .blog-layout-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Main Content Typography */
.blog-content-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--slate-700);
}
.blog-prose-intro {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--navy-950);
  font-weight: 500;
  margin-bottom: 2.25rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--slate-100);
}
.blog-content-section {
  margin-bottom: 2.5rem;
}
.blog-content-section h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-950);
  margin-bottom: 1rem;
  line-height: 1.35;
  scroll-margin-top: 100px;
}
.blog-content-section p {
  margin-bottom: 1.25rem;
}

/* Key Takeaway Card */
.blog-takeaway-card {
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
  border: 1px solid #c7d2fe;
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin: 2.5rem 0;
}
.takeaway-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}
.takeaway-text {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--navy-950);
  font-weight: 600;
  margin: 0;
}

/* Tags Row */
.blog-tags-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding: 1.5rem 0;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  margin-bottom: 2.5rem;
}
.tags-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-500);
}
.blog-tag-pill {
  font-size: 0.78rem;
  background: #f1f5f9;
  color: var(--slate-700);
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-weight: 600;
}

/* Author Bio Card */
.blog-author-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: #f8fafc;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
}
.author-bio-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #cbd5e1;
}
.author-bio-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--primary);
}
.author-bio-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-950);
  margin: 0.25rem 0 0.5rem;
}
.author-bio-desc {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin: 0;
}

/* Sticky Sidebar */
.blog-sidebar {
  position: relative;
}
.sticky-sidebar-inner {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.sidebar-box {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}
.sidebar-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy-950);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--slate-100);
}
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.toc-list a {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--slate-600);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.2s ease;
}
.toc-list a:hover {
  color: var(--primary);
}
.toc-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: #eef2ff;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}
.consultation-cta-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  color: #ffffff;
  border: none;
}
.consultation-cta-box .box-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: #93c5fd;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}
.consultation-cta-box .box-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.consultation-cta-box .box-desc {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.box-phone-link {
  display: block;
  text-align: center;
  font-size: 0.82rem;
  color: #cbd5e1;
  text-decoration: none;
}
.box-phone-link:hover {
  color: #ffffff;
}

/* Related Insights Section */
.related-insights-section {
  padding: 4.5rem 0 5rem;
  background: #f8fafc;
  border-top: 1px solid var(--slate-200);
}
.related-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
@media (max-width: 860px) {
  .related-cards-grid {
    grid-template-columns: 1fr;
  }
}
.related-blog-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.related-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.1);
  border-color: #cbd5e1;
}
.related-card-img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.related-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.related-blog-card:hover .related-card-img-wrap img {
  transform: scale(1.05);
}
.related-card-badge {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
}
.related-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.related-meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: var(--slate-500);
  margin-bottom: 0.6rem;
}
.related-card-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy-950);
  line-height: 1.35;
  margin-bottom: 0.5rem;
}
.related-card-excerpt {
  font-size: 0.82rem;
  color: var(--slate-600);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
  flex-grow: 1;
}
.related-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
}

/* ==========================================================================
   Home Page Blog Section: Single Line Infinite Auto-Slide Carousel
   ========================================================================== */
.home-blog-section {
  padding: 5rem 0 5.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}
.home-blog-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.home-blog-ticker-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  overflow-x: clip;
  contain: paint;
  mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}
.home-blog-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: homeBlogScroll 45s linear infinite;
  padding: 0.75rem 0 1.5rem;
}
.home-blog-ticker-wrap:hover .home-blog-track {
  animation-play-state: paused;
}

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

/* Single Line Auto-Slide Blog Card */
.home-blog-slide-card {
  width: 360px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 20px -6px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.home-blog-slide-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.14);
  border-color: #cbd5e1;
}
.home-slide-img-wrap {
  position: relative;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  background: #e2e8f0;
}
.home-slide-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.home-blog-slide-card:hover .home-slide-img-wrap img {
  transform: scale(1.06);
}
.home-slide-badge {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.home-slide-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.home-slide-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--slate-500);
  margin-bottom: 0.6rem;
}
.home-slide-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-950);
  line-height: 1.35;
  margin-bottom: 0.55rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}
.home-blog-slide-card:hover .home-slide-title {
  color: var(--primary);
}
.home-slide-excerpt {
  font-size: 0.82rem;
  color: var(--slate-600);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
  flex-grow: 1;
}
.home-slide-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid var(--slate-100);
  font-size: 0.78rem;
}
.home-slide-author {
  font-weight: 600;
  color: var(--slate-700);
}
.home-slide-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--primary);
  font-weight: 700;
}
.home-blog-slide-card:hover .home-slide-arrow svg {
  transform: translateX(3px);
}
