/* Services v2 – white background, 3-column layout, 3D icons */
.services-v2 {
  background: #fff;
  padding: 90px 0
}

.services-v2 .svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 45px;
  align-items: start;
}

/* Column */
.services-v2 .svc-col {
  background: #fff;
  border: 1px solid rgba(120, 130, 150, .22);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 14px 40px rgba(20, 30, 60, .07);
}

.services-v2 .svc-col-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 2px solid rgba(220, 38, 38, .15);
}

.services-v2 .svc-col-title h3 {
  color: #000;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.services-v2 .svc-col-no {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #000;
  opacity: .55;
}

/* Row */
.services-v2 .svc-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px;
  margin-bottom: 14px;
  border: 1px solid rgba(120, 130, 150, .18);
  border-radius: 16px;
  background: #fafbfd;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease, background .3s ease;
}

.services-v2 .svc-row:last-child {
  margin-bottom: 0
}

.services-v2 .svc-row:hover {
  transform: translateY(-5px);
  background: #fff;
  border-color: rgba(93, 48, 239, 0.45);
  box-shadow: 0 16px 34px rgba(20, 30, 60, .12);
}

/* 3D icon */
.services-v2 .svc-icon {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 28px;
  font-weight: 700;
  color: #f4f1f1;
  background: #b3121a;
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, .55),
    /* top highlight */
    inset 0 -5px 8px rgba(110, 0, 8, .45),
    /* bottom shade  */
    0 6px 0 #8f0f16,
    /* extruded side */
    0 12px 18px rgba(179, 18, 26, .35);
  /* ground shadow */
  text-shadow: 0 1px 0 #b3121a, 0 2px 0 #a01018, 0 3px 4px rgba(0, 0, 0, .35);
  transform: perspective(300px) rotateX(8deg) rotateY(-8deg);
  transition: transform .35s ease, box-shadow .35s ease;
}

.services-v2 .svc-row:hover .svc-icon {
  transform: perspective(300px) rotateX(0) rotateY(0) translateY(-3px) scale(1.06);
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, .6),
    inset 0 -5px 8px rgba(110, 0, 8, .45),
    0 8px 0 #8f0f16,
    0 18px 24px rgba(179, 18, 26, .40);
}

/* Text */
.services-v2 .svc-text h4 {
  color: #000;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 7px;
}

.services-v2 .svc-text p {
  color: #000;
  font-family: consolas, monospace;
  font-weight: 500;
  font-size: .88rem;
  line-height: 1.6;
  text-align: justify;
  margin: 0;
}

@media (max-width:1024px) {
  .services-v2 .svc-grid {
    grid-template-columns: 1fr;
    gap: 20px
  }
}

@media (max-width:600px) {
  .services-v2 {
    padding: 60px 0
  }

  .services-v2 .svc-col {
    padding: 18px
  }

  .services-v2 .svc-row {
    padding: 14px;
    gap: 14px
  }

  .services-v2 .svc-icon {
    flex-basis: 50px;
    width: 50px;
    height: 50px;
    font-size: 24px
  }
}


/*------------------------button book demo */
.demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 30px;
  background: #b3121a;
  color: #fff;
  font-size: 10px;
  font-weight: 300;
  font-family: inherit;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(177, 178, 224, 0.3);
  transition: all 0.3s ease;
  height: fit-content;
}

.demo-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

.demo-btn span {
  font-size: 10px;
  transition: transform 0.3s ease;
}

.demo-btn:hover span {
  transform: translateX(5px);
}

/* popup */
/* MAIN BUTTON */
.demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 6px 14px;
  background: #bd101b;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(189, 16, 27, .2);
  transition: .3s ease;
}

.demo-btn:hover {
  background: #990b15;
  transform: translateY(-3px);
}

.demo-btn span {
  font-size: 23px;
}

/* POPUP OVERLAY */
.demo-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 35, .7);
  backdrop-filter: blur(5px);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  padding: 18px;
}

/* POPUP BOX */
.demo-modal {
  background: #fff;
  width: 100%;
  max-width: 460px;
  padding: 38px;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
  animation: popup .3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes popup {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CLOSE BUTTON */
.close-btn {
  position: absolute;
  right: 20px;
  top: 15px;
  border: none;
  background: none;
  font-size: 30px;
  color: #777;
  cursor: pointer;
}

/* HEADINGS */
.demo-modal h2 {
  font-size: 29px;
  color: #171717;
  margin: 0 0 10px;
}

.modal-subtitle {
  font-size: 14px;
  color: #777;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* FORM */
.demo-modal label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 16px 0 8px;
}

.demo-modal input,
.demo-modal select {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 15px;
  border: 1px solid #ddd;
  border-radius: 9px;
  font-size: 12px;
  outline: none;
  background: #fff;
  transition: .2s;
}

.demo-modal input:focus,
.demo-modal select:focus {
  border-color: #bd101b;
  box-shadow: 0 0 0 3px rgba(189, 16, 27, .08);
}

/* SEND BUTTON */
.send-btn {
  width: 100%;
  margin-top: 25px;
  padding: 16px;
  border: none;
  border-radius: 50px;
  background: #bd101b;
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: .3s;
}

.send-btn:hover {
  background: #990b15;
  transform: translateY(-2px);
}

/* MOBILE */
@media(max-width: 480px) {
  .demo-modal {
    padding: 28px 22px;
  }

  .demo-modal h2 {
    font-size: 25px;
  }
}


.close-btn {
  position: absolute;
  top: 12px;
  right: 18px;
  width: 35px;
  height: 35px;
  background: transparent;
  border: none;
  color: #555;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn:hover {
  color: #bd101b;
}
