.modern-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.service-card {
  background: #fff;
  color: #333;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

/* Service Image */
.service-img {
  overflow: hidden;
}
.service-img img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-img img {
  transform: scale(1.08);
}

/* Content */
.service-content {
  padding: 20px;
}
.service-title {
  font-size: 22px;
  font-weight: 700;
  color: #ff6600;
  margin-bottom: 12px;
}
.service-excerpt {
  font-size: 15px;
  color: #555;
  margin-bottom: 15px;
  line-height: 1.5;
}

/* Rounded Orange Buttons */
.service-btn {
      display: inline-block;
    padding: 0px 29px;
    border-radius: 20px 20px 20px 20px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  background: #ff6600;
  color: #fff;
  transition: all 0.3s ease;
}
.service-btn:hover {
  background: #e05500;
  transform: scale(1.05);
}

/* =========================
   MODAL POPUP STYLES
========================= */
.service-modal {
  display: none; /* hidden at start */
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);

  /* Flex centering */
  justify-content: center;
  align-items: center;
}

.service-modal-content {
  background: #fff;
  border-radius: 20px;
  max-width: 850px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 0;
  position: relative;
  animation: slideUp 0.4s ease;
}

/* Close Button */
.service-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  z-index: 10;
}

/* Modal Header (with shipping creativity) */
.service-modal-header {
  background: linear-gradient(135deg, #007bff, #ff6600);
  color: #fff;
  padding: 20px 30px;
  border-radius: 20px 20px 0 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
}
.service-modal-header .ship-icon {
  font-size: 26px;
}

/* Modal Image */
.service-modal-img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

/* Modal Body */
.service-modal-body {
  padding: 20px 30px;
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}

/* Modal CTA */
.modal-cta {
  text-align: center;
  padding: 20px 30px 30px;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #007bff;
  padding: 14px 28px;
  color: #fff;
  border-radius: 20px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}
.cta-btn:hover {
  background: #0056b3;
  transform: scale(1.05);
}

/* Animations */
@keyframes fadeIn {
  from {opacity: 0;} to {opacity: 1;}
}
@keyframes slideUp {
  from {transform: translateY(40px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
