@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');


.serv {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 100vh;
  width: 100%;
  gap: 40px;
  padding: 50px;
  overflow: hidden;
  margin: auto;
  background: #ffffff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 50%, rgb(0, 0, 0) 100%);
}
.serv h3 {
  width: 100%;
  padding: 20px;
  font-size: 2.5em;
  font-weight: 500; 
}
.serv p {
  width: 100%;
  padding: 20px;
  font-size: 1.2em;
  line-height: 1.6;
  color: #000000c7;
}
.serv .cards {
  width: 100%;
  min-height: max-content;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.serv .card {
  width: 300px;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  text-align: center;
  padding: 20px;
  margin: auto;
  border-radius: 10px;
  border: none;
  background-color: #ffffff;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 12px;
}
.serv .card h4 {
  font-size: 1.5em;
  font-weight: 600;
  color: #000000c7;
}
.serv .card p {
  font-size: 1em;
  line-height: 1.5;
  padding: 10px;
}
.serv button, button {
  width: auto;
  height: auto;
  margin: 40px 0;
  padding: 12px 20px;
  border-radius: 6px;
  color: #ffffffc7;
  background-color: #ffffff00;
  border: 1px solid #878787;
  font-weight: 600;
  transition: all 0.5s ease-in-out;
}
.serv button:hover, button:hover {
  box-shadow: inset #e9e9e9 0px 0px 0px 100px;
  border-color: #fff;
  color: #000000;
  transition: all 0.5s ease-in-out;
}

@media screen and (max-width: 769px) {
.serv h3 {
  font-size: 1.8em;
  padding:10px 0;
  font-weight: 600;
}
.serv p {
  font-size: 1em;
  padding: 10px 0;
  width: 100%;
}
.serv {
  padding: 20px;
  min-height: max-content;
  flex-direction: column;
  align-items: center;
}
.serv .card {
  width: 100%;
  height: auto;
  min-height: max-content;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}

.serv .card h3 {
  padding: 20px;
}
.serv .card p {
  font-size: 1em;
  padding: 10px;
  font-weight: 500;
}
}