* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Fix Bootstrap Icons display */
.bi::before,
[class*=" bi-"]::before,
.bi::after,
[class*=" bi-"]::after {
  box-sizing: border-box;
}

/* Ensure Bootstrap Icons font is applied */
.bi,
[class*=" bi-"] {
  display: inline-block;
  font-family: "bootstrap-icons" !important;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* CSS Variables are now imported from _variables.css */

/* =========================================
   PROFESSIONAL ANIMATIONS
   Subtle, refined animations for enterprise feel
   ========================================= */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Animation Utilities */
.animate-fade-in-up {
  animation: fadeInUp 0.6s var(--ease-out) forwards;
}

.animate-fade-in-down {
  animation: fadeInDown 0.6s var(--ease-out) forwards;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.6s var(--ease-out) forwards;
}

.animate-fade-in-right {
  animation: fadeInRight 0.6s var(--ease-out) forwards;
}

.animate-scale-in {
  animation: scaleIn 0.5s var(--ease-out) forwards;
}

/* Staggered Animation Delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* =========================================
   GLOBAL SECTION SPACING
   Ensures consistent vertical rhythm across pages.
   Override on specific sections (hero, custom layouts) where needed.
   ========================================= */

main > section {
  padding: 64px 0;
}

/* Make inner containers stretch full-width vertically (no extra inner padding)
   so spacing is applied uniformly at the section level. */
main > section > .container,
main > section > .wrapper,
main > section > .staff-container,
main > section > .about-grid,
main > section > .staffing-inner {
  padding-top: 0;
  padding-bottom: 0;
}

/* Exceptions: hero sections already have custom spacing handled separately */
.hero,
.us-staffing-hero {
  /* Keep hero layout control in their own rules; ensure they don't double-pad */
  padding-top: 0;
  padding-bottom: 0;
  margin-top: var(--header-offset);
}

@media (max-width: 900px) {
  main > section {
    padding: 48px 0;
  }
}

@media (max-width: 600px) {
  main > section {
    padding: 36px 0;
  }
}

/* HTML & Document Setup */
html {
  scroll-padding-top: calc(var(--topbar-height) + var(--nav-height) + 12px);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body.nav-open {
  overflow: hidden;
}

/* Body Styles */
body {
  background: #ffffff;
  font-family: var(--font-primary);
  min-height: 100vh;
  overflow-x: hidden;
  text-align: justify;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

/* GPU Acceleration for Animations */
[data-aos] {
  backface-visibility: hidden;
}

[data-aos]:not(.aos-animate) {
  will-change: opacity, transform;
}

[data-aos].aos-animate {
  will-change: auto;
}

.about-saas,
.bridging-gap,
.footer-main {
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

/* =========================================
   CORPORATE TOP BAR — PREMIUM ENTERPRISE
   ========================================= */

.top-bar {
  background: var(--topbar-bg);
  color: var(--topbar-text);
  font-family: var(--font-primary);
  font-size: 12.5px;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100;
  border-bottom: 1px solid var(--topbar-border);
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s ease;
  letter-spacing: 0.2px;
  font-weight: 400;
}

.top-bar-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 22px;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--topbar-text);
  text-decoration: none;
  line-height: 1.2;
  transition: color 0.3s ease;
  font-weight: 400;
  white-space: nowrap;
}

.top-bar-item:hover {
  color: var(--topbar-text-hover);
}

.top-bar-item:hover i {
  color: var(--topbar-text-hover);
}

/* Icon styling — thin, modern */
.top-bar-item i {
  font-size: 12px;
  color: #64748b;
  opacity: 1;
  flex-shrink: 0;
  transition: color 0.3s ease;
}

/* Vertical separator between items */
.top-bar-left .top-bar-item + .top-bar-item {
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* LinkedIn icon — minimal, restrained */
.top-bar-social {
  color: #64748b;
  text-decoration: none;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition:
    color 0.3s ease,
    background 0.3s ease;
}

.top-bar-social:hover {
  color: var(--topbar-text-hover);
  background: rgba(225, 29, 72, 0.1);
}

/* Keep the full navigation stack visible while scrolling. */
.top-bar.scrolled {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

/* Responsiveness */
@media (max-width: 1200px) {
  .top-bar-container {
    padding: 0 2rem;
  }
}

@media (max-width: 991px) {
  .top-bar-container {
    padding: 0 1.5rem;
  }
}

@media (max-width: 768px) {
  .top-bar-address {
    display: none !important;
  }
  .top-bar-left {
    gap: 0;
    justify-content: center;
    width: 100%;
  }
  .top-bar-left .top-bar-item + .top-bar-item {
    padding-left: 16px;
  }
  .top-bar-right {
    display: none;
  }
  .top-bar-container {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .top-bar {
    font-size: 11.5px;
  }
  .top-bar-item span {
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* =========================================
   NAVIGATION BAR — PROFESSIONAL CORPORATE
   ========================================= */

.main-nav {
  position: fixed;
  top: var(--topbar-height);
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--nav-bg);
  border-bottom: none;
  box-shadow: var(--nav-shadow);
  font-family: var(--font-nav);
  transition:
    top 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.3s ease,
    backdrop-filter 0.3s ease,
    box-shadow 0.3s ease;
}

.main-nav::after {
  display: none;
}

.main-nav.scrolled {
  top: var(--topbar-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 4px 30px rgba(15, 23, 42, 0.1);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  z-index: 1003;
  transition: opacity 0.25s ease;
}

.brand-logo:hover {
  opacity: 0.85;
}

.logo-image {
  height: 90px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-icon,
.logo-text {
  display: none;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}

.nav-panel-header {
  display: none;
}

.nav-close-btn {
  display: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2.5rem;
  background: transparent;
  border: none;
  border-radius: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-nav);
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0;
  color: var(--nav-text);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.015em;
  text-transform: none;
  white-space: nowrap;
  position: relative;
  transition: color 0.22s ease;
}

.nav-link::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
  color: var(--color-primary);
  background: transparent;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--color-primary);
  background: transparent;
  box-shadow: none;
}

.nav-actions,
.nav-cta-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 2.5rem;
  padding-left: 2.5rem;
  border-left: 1px solid var(--nav-accent-line);
}

.nav-cta-btn {
  font-family: var(--font-nav);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 0;
  min-height: 0;
  padding: 0.6rem 1.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.015em;
  text-transform: none;
  text-decoration: none;
  border-radius: 10px;
  white-space: nowrap;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
  transition:
    background 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.nav-cta-btn i {
  font-size: 0.9rem;
}

.nav-cta-btn:hover {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(198, 40, 40, 0.2);
}

.nav-cta-btn-primary {
  color: #ffffff;
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(198, 40, 40, 0.32);
}

.nav-cta-btn-primary:hover {
  color: #ffffff;
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(198, 40, 40, 0.42);
}

.nav-cta-btn-primary:hover i {
  transform: none;
}

.nav-cta-btn.active {
  background: rgba(198, 40, 40, 0.07);
  color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: none;
}

.nav-cta-btn-primary.active {
  background: var(--color-primary-dark);
  color: #ffffff;
  border-color: var(--color-primary-dark);
  box-shadow: 0 4px 14px rgba(198, 40, 40, 0.32);
}

.hamburger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1.5px solid var(--nav-accent-line);
  border-radius: 8px;
  cursor: pointer;
  z-index: 1002;
  background: #ffffff;
  font: inherit;
  line-height: 1;
  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.hamburger-btn:hover {
  border-color: var(--color-primary);
  background: rgba(198, 40, 40, 0.04);
  box-shadow: 0 2px 8px rgba(198, 40, 40, 0.1);
}

.hamburger-btn.active {
  opacity: 0;
  pointer-events: none;
}

.hamburger-box {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: #334155;
  border-radius: 0;
  transition:
    transform 0.3s ease,
    opacity 0.2s ease,
    background 0.2s ease;
}

.hamburger-btn.active .hamburger-line {
  background: var(--color-primary);
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu-overlay {
  position: fixed;
  top: calc(var(--topbar-height) + var(--nav-height-mobile));
  inset-left: 0;
  inset-right: 0;
  inset-bottom: 0;
  z-index: 998;
  background: rgba(15, 23, 42, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  pointer-events: none;
  transition:
    background 0.32s ease,
    backdrop-filter 0.32s ease;
}

.mobile-menu-overlay.active {
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: auto;
}

@media (max-width: 992px) {
  html {
    scroll-padding-top: calc(var(--topbar-height) + var(--nav-height-mobile) + 12px);
  }

  body.nav-open {
    overflow: hidden;
  }

  .main-nav {
    border-bottom: none;
  }

  .hero,
  .hero-section,
  .service-hero,
  .compact-hero,
  .us-staffing-hero {
    margin-top: var(--header-offset-mobile);
  }

  .main-nav {
    top: var(--topbar-height);
  }

  .main-nav.scrolled {
    top: var(--topbar-height);
  }

  .nav-container {
    height: var(--nav-height-mobile);
    padding: 0 1.25rem;
  }

  .logo-image {
    height: 72px;
  }

  .hamburger-btn {
    display: inline-flex;
  }

  .nav-panel {
    position: fixed;
    top: calc(var(--topbar-height) + var(--nav-height-mobile));
    right: 0;
    width: min(340px, 92vw);
    height: calc(100dvh - var(--topbar-height) - var(--nav-height-mobile));
    max-height: calc(100vh - var(--topbar-height) - var(--nav-height-mobile));
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    background: #ffffff;
    border-left: none;
    box-shadow: -12px 0 40px rgba(15, 23, 42, 0.14);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 999;
  }

  .nav-panel.active {
    transform: translateX(0);
  }

  .nav-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.5rem;
    border-bottom: none;
    background: linear-gradient(135deg, #0d1b2a 0%, #1a2d42 100%);
    flex-shrink: 0;
  }

  .nav-drawer-brand {
    display: flex;
    align-items: center;
  }

  .nav-drawer-logo {
    height: 38px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
  }

  .nav-panel-title {
    display: none;
  }

  .nav-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 0;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    font: inherit;
    line-height: 1;
    transition:
      background 0.22s ease,
      border-color 0.22s ease,
      color 0.22s ease;
  }

  .nav-close-btn:hover {
    background: rgba(198, 40, 40, 0.7);
    border-color: rgba(198, 40, 40, 0.8);
    color: #ffffff;
  }

  .nav-menu {
    flex-direction: column;
    width: 100%;
    padding: 0.75rem 1.5rem 0.5rem;
    gap: 0;
    align-items: stretch;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid #f1f5f9;
  }

  .nav-item:last-child {
    border-bottom: none;
  }

  .nav-link {
    width: 100%;
    padding: 1rem 0;
    font-size: 0.9375rem;
    font-weight: 500;
    justify-content: space-between;
  }

  .nav-link::after {
    bottom: 0.65rem;
    left: 0;
    right: auto;
    width: 24px;
  }

  .nav-link.active::after {
    transform: scaleX(1);
  }

  .nav-actions,
  .nav-cta-buttons {
    width: 100%;
    flex-direction: column;
    margin-left: 0;
    padding: 1.25rem 1.5rem 2rem;
    gap: 0.75rem;
    border-left: none;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
    background: #f8fafc;
  }

  .nav-cta-btn {
    width: 100%;
    padding: 0.9rem 1.25rem;
    border-radius: 10px;
    font-size: 0.9375rem;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: calc(var(--topbar-height) + var(--nav-height-mobile) + 12px);
  }

  .nav-container {
    padding: 0 1rem;
  }

  .nav-menu {
    gap: 0;
  }
}

@media (max-width: 480px) {
  .nav-panel {
    width: 100%;
    box-shadow: none;
  }

  .nav-container {
    height: var(--nav-height-mobile);
    padding: 0 0.75rem;
  }

  .logo-image {
    height: 62px;
  }
}

.nav-right {
  display: contents;
}

/* =========================================
   HERO SECTION - MAIN BANNER
   ========================================= */

.hero,
.hero-section,
.service-hero,
.compact-hero,
.us-staffing-hero {
  margin-top: var(--header-offset);
}

.hero {
  position: relative;
  width: 100%;
  min-height: calc(100svh - var(--header-offset));
  background: #111827;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  overflow: hidden;
  padding: 0 20px;
  box-sizing: border-box;
}

@media (min-width: 993px) {
  .hero {
    min-height: calc(100svh - var(--header-offset));
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: calc(100svh - var(--header-offset-mobile));
  }
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(192, 0, 0, 0.2) 0%,
    rgba(10, 10, 20, 0.75) 45%,
    rgba(20, 20, 35, 0.7) 100%
  );
  z-index: 1;
}

/* Decorative gradient accents */
.hero-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(192, 0, 0, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  z-index: 2;
  animation: heroContentFadeIn 1s ease-out;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@keyframes heroContentFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.5px;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 1120px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Modern underline accent */
.hero h1::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #c00000, transparent);
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(192, 0, 0, 0.6);
}

.hero p {
  font-family: var(--font-primary);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: rgba(255, 255, 255, 0.95);
  margin: 2.5rem auto 3rem;
  text-align: center;
  width: 100%;
  max-width: 900px;
  line-height: 1.8;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.hero-buttons a {
  text-decoration: none;
  padding: 14px 42px;
  border-radius: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
  font-size: 1rem;
  font-family: var(--font-primary);
  letter-spacing: 0.3px;
  /* text-transform: uppercase; */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.btn-primary {
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  min-height: 54px;
  min-width: 170px;
  box-shadow: 0 8px 24px rgba(192, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(192, 0, 0, 0.5);
  background: var(--color-primary-dark);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover::after {
  width: 300px;
  height: 300px;
}

.btn-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(192, 0, 0, 0.4);
}

.btn-primary span,
.btn-secondary span {
  position: relative;
  z-index: 1;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.16);
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #ffffff;
  min-height: 54px;
  min-width: 170px;
  position: relative;
  overflow: hidden;
  transition:
    background 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-secondary:hover::before {
  opacity: 1;
}

.btn-secondary:hover::after {
  width: 300px;
  height: 300px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(255, 255, 255, 0.3);
}

.btn-secondary:active {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

/* =========================================
   HERO SECTION - RESPONSIVE DESIGN
   ========================================= */

/* Responsive for Hero */
@media (max-width: 900px) {
  .hero {
    padding: 60px 20px 60px;
    margin-top: var(--header-offset-mobile);
  }

  .hero-content {
    max-width: 100%;
    padding: 0 15px;
  }

  .hero h1 {
    font-size: clamp(2rem, 6vw, 2.8rem);
    margin-bottom: 1.5rem;
    line-height: 1.3;
  }

  .hero h1::after {
    width: 80px;
    height: 3px;
    bottom: -12px;
  }

  .hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin: 2.5rem auto 3rem;
    width: 90%;
    max-width: 100%;
    line-height: 1.7;
  }

  .hero-buttons {
    gap: 1.2rem;
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .hero-buttons a {
    width: 100%;
    min-height: 50px;
    padding: 12px 28px;
    font-size: 0.9rem;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: calc(100svh - var(--header-offset-mobile));
    padding: 60px 16px 50px;
    margin-top: var(--header-offset-mobile);
  }

  .hero-content {
    padding: 0 10px;
  }

  .hero h1 {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    margin-bottom: 0.8rem;
    line-height: 1.25;
  }

  .hero h1::after {
    width: 60px;
    height: 3px;
    bottom: -8px;
  }

  .hero p {
    font-size: clamp(0.95rem, 2.2vw, 1.05rem);
    margin: 1.2rem auto 1.5rem;
    width: 95%;
  }

  .hero-buttons {
    max-width: 250px;
    gap: 0.8rem;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: calc(100svh - var(--header-offset-mobile));
    padding: 50px 14px 50px;
    margin-top: var(--header-offset-mobile);
  }

  .hero-content {
    padding: 0;
  }

  .hero h1 {
    font-size: clamp(1.4rem, 6.5vw, 1.8rem);
    letter-spacing: -0.3px;
    margin-bottom: 0.8rem;
    line-height: 1.25;
  }

  .hero h1::after {
    width: 50px;
    height: 2px;
    bottom: -6px;
  }

  .hero p {
    font-size: 0.9rem;
    line-height: 1.5;
    width: 98%;
    margin: 1rem auto 1.5rem;
  }

  .btn-primary,
  .btn-secondary {
    min-height: 44px;
    font-size: 0.85rem;
    padding: 10px 20px;
  }

  .hero-buttons {
    max-width: 200px;
    width: 100%;
    margin: 0 auto;
    gap: 0.6rem;
  }

  .hero-buttons a {
    width: 100%;
  }
}

/* =========================================
   ABOUT SECTION - CORPORATE CONTENT
   ========================================= */

/* =========================================
           PREMIUM ABOUT SECTION
           ========================================= */
.about-saas {
  padding: 80px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle background grid pattern (SaaS style) */
.about-saas::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
  /* margin-bottom: 100px; */
}

/* --- LEFT: VISUAL COMPOSITION --- */
.about-visual {
  position: relative;
  padding: 20px 0;
}

/* Abstract Blob Background */
.visual-blob {
  position: absolute;
  top: -5%;
  left: -5%;
  width: 90%;
  height: 100%;
  background: linear-gradient(135deg, rgba(192, 0, 0, 0.1) 0%, rgba(255, 75, 75, 0.05) 100%);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  z-index: -1;
  transform: translateZ(0);
}

@keyframes morphBlob {
  0%,
  100% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  }
  34% {
    border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
  }
  67% {
    border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
  }
}

/* Main Image */
.image-wrapper {
  position: relative;
  z-index: 1;
  border-radius: 24px 100px 24px 24px; /* Asymmetrical */
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform: rotate(-2deg);
  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease;
  aspect-ratio: 4/3;
}

.image-wrapper:hover {
  transform: rotate(0deg) translateY(-5px);
  box-shadow: var(--shadow-premium);
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.05); /* Prevent edge gaps on rotate */
  transition: transform 0.7s ease;
}

.image-wrapper:hover img {
  transform: scale(1.1);
}

/* --- RIGHT: CONTENT COMPOSITION --- */
.about-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-primary);
  text-transform: uppercase;
}

.section-label::before {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
}

.section-title {
  font-family: var(--font-primary);
  text-align: left;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--color-text-main);
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, #ff6b6b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-description {
  font-family: var(--font-nav);
  font-size: 1.135rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  font-weight: 300;
}

.content-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.05rem;
  font-weight: 500;
  font-family: var(--font-nav);
  color: var(--color-text-main);
  padding: 12px 20px;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.highlight-item:hover {
  border-color: rgba(192, 0, 0, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
}

.highlight-item i {
  color: var(--color-primary);
  font-size: 1.2rem;
  background: rgba(192, 0, 0, 0.08);
  padding: 6px;
  border-radius: 8px;
}

/* =========================================
           VALUES & MISSION SECTION (Upgraded)
           ========================================= */
.values-section {
  margin-top: 60px;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
  contain: layout paint;
}

.values-header {
  text-align: center;
  margin-bottom: 50px;
}

.values-title {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2);
  box-shadow: var(--shadow-sm);
  transform: translateZ(0);
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  contain: layout paint style;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.value-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
  border-color: rgba(198, 40, 40, 0.15);
}

.value-card:hover::before {
  opacity: 1;
}

.value-image-wrapper {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: #f1f5f9;
}

.value-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-card:hover .value-image-wrapper img {
  transform: scale(1.05);
}

.value-number {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background: rgba(255, 255, 255, 0.96);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-family: var(--font-nav);
  font-weight: 800;
  font-size: var(--font-size-base);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.value-content {
  padding: var(--space-6) var(--space-4) var(--space-4);
}

.value-content h4 {
  font-family: var(--font-head);
  color: var(--color-primary);
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
  line-height: var(--leading-tight);
}

.value-content p {
  font-family: var(--font-nav);
  color: var(--color-text-muted);
  font-weight: 400;
  font-size: var(--font-size-base);
  line-height: var(--leading-relaxed);
}

/* Mission Statement - Editorial Panel */
.mission-banner {
  margin-top: 12px;
  background:
    linear-gradient(90deg, rgba(198, 40, 40, 0.1) 0%, rgba(198, 40, 40, 0) 42%),
    #ffffff;
  border: 1px solid rgba(198, 40, 40, 0.16);
  border-left: 6px solid var(--color-primary);
  border-radius: 18px;
  padding: 34px 38px;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: start;
  gap: 26px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
  z-index: 1;
  isolation: isolate;
}

.mission-banner::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 12px;
  pointer-events: none;
  z-index: -1;
}

.mission-icon-box {
  width: 86px;
  height: 86px;
  background: var(--color-primary);
  border: 8px solid #fff1f1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(198, 40, 40, 0.22);
}

.mission-icon-box i {
  font-size: 2.05rem;
  color: #ffffff;
}

.mission-text-box h3 {
  font-family: var(--font-head);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.15;
  margin-bottom: 14px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.mission-text-box h3::after {
  content: "";
  width: 56px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 999px;
}

.mission-text-box p {
  text-align: left;
  color: var(--color-text-muted);
  font-family: var(--font-nav);
  font-size: 1.08rem;
  line-height: 1.85;
  max-width: 860px;
  margin: 0;
}

/* =========================================
           RESPONSIVE DESIGN
           ========================================= */
@media (min-width: 480px) and (max-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 479px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .about-visual {
    padding: 40px 20px;
    max-width: 600px;
    margin: 0 auto;
  }

}

@media (max-width: 768px) {
  .about-saas {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .mission-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px 24px;
    gap: 22px;
    justify-items: center;
  }

  .mission-banner::after {
    inset: 14px;
  }

  .mission-text-box h3 {
    justify-content: center;
  }

  .mission-text-box p {
    text-align: center;
  }

}

@media (max-width: 480px) {
  .about-visual {
    padding: 20px 0;
  }

  .image-wrapper {
    border-radius: 20px;
    transform: none;
  }

  .image-wrapper:hover {
    transform: none;
  }

  .mission-banner {
    border-left-width: 4px;
    padding: 28px 18px;
  }

  .mission-icon-box {
    width: 76px;
    height: 76px;
    border-width: 7px;
  }

  .mission-text-box h3 {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}

/* =========================================
   BRIDGING THE GAP SECTION - SOLUTIONS
   ========================================= */

/* Bridging the Gap Section */
.bridging-gap {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.94) 100%),
    repeating-linear-gradient(
      90deg,
      rgba(15, 23, 42, 0.035) 0,
      rgba(15, 23, 42, 0.035) 1px,
      transparent 1px,
      transparent 80px
    );
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.bridging-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.bridging-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.35fr);
  gap: clamp(48px, 7vw, 92px);
  align-items: start;
}

.bridging-intro {
  position: sticky;
  top: 140px;
}

.bridging-intro .section-label {
  margin-bottom: 18px;
}

.bridging-intro h2 {
  font-family: var(--font-head);
  color: var(--color-text-main);
  font-size: clamp(2.25rem, 4.5vw, 2.9rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
  margin-bottom: 22px;
  text-align: left;
}

.bridging-intro p {
  color: var(--color-text-muted);
  font-family: var(--font-primary);
  font-size: 1.12rem;
  line-height: 1.8;
  max-width: 480px;
  margin: 0;
  text-align: left;
}

.bridging-path {
  position: relative;
  display: grid;
  gap: 0;
  padding-top: 8px;
}

.bridging-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 0 0 34px;
  margin-bottom: 34px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.bridging-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 56px;
  bottom: -34px;
  left: 28px;
  width: 1px;
  background: linear-gradient(180deg, rgba(198, 40, 40, 0.3), rgba(15, 23, 42, 0.08));
}

.bridging-step:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.bridging-step-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(198, 40, 40, 0.22);
  color: var(--color-primary);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.bridging-step-icon i {
  font-size: 1.35rem;
}

.bridging-step:hover .bridging-step-icon {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-3px);
}

.bridging-step-content h3 {
  font-family: var(--font-head);
  color: var(--color-primary);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700;
  text-align: left;
  margin-bottom: 10px;
  line-height: 1.25;
}

.bridging-step-content p {
  font-family: var(--font-primary);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin: 0;
  text-align: left;
}

/* Tablet and small desktop */
@media (max-width: 968px) {
  .bridging-gap {
    padding: 72px 0;
  }

  .bridging-container {
    padding: 0 20px;
  }

  .bridging-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .bridging-intro {
    position: static;
  }

  .bridging-intro h2 {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .bridging-intro p {
    max-width: 680px;
  }
}

/* Mobile */
@media (max-width: 479px) {
  .bridging-gap {
    padding: 56px 0;
  }

  .bridging-layout {
    gap: 34px;
  }

  .bridging-intro h2 {
    font-size: 2rem;
  }

  .bridging-step {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 18px;
    padding-bottom: 28px;
    margin-bottom: 28px;
  }

  .bridging-step:not(:last-child)::before {
    bottom: -28px;
  }

  .bridging-step-icon {
    width: 56px;
    height: 56px;
  }

  .bridging-step-content p {
    font-size: 1rem;
  }
}

/* =========================================
   FOOTER SECTION - FOOTER & CONTACT
   ========================================= */

/* Footer Section */
.footer-main {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  /* margin: 60px 0 0 0; */
  padding: 0;
  width: 100%;
}

/* Animated top border */
.footer-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #c00000 0%, #ff4444 50%, #c00000 100%);
  background-size: 200% 100%;
  animation: slideAccent 3s linear infinite;
  z-index: 2;
}

@keyframes slideAccent {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 200% 0%;
  }
}

/* Static blur background effect */
.footer-blur-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(192, 0, 0, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(192, 0, 0, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

/* Grid pattern overlay */
.footer-main::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.footer-main .container {
  position: relative;
  z-index: 1;
  padding-top: 2rem !important;
  padding-bottom: 1rem !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Footer Logo */
.footer-logo {
  max-width: 160px;
  height: auto;
  filter: brightness(1.2) drop-shadow(0 3px 10px rgba(192, 0, 0, 0.25));
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
}

/* Company Description */
.company-description {
  font-family: var(--font-primary);
  color: #b8b8b8;
  line-height: 1.5;
  font-size: 1rem;
  margin-top: 0.6rem;
  text-align: justify;
}

/* Section Headings */
.footer-main h5 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  padding-bottom: 0.4rem;
  font-family: var(--font-primary);
}

/* Footer Links */
.footer-link {
  color: #d4d4d4;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding: 0.25rem 0;
  font-family: var(--font-primary);
}

.footer-link::before {
  content: "→";
  position: absolute;
  left: -20px;
  color: #c00000;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: #ffffff;
  padding-left: 20px;
  transform: translateX(5px);
}

.footer-link:hover::before {
  opacity: 1;
  left: 0;
}

.footer-main .col-lg-2 .footer-link:hover {
  padding-left: 0;
  transform: none;
  font-size: 1.03rem;
  font-weight: 600;
}

.footer-main .col-lg-2 .footer-link::before {
  display: none;
}

/* Contact Info */
.footer-contact-info .contact-list {
  list-style: none;
  padding: 0;
}

.footer-contact-info .contact-list li {
  margin-bottom: 0.6rem;
  padding: 0.5rem 0.7rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border-left: 2px solid #c00000;
  transition: all 0.3s ease;
}

.footer-contact-info .contact-list li:hover {
  background: rgba(192, 0, 0, 0.08);
  transform: translateX(5px);
}

.footer-contact-info i {
  color: #c00000;
  font-size: 1rem;
  width: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-contact-info .footer-link {
  color: #d4d4d4;
  padding: 0;
  word-break: break-word;
  word-spacing: normal;
  white-space: nowrap;
  display: inline;
  text-align: center;
}

.footer-contact-info .footer-link:hover {
  color: #ffffff;
  padding-left: 0;
  transform: none;
}

.footer-contact-info .footer-link::before {
  display: none;
}

/* Footer Divider */
.footer-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(192, 0, 0, 0.4) 50%, transparent 100%);
  margin: 1rem 0 !important;
}

/* Copyright Text */
.copyright-text {
  color: #888;
  font-size: 0.95rem;
}

/* Social Links */
.social-links-combined {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-links-combined span {
  color: #999;
  font-size: 0.85rem;
  font-weight: 600;
}

.social-icon-footer {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(192, 0, 0, 0.3);
  border-radius: 10px;
  color: #c00000;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.social-icon-footer::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: linear-gradient(135deg, #c00000 0%, #ff3333 100%);
  border-radius: 10px;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  z-index: 0;
}

.social-icon-footer:hover::before {
  width: 120%;
  height: 120%;
}

.social-icon-footer:hover {
  color: #ffffff;
  border-color: #c00000;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(192, 0, 0, 0.3);
}

.social-icon-footer i {
  position: relative;
  z-index: 1;
}

/* List Styles */
.list-unstyled {
  padding-left: 0;
  list-style: none;
}

.list-unstyled li {
  margin-bottom: 0.3rem;
}

/* Center Quick Links */
.footer-main .col-lg-2 {
  text-align: center;
}

.footer-main .col-lg-2 .list-unstyled {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .footer-main .container {
    padding-top: 1.5rem !important;
    padding-bottom: 0.75rem !important;
  }

  .footer-main h5 {
    font-size: 1rem;
    margin-bottom: 0.6rem;
  }

  .footer-main h5::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .text-md-start {
    text-align: center !important;
  }

  .text-md-end {
    text-align: center !important;
  }

  .company-description {
    text-align: center;
    font-size: 0.95rem;
  }

  .footer-logo {
    display: block;
    margin: 0 auto 0.75rem;
    max-width: 140px;
  }

  .social-links-combined {
    justify-content: center;
  }

  .footer-main .row {
    text-align: center;
  }

  .footer-main .col-md-6,
  .footer-main .col-lg-2,
  .footer-main .col-lg-3,
  .footer-main .col-lg-5 {
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .footer-main .list-unstyled {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-contact-info .contact-list {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-contact-info .footer-link {
    text-align: center;
    font-size: 0.9rem;
  }

  .copyright-text {
    text-align: center;
    font-size: 0.85rem;
  }

  .footer-divider {
    margin: 0.75rem 0 !important;
  }

  .social-icon-footer {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

/* =========================================
   SCROLL TO TOP BUTTON - ACTION BUTTON
   ========================================= */

.scroll-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  max-width: 50px;
  max-height: 50px;
  aspect-ratio: 1 / 1;
  padding: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(192, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
  z-index: 999;
}

.scroll-to-top-btn:hover {
  box-shadow: 0 15px 40px rgba(192, 0, 0, 0.4);
  transform: translateY(-5px) scale(1.08);
}

.scroll-to-top-btn:active {
  transform: translateY(-2px);
}

.scroll-to-top-btn.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .scroll-to-top-btn {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    min-width: 45px;
    min-height: 45px;
    max-width: 45px;
    max-height: 45px;
    font-size: 1.3rem;
  }

  .scroll-to-top-btn:hover {
    transform: translateY(-4px) scale(1.06);
  }
}

@media (max-width: 480px) {
  .scroll-to-top-btn {
    bottom: 15px;
    right: 15px;
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    max-width: 42px;
    max-height: 42px;
    font-size: 1.1rem;
  }

  .scroll-to-top-btn:hover {
    transform: translateY(-3px) scale(1.05);
  }
}

/* ============================================
   TRUSTED BY LEADING COMPANIES — premium
   ============================================ */
.trusted-companies {
  padding: 96px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  overflow: hidden;
  text-align: center;
}

.trusted-header {
  text-align: center;
  width: 100%;
  max-width: none;
  margin: 0 0 56px;
  padding: 0 16px;
}

.trusted-header .section-title {
  text-align: center;
  width: 100%;
  margin: 0 0 12px;
  line-height: 1.18;
  padding-bottom: 0.2em;
}

.trusted-companies .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trusted-companies .trusted-marquee {
  align-self: stretch;
}

.trusted-subtitle {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
}

.trusted-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 10px 0 48px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.trusted-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: trusted-scroll 50s linear infinite;
  will-change: transform;
}

@keyframes trusted-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.trusted-marquee:hover .trusted-track,
.trusted-marquee:focus-within .trusted-track {
  animation-play-state: paused;
}

.trusted-logo {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  border-radius: 8px;
}

.trusted-logo img {
  height: 60px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  display: block;
  transition: filter 250ms ease, box-shadow 250ms ease, transform 250ms ease;
}

.trusted-logo:hover,
.trusted-logo:focus-visible {
  transform: translateY(-4px) scale(1.08);
}

.trusted-logo:hover img,
.trusted-logo:focus-visible img {
  filter: drop-shadow(0 12px 24px rgba(15, 23, 42, 0.18));
}

.trusted-logo::after {
  content: attr(data-company);
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--color-dark);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease, transform 250ms ease;
  z-index: 5;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
}

.trusted-logo::before {
  content: "";
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: var(--color-dark);
  opacity: 0;
  transition: opacity 250ms ease;
}

.trusted-logo:hover::after,
.trusted-logo:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.trusted-logo:hover::before,
.trusted-logo:focus-visible::before {
  opacity: 1;
}

@media (max-width: 992px) {
  .trusted-companies { padding: 80px 0; }
  .trusted-header { margin-bottom: 44px; }
  .trusted-track { gap: 56px; animation-duration: 42s; }
  .trusted-logo { height: 58px; }
  .trusted-logo img { height: 54px; max-width: 220px; }
}

@media (max-width: 576px) {
  .trusted-companies { padding: 64px 0; }
  .trusted-header { margin-bottom: 32px; padding: 0 20px; }
  .trusted-subtitle { font-size: 0.95rem; }
  .trusted-track { gap: 40px; animation-duration: 32s; }
  .trusted-logo { height: 52px; }
  .trusted-logo img { height: 48px; max-width: 160px; }
}

@media (prefers-reduced-motion: reduce) {
  .trusted-track { animation: none; }
  .trusted-marquee { overflow-x: auto; }
}
