:root {
  /* Main Colors */
  --primary-bg: #fff;
  --secondary-bg: #111;
  --text-color: #111;

  /* Card Colors */
  --card-bg: var(--primary-bg);
  --card-shadow: #eee;

  /* Text Colors */
  --text-primary: var(--text-color);

  /* Border Colors */
  --border-color: var(--text-color);
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--text-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
}

.lead {
  font-weight: 500;
}

.nav-link {
  color: var(--text-color) !important;
  font-weight: 500;
  position: relative;
  text-decoration: none;
  display: inline-block;
}

.nav-link::after {
  content: "";
  display: inline-block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  width: 0%;
  height: 2px;
  background: var(--text-color);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.btn {
  font-weight: 600;
}

.stat-number {
  font-weight: 700;
}

.hero-section {
  background-color: var(--primary-bg);
  display: flex;
  align-items: center;
  padding: 0;
  text-align: center;
}

.hero-section .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding-top: 18vh;
  padding-bottom: 18vh;
  z-index: 2;
}

.hero-section .row {
  width: 100%;
  justify-content: center;
}

.hero-section .col-lg-6 {
  margin: 0 auto;
  float: none;
}

.logos {
  padding-top: 3vh;
  padding-bottom: 13vh;
}

.hero-section h1 {
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.hero-section .lead {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.hero-section .btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1rem;
}

.feature-card {
  border: 2px solid var(--card-shadow);
  border-radius: 15px;
  transition: transform 0.3s ease;
  background-color: var(--primary-bg);
  color: var(--text-color);
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card-white {
  background-color: white;
}

.process-image-card {
  background-color: var(--primary-bg);
}

.process-image {
  max-width: 100%;
  height: auto;
}

.section-primary-bg {
  background-color: var(--primary-bg);
}

.section-logo-bg {
  background-color: var(--primary-bg);
}

.section-text-bg {
  background-color: var(--primary-bg);
}

.logo-image {
  height: 40px;
  width: auto;
}

.section-overflow-hidden {
  overflow: hidden;
}

.process-step {
  background-color: var(--secondary-bg);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  color: var(--text-color);
}

.btn-primary {
  background-color: var(--secondary-bg);
  border-color: var(--secondary-bg);
  color: var(--primary-bg);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  padding: 0.75rem 2rem;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--secondary-bg);
  border-color: var(--secondary-bg);
  color: var(--primary-bg);
  transform: translateY(-5px);
}

.btn-secondary {
  background-color: var(--primary-bg);
  border-color: var(--primary-bg);
  color: var(--secondary-bg);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  padding: 0.75rem 2rem;
  transition: transform 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--primary-bg);
  border-color: var(--primary-bg);
  color: var(--secondary-bg);
  transform: translateY(-5px);
}

.solution-card {
  background-color: var(--section-bg-light);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  border: 2px solid var(--primary-bg);
}

.section-title {
  color: var(--text-color);
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--primary-bg);
}

.navbar {
  background-color: var(--primary-bg) !important;
  padding: 1rem 0;
}

.navbar-brand {
  padding: 0;
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

.bg-light {
  background-color: var(--primary-bg) !important;
}

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

.list-unstyled li {
  color: var(--text-color);
}

.list-unstyled li::before {
  color: var(--primary-bg);
}

footer,
#contact {
  background-color: var(--text-color) !important;
  color: var(--primary-bg) !important;
}

.bi {
  color: var(--primary-bg);
}

.navbar-toggler {
  border-color: var(--text-color);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(17, 17, 17, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Client Logos Styles */
.logo-scroll {
  width: 100%;
  position: relative;
}

.logo-scroll-inner {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2rem;
  row-gap: 3rem;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo {
  height: 40px;
  width: auto;
  filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%);
}

@media (max-width: 1200px) {
  .logo-scroll-inner {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 768px) {
  .logo-scroll-inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .logo-scroll-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Update section backgrounds */
section[style*="background-color: var(--primary-bg)"] {
  background-color: var(--section-bg-dark) !important;
}

section[style*="background-color: #ffffe3"] {
  background-color: var(--section-bg-light) !important;
}

/* Update card backgrounds */
.card[style*="background-color: white"] {
  background-color: white !important;
}

/* Center icons and headers in service section cards */
#services .feature-card .card-body {
  text-align: center;
}

#services .feature-card .card-body i {
  display: block;
  margin: 0 auto 1rem auto;
}

#services .feature-card .card-body h3 {
  text-align: center;
  margin-bottom: 1rem;
}

/* Hide process image on mobile */
@media (max-width: 768px) {
  .process-image {
    display: none;
  }
}
