/* MAIN  */
.dev-cards {
  display: grid;
  grid-template-columns: repeat(3, 282px);
  gap: 24px;
}

/* CARD */
.dev-card {
  display: flex;
  align-items: center;
  gap: 16px;

  width: 282px;
  height: 88px;

  padding: 16px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);

  background: #1e1e1e;

  text-decoration: none;
  color: #fff;

  box-sizing: border-box;
  transition: border 0.2s ease;
}

/* HOVER */
.dev-card:hover {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: none;
}

/* ICON  */
.dev-card .icon {
  width: 56px;
  height: 56px;
  min-width: 56px;

  padding: 0;
  background: none;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* IMAGE  */
.dev-card .icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 0;
}

/* TITLE */
.dev-card .title {
  font-size: 18px;
  line-height: 160%;
  font-weight: 400;

  color: #fff;
}

/* Container Layout */
.service-cards-container {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

/* Base Card Style - Fixed height ki jagah min-height use kiya hai */
.xperia-service-menu-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  text-decoration: none;
  background-color: #1e1e1e;
  transition: 0.3s ease;
  box-sizing: border-box;

  /* Figma Dimensions */
  width: 282px;
  min-height: 200px; /* Isse content bahar nahi jayega */
  height: auto; /* Content ke hisab se adjust hoga */
  border: 1px solid #ffffff33;
  border-radius: 30px;

  /* Strict Padding */
  padding: 24px 20px;
  overflow: hidden; /* Safety for content */
}

/* Hover Effect */
.xperia-service-menu-item:hover {
  border-color: #ffffff33;
  transform: translateY(-5px);
}

/* Icons Layout - Compact spacing */
.xperia-service-menu-item-icon {
  width: 56px;
  height: 56px;
  background-color: #ffffff1a;
  border-radius: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px; /* Title aur icon ke beech ki space */
  flex-shrink: 0;
}

.xperia-service-menu-item-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* Title - No extra margins */
.xperia-service-menu-item-title {
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 8px 0; /* Sirf niche thodi space description ke liye */
}

/* Description - Compact line height */
.xperia-service-menu-item-description {
  color: #ffffffb2;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4; /* Thoda kam kiya taaki fit ho jaye */
  letter-spacing: -0.02em;
  margin: 0;
}

/* Clickable Link */
.card-link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
}
