
.container-kiosk{
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 86px;
}

.services-section-kiosk {
  padding-top: 70px;
  padding-bottom: 70px;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

.services-section-kiosk::before {
  content: '';
  position: absolute;
  top: -1113px;
  left: -1540.3px;
  width: 6027.6px;
  height: 2086px;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: -1;
  pointer-events: none;
}

.section-header-kiosk{
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 55px;
  color: #24282B;
  text-align: left;
}

/* === MAIN GRID === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  max-width: none;   /* remove hard cap */
  width: 100%;
  margin: 0 auto;
}

.service-card-kiosk {
  width: 100%;       /* fluid width */
  border-radius: 0;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.service-card-kiosk:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-card {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
}

.orange-card {
  background-color: #FF4612;
}

/* === IMAGES === */
.card-image {
  width: 100%;
  height: 240px;
  position: relative;
  overflow: hidden;
}

.orange-card .card-image {
  margin-top: 24px;
  margin-left: 23px;
  width: calc(100% - 46px);
  height: 315px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card-kiosk:hover .card-image img {
  transform: scale(1.05);
}

/* === CONTENT === */
.card-content {
  padding: 26px;
  height: calc(100% - 240px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  z-index: 2;
}

.orange-card .card-content {
  height: calc(100% - 264px);
}

.card-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 27px;
  color: #ffffff;
  margin-bottom: 12px;
  text-align: left;
}

.card-description {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 30px;
  color: #ffffff;
  text-align: left;
  flex-grow: 1;
}

/* === RESPONSIVE === */
@media (min-width: 1280px) {
  /* make sure 1366 & 1440 show 4 full boxes */
  .container-kiosk { padding: 0 48px; }
}

@media (max-width: 1279px) {
  .container-kiosk { padding: 0 32px; }
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }
  .service-card-kiosk { height: 580px; }
  .card-image,
  .orange-card .card-image { height: 220px; }
  .orange-card .card-content { height: calc(100% - 244px); padding: 20px; }
}

@media (max-width: 1024px) {
  .container-kiosk{ padding: 0 40px; }
  .services-section-kiosk { padding: 60px 0; }
  .section-header-kiosk { margin-bottom: 80px; }
  .section-title { font-size: 36px; line-height: 50px; text-align: center; }
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: auto;
  }
  .service-card-kiosk { max-width: auto; height: auto; }
  .card-image { height: 220px; }
}

@media (max-width: 767px) {
  .container-kiosk { padding: 0 20px; }
  .services-section-kiosk { padding: 40px 0; }
  .section-header-kiosk { margin-bottom: 60px; }
  .section-title { font-size: 32px; line-height: 44px; }
  .services-grid { grid-template-columns: repeat(1, 1fr); gap: 20px; }
  .service-card-kiosk { height: auto; }
  .card-image { height: 180px; }
  .orange-card .card-image { height: 180px; margin: 15px; width: calc(100% - 30px); }
  .card-content { height: calc(100% - 180px); padding: 18px; }
  .orange-card .card-content { height: calc(100% - 195px); }
}

@media (max-width: 480px) {
  .container-kiosk { padding: 0 15px; }
  .services-section-kiosk { padding: 30px 0; }
  .section-header-kiosk { margin-bottom: 40px; }
  .section-title { font-size: 28px; line-height: 38px; }
  .service-card-kiosk { height: auto; }
  .card-image { height: 160px; }
  .orange-card .card-image { height: 160px; margin: 12px; width: calc(100% - 24px); }
  .card-content { height: calc(100% - 160px); padding: 15px; }
  .orange-card .card-content { height: calc(100% - 172px); }
}

/* === ANIMATIONS === */
.service-card-kiosk {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}
.service-card-kiosk:nth-child(1) { animation-delay: 0.1s; }
.service-card-kiosk:nth-child(2) { animation-delay: 0.2s; }
.service-card-kiosk:nth-child(3) { animation-delay: 0.3s; }
.service-card-kiosk:nth-child(4) { animation-delay: 0.4s; }
.service-card-kiosk:nth-child(5) { animation-delay: 0.5s; }
.service-card-kiosk:nth-child(6) { animation-delay: 0.6s; }
.service-card-kiosk:nth-child(7) { animation-delay: 0.7s; }
.service-card-kiosk:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* === ACCESSIBILITY === */
.service-card-kiosk:focus {
  outline: 2px solid #FF4612;
  outline-offset: 2px;
}
.service-card-kiosk:focus:not(:focus-visible) { outline: none; }

@media (prefers-reduced-motion: reduce) {
  .service-card-kiosk { animation: none; opacity: 1; transform: none; }
  .service-card-kiosk:hover { transform: none; }
  .service-card-kiosk:hover .card-image img { transform: none; }
}
