.services {
  background: #cccccc;
  /* background: url(../images/bg-services-0001.jpg); */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: auto;
  padding: 5%;
  position: relative;
}

.services::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  backdrop-filter: blur(20px);
}

.services h1 {
  text-align: center;
  font-family: "Great Vibes", cursive;
  font-size: 2.9em;
  font-weight: 500;
  padding-bottom: 0.7em;
}

.services .services-content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 7em;
  background: #ffffff;
  padding: 5px 0;
}

.services .line {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 32px;
}

.card {
  z-index: 9999;
  background: rgb(33, 33, 33);
  background: url(../images/bg-serv02.png);
  background-position: cover;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: flex-start;
  /* justify-content: center; */
  /* width: 33%; */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  border-radius: 10px;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  /* color: #e8e8e8; */
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.content .heading {
  font-weight: 700;
  font-size: 32px;
  line-height: 2rem;
}

.content .para {
  line-height: 1.5;
}

.content:hover {
  color: #1c1c1c;
}

.content ul {
  padding-left: 15px;
}

.content .btn {
  color: #e8e8e8;
  text-decoration: none;
  padding: 10px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: linear-gradient(90deg, #535e23 0%, #008552 100%);
  border-radius: 5px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(90deg, #fcff9e 0%, #c67700 100%);
  z-index: -1;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.card:hover::before {
  width: 100%;
}

.card:hover {
  box-shadow: none;
}

.card:hover .btn {
  color: #c1c1c1;
  background: #1c1c1c;
}

.content .btn:hover {
  outline: 2px solid #e8e8e8;
  background: linear-gradient(90deg, #9ebd13 0%, #008552 100%);
  color: #000000;
}

.content .btn:active {
  box-shadow: none;
}

.services dialog {
  /* padding: 3%; */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* width: 100%; */
  /* height: 100vh; */
  border-radius: 15px;
  border: none;
}

.services dialog::backdrop {
  background: rgba(0, 0, 0, 0.795);
}

.services dialog div {
  position: relative;
    background: var(--first-color);
    max-width: 308px;
    display: flex;
    flex-direction: column;
    /* margin: 50px; */
    /* border-radius: 15px; */
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.services dialog button {
  background: var(--gold-border);
  color: #ffffff;
  cursor: pointer;
}