.section-one {
  /* padding: 60px 5%; */
  width: 100%;
  max-width: 1000px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  justify-content: center;
  align-items: stretch;
}

.service-card {
  background: #111;
  border-radius: 16px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

/* Icon */
.icon {
  width: 50px;
  height: 50px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 28px;
  color: #fff;
}

.bg-green {
  background: #3dce6b;
}
.bg-blue {
  background: #4a90e2;
}
.bg-yellow {
  background: #ffbe0b;
}
.bg-red {
  background: #ff0033;
}

/* Title */
.service-card h3 {
  font-size: 1.4rem;
  margin: 0 0 12px 0;
  font-weight: 600;
}

/* Description */
.service-card p {
  color: #aaa;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Circular Button */
.circle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  transform: rotate(310deg);
}

.circle-btn i {
  font-size: 16px;
  color: #fff;
}

.circle-btn:hover {
  background: #fff;
   transform: rotate(360deg);
}

.circle-btn:hover i {
  color: #000;
}

/* Overlay background */
.popup {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(3px);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Popup container */
.popup-content {
  position: relative;
  background-color: #000;
  color: #fff;
  padding: 50px 60px;
  width: 800px;
  max-width: 90%;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
  text-align: center;
  animation: popupFade 0.4s ease;
}

/* Heading */
.popup-content h2 {
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: 700;
}

/* Paragraph */
.popup-content p {
  color: #ccc;
  font-size: 16px;
  margin-bottom: 25px;
  line-height: 1.5;
}

/* Input */
.popup-content input[type="email"] {
  width: 70%;
  padding: 12px 15px;
  border: 1px solid #444;
  border-radius: 6px;
  background-color: #111;
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s;
}

.popup-content input[type="email"]:focus {
  border-color: #f44336;
}

/* Submit Button */
.popup-content button[type="submit"] {
  display: inline-block;
  margin-top: 20px;
  width: 200px;
  padding: 12px 0;
  border: none;
  border-radius: 6px;
  background-color: #f44336;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.popup-content button[type="submit"]:hover {
  background-color: #d32f2f;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: #888;
  font-size: 26px;
  cursor: pointer;
  transition: color 0.3s;
}

.close-btn:hover {
  color: #f44336;
}

/* Animation */
@keyframes popupFade {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
