body {
  font-family: system-ui, sans-serif;
}

h1, h2 {
  font-weight: 700;
}

footer {
  background-color: #f8f9fa;
}

/* Document types vertical scrolling animation */
.document-types-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120px;
  width: 100%;
}

.doc-type-box {
  position: relative;
  height: 80px;
  width: 300px;
  overflow: hidden;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.doc-type-slide {
  position: absolute;
  width: 100%;
  text-align: center;
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
  transition: all 0.5s ease;
}

.doc-type-slide:nth-child(1) { animation: show-slide 36s linear infinite 0s; }
.doc-type-slide:nth-child(2) { animation: show-slide 36s linear infinite 3s; }
.doc-type-slide:nth-child(3) { animation: show-slide 36s linear infinite 6s; }
.doc-type-slide:nth-child(4) { animation: show-slide 36s linear infinite 9s; }
.doc-type-slide:nth-child(5) { animation: show-slide 36s linear infinite 12s; }
.doc-type-slide:nth-child(6) { animation: show-slide 36s linear infinite 15s; }
.doc-type-slide:nth-child(7) { animation: show-slide 36s linear infinite 18s; }
.doc-type-slide:nth-child(8) { animation: show-slide 36s linear infinite 21s; }
.doc-type-slide:nth-child(9) { animation: show-slide 36s linear infinite 24s; }
.doc-type-slide:nth-child(10) { animation: show-slide 36s linear infinite 27s; }
.doc-type-slide:nth-child(11) { animation: show-slide 36s linear infinite 30s; }
.doc-type-slide:nth-child(12) { animation: show-slide 36s linear infinite 33s; }

.doc-type {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0d6efd;
  padding: 10px 20px;
  display: block;
}

@keyframes show-slide {
  0%, 1% {
    opacity: 0;
    transform: translateY(100%);
    visibility: hidden;
  }
  5%, 95% {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
  99%, 100% {
    opacity: 0;
    transform: translateY(-100%);
    visibility: hidden;
  }
}

/* Integration types vertical scrolling animation */
.integration-types-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120px;
  width: 100%;
}

.integration-type-box {
  position: relative;
  height: 80px;
  width: 350px;
  overflow: hidden;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.integration-type-slide {
  position: absolute;
  width: 100%;
  text-align: center;
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
  transition: all 0.5s ease;
}

.integration-type-slide:nth-child(1) { animation: show-slide 45s linear infinite 0s; }
.integration-type-slide:nth-child(2) { animation: show-slide 45s linear infinite 3s; }
.integration-type-slide:nth-child(3) { animation: show-slide 45s linear infinite 6s; }
.integration-type-slide:nth-child(4) { animation: show-slide 45s linear infinite 9s; }
.integration-type-slide:nth-child(5) { animation: show-slide 45s linear infinite 12s; }
.integration-type-slide:nth-child(6) { animation: show-slide 45s linear infinite 15s; }
.integration-type-slide:nth-child(7) { animation: show-slide 45s linear infinite 18s; }
.integration-type-slide:nth-child(8) { animation: show-slide 45s linear infinite 21s; }
.integration-type-slide:nth-child(9) { animation: show-slide 45s linear infinite 24s; }
.integration-type-slide:nth-child(10) { animation: show-slide 45s linear infinite 27s; }
.integration-type-slide:nth-child(11) { animation: show-slide 45s linear infinite 30s; }
.integration-type-slide:nth-child(12) { animation: show-slide 45s linear infinite 33s; }
.integration-type-slide:nth-child(13) { animation: show-slide 45s linear infinite 36s; }
.integration-type-slide:nth-child(14) { animation: show-slide 45s linear infinite 39s; }
.integration-type-slide:nth-child(15) { animation: show-slide 45s linear infinite 42s; }

.integration-type {
  font-size: 2.5rem;
  font-weight: 700;
  color: #198754;
  padding: 10px 20px;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .doc-type,
  .integration-type {
    font-size: 1.8rem;
    padding: 8px 15px;
  }
  
  .doc-type-box,
  .integration-type-box {
    height: 60px;
    width: 250px;
  }
  
  .document-types-container,
  .integration-types-container {
    height: 100px;
  }
}
