/* Social icons */
.social-icons {
  list-style: none;
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.social-icons a {
  display: grid;
  place-content: center;
  background-color: var(--color-primary);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.social-icons a:hover {
  background-color: var(--color-light);
  color: var(--color-dark);
  transform: translateY(-6px);
}
/* Services
------------------------- */
.services {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.service {
  position: relative;
  flex: 1 0 300px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: var(--color-secondary-light);
  padding: 22px;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.4s ease;
  isolation: isolate;
}
.service p {
  margin: 0;
}
.service::before {
  position: absolute;
  content: '';
  left: 0;
  bottom: 0;
  background-color: var(--color-light);
  height: 100%;
  width: 0px;
  z-index: -1;
  transition: width 0.5s ease-in-out;
}
.services .service:nth-child(even):before {
  left: unset;
  right: 0;
}
.service:hover::before {
  width: 100%;
}
.service-icon img {
  display: block;
  max-height: 80px;
  width: auto;
}
/* Features
------------------------- */
.features {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.feature {
  flex: 1 0 300px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: #ffffff;
  padding: 1rem;
  border-radius: 6px;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-border);
}
.feature p:last-of-type {
  margin: 0;
}
/* Scroll To Top
------------------------- */
.scrolltop {
  position: fixed;
  display: none;
  justify-content: center;
  align-items: center;
  right: 10px;
  bottom: 10px;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: #ffffff;
  border-radius: 6px;
  z-index: 20;
  cursor: pointer;
  -webkit-transition: background 0.3s ease;
  -moz-transition: background 0.3s ease;
  transition: background 0.3s ease;
  text-align: center;
}
.scrolltop i {
  font-size: 1.5rem;
}
.scrolltop:hover {
  background: var(--color-secondary);
}