/* === Base Reset === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0d1b2a;
  font-family: 'Segoe UI', sans-serif;
  color: #e0e0e0;
  padding: 20px;
  animation: pulseBackground 8s infinite;
}

/* === Animated Background === */
@keyframes pulseBackground {
  0%, 100% {
    background-color: #0d1b2a;
  }
  50% {
    background-color: #132238;
  }
}

/* === Page Container === */
.services-page-container {
  width: 100%;
  max-width: 420px;
  margin: auto;
  padding: 30px;
  background: #1f1f1f;
  border-radius: 14px;
  box-shadow: 0 0 25px rgba(0, 191, 255, 0.2);
  animation: fadeInUp 0.6s ease, glowPulse 6s infinite;
}

/* === Animations === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 25px rgba(218, 165, 32, 0.15);
  }
  50% {
    box-shadow: 0 0 40px rgba(218, 165, 32, 0.4);
  }
}

/* === Page Title === */
.page-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 26px;
  color: #00bfff;
}

/* === Service List === */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* === Service Item === */
.service-item {
  border: 1px solid #333;
  border-radius: 12px;
  padding: 16px;
  background: #2a2a2a;
  box-shadow: 0 0 15px rgba(218, 165, 32, 0.3); /* golden shadow */
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 25px rgba(218, 165, 32, 0.6);
}

/* === Image === */
.service-item img {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 14px;
}

/* === Title === */
.service-item h3 {
  margin-bottom: 10px;
  font-size: 20px;
  color: #f5c842;
}

/* === Description === */
.service-item p {
  font-size: 15px;
  line-height: 1.6;
  color: #ccc;
}

/* === Responsive === */
@media (max-width: 600px) {
  .services-page-container {
    padding: 15px;
  }

  .service-item h3 {
    font-size: 18px;
  }

  .service-item p {
    font-size: 14px;
  }
}

.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal.active {
  display: flex;
}

.modal-box {
  background: #1f1f1f;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 420px;
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
  position: relative;
}

.modal-close-icon {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 18px;
  color: #ccc;
}

.modal-box input,
.modal-box textarea {
  width: 100%;
  margin: 8px 0;
  padding: 10px;
  border-radius: 6px;
  border: none;
  background: #333;
  color: #fff;
}

.modal-box button {
  background: #00bfff;
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  border: none;
  font-weight: bold;
  width: 100%;
  margin-top: 10px;
  cursor: pointer;
}

.modal-box button:hover {
  background: #0099cc;
}

.service-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  flex-wrap: wrap;
  gap: 10px;
}

.get-quote-btn,
.visit-link-btn {
  padding: 8px 12px;
  font-weight: bold;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  border: none;
  display: inline-block;
}

.get-quote-btn {
  background: #f5c842;
  color: #000;
}

.visit-link-btn {
  background-color: #007bff;
  color: white;
}

.visit-link-btn:hover {
  background-color: #0056b3;
}