:root {
  --primary-color: #2c5282;
  --secondary-color: #4299e1;
  --background-color: #f8fafc;
  --text-color: #2d3748;
  --card-background: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.section-title {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--secondary-color);
  /* text-align: center; */
}

/* Service Flow Styles */
.service-flow {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 4rem;
  justify-content: center;
}

.flow-step {
  flex: 1;
  min-width: 220px;
  max-width: 300px;
  background: var(--card-background);
  padding: 1.5rem;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flow-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.flow-step::after {
  content: '➡';
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--secondary-color);
  font-size: 1.5rem;
}

.flow-step:last-child::after {
  display: none;
}

.flow-step:nth-child(2n+1) h3 {
  background-color: #10B981;
}

.flow-step h3 {
  background: var(--primary-color);
  color: white;
  padding: 0.75rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  text-align: center;
}

.flow-step ul {
  list-style: none;
  padding-left: 1rem;
}

.flow-step li {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  position: relative;
}

.flow-step li::before {
  content: '•';
  color: var(--secondary-color);
  position: absolute;
  left: -1rem;
  font-size: 1.2em;
}

/* Advantages Styles */
.advantages {
  background: var(--card-background);
  padding: 2rem;
  border-radius: 12px;
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.advantage-card {
  background: var(--background-color);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.advantage-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  text-align: center;
}

.stat {
  font-size: 1.8rem;
  color: var(--secondary-color);
  font-weight: bold;
  margin: 1rem 0;
  text-align: center;
}

.stat-description {
  font-size: 1rem;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 1rem;
}

.hardware-advantages {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.hardware-card {
  background: var(--card-background);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hardware-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/*  */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 1rem;
}

.card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon.green svg {
  fill: #10b981;
}

.icon.blue svg {
  fill: #0A4F99;
}

.icon svg {
  width: 100%;
  height: 100%;
}

.content {
  flex: 1;
}

.title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #1e40af;
}

.description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #64748b;
}

@media (max-width: 768px) {
  .service-flow {
    flex-direction: column;
    align-items: center;
  }

  .flow-step {
    width: 100%;
    max-width: none;
  }

  .flow-step::after {
    content: '↓';
    right: 50%;
    bottom: -1.5rem;
    top: auto;
    transform: translateX(50%);
  }

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

  .hardware-advantages {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .card {
    padding: 1.5rem;
  }
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* .advantage-bottom {
  display: flex;
  justify-content: space-around;
} */

.cards-grid .card:nth-child(2n-1) .content .title {
  color: #10B981;
}

.flow-step,
.advantage-card,
.hardware-card,
.cards-grid:nth-child(n) {
  animation: fadeIn 0.5s ease-out forwards;
  opacity: 0;
}

.flow-step:nth-child(1) {
  animation-delay: 0.1s;
}

.flow-step:nth-child(2) {
  animation-delay: 0.2s;
}

.flow-step:nth-child(3) {
  animation-delay: 0.3s;
}

.flow-step:nth-child(4) {
  animation-delay: 0.4s;
}

.flow-step:nth-child(5) {
  animation-delay: 0.5s;
}

.hardware-card:nth-child(1) {
  animation-delay: 0.6s;
}

.hardware-card:nth-child(2) {
  animation-delay: 0.7s;
}

.hardware-card:nth-child(3) {
  animation-delay: 0.8s;
}

.advantage-card:nth-child(4) {
  animation-delay: 0.9s;
}

.advantage-card:nth-child(5) {
  animation-delay: 1s;
}


.cards-grid .card:nth-child(1) {
  animation-delay: .5 !important;
}

.cards-grid .card:nth-child(2) {
  animation-delay: .6 !important;
}

.cards-grid .card:nth-child(3) {
  animation-delay: .7 !important;
}

.cards-grid .card:nth-child(4) {
  animation-delay: .8 !important;
}

.cards-grid .card:nth-child(5) {
  animation-delay: .9 !important;
}

.cards-grid .card:nth-child(6) {
  animation-delay: 1 !important;
}