* { margin:0; padding:0; box-sizing:border-box; }

.integration-section{
  padding-top:70px;
  padding-bottom: 120px;
  background:#ffffff;
  text-align:center;
  align-items: center;
  padding-bottom: 10px;
  margin-top: -100px;
}

.integration-section h2{
  font-size:34px;
  font-weight:700;
  margin-bottom:20px;
}

.integration-section .service1-header span {
  color: #437A9B;
  font-family: "Figtree", sans-serif;
  font-size: 25px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px;
  display: inline-block;
  margin-bottom: 16px;
}

.integration-section .service1-header p {
  font-size: 20px;
  padding-top: 5px;
}
.integration-section .toggle-wrap {
  display: inline-flex;
  background: #fff;
  border: 2px solid #c8d5f0;
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 52px;
  margin: 40px auto 52px auto;   
  box-shadow: 0 2px 16px rgba(37,99,235,0.08);
  justify-content: center;
}
.integration-section .toggle-btn {
  padding: 11px 30px;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  color: #888;
  cursor: pointer;
  transition: all 0.35s ease;
}
.toggle-btn.active {
  background: #4782A2;
  color: #fff;
  box-shadow: 0 2px 12px rgba(37,99,235,0.38);
}

.diagram {
  position: relative;
  max-width: 900px;
  width: 100%;
  height: 640px;
  margin: 0 auto;
}

.lines-svg {
  position: absolute;
  top: 0; left: 0;
  width: 900px; height: 640px;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

.conn {
  fill: none;
  stroke: #5ab4f0;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
}

/* Phase 1: draw the line on */
.conn.drawing {
  opacity: 1;
  stroke-dasharray: var(--pathlen, 1000) var(--pathlen, 1000);
  stroke-dashoffset: var(--pathlen, 1000);
  animation: drawOn var(--dur, 0.5s) ease-out forwards;
}
@keyframes drawOn { to { stroke-dashoffset: 0; } }

/* Phase 2: flowing dashes */
.conn.flowing {
  opacity: 1;
  stroke-dasharray: 8 5;
  stroke-dashoffset: 0;
  animation: flow 1s linear infinite;
}
@keyframes flow { to { stroke-dashoffset: -26; } }

.solid {
  fill: none;
  stroke: #5ab4f0;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.solid.visible { opacity: 1; }

.app-icon {
  position: absolute;
  width: 80px; height: 80px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.10), 0 1px 4px rgba(0,0,0,0.05);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: left 0.75s cubic-bezier(0.34,1.56,0.64,1),
              top  0.75s cubic-bezier(0.34,1.56,0.64,1);
}
.hub-icon {
  position: absolute;
  width: 90px; height: 90px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 6px 28px rgba(37,99,235,0.15), 0 2px 8px rgba(0,0,0,0.07);
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  transition: left 0.75s cubic-bezier(0.34,1.56,0.64,1),
              top  0.75s cubic-bezier(0.34,1.56,0.64,1);
}
.app-icon img {
  border-radius: 50px;
}

.hub-icon img {
  border-radius: 20px;
  width: 150px;
}
#i-sap img {
  width: 70px;
}
#i-oracle img {
  width: 70px;
}
#i-tally img {
  width: 70px;
}
#i-sage img {
  width: 70px;
}
#i-outlook img {
  width: 70px;
}
#i-team img {
  width: 70px;
}
#i-gmail img {
  width: 70px;
}
#i-sap {
  margin-left: 6px;
}
#i-ns {
  margin-left: 6px;
}
#i-tally {
  margin-left: 6px;
}
#i-sage {
  margin-left: 6px;
}
#i-deltek {
  margin-left: 6px;
}
#i-infor {
  margin-left: 6px;
}
#i-wd {
  margin-left: 6px;
}
#i-qad {
  margin-left: 6px;
}
#i-unit {
  margin-left: 6px;
}