svg {
  cursor: pointer;
}

.hidden-group > g, .typing-group {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.typing-line {
  fill: white;
  font-size: 12px;
  font-family: sans-serif;
}
body {
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif;
  background: #f6f6f6;
  color: #111;
}
.card-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  justify-items: center;
}
.card-img {
  width: 100%;
  max-width: 360px;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
  transition: transform 0.3s;
}
.card-img1 {
  height: 508px !important;
  width: 534px !important;
}
  
.card-img:hover {
  transform: translateY(-6px);
}

/* Show only on mobile */
.mobile-only {
  display: none;
}

@media screen and (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .mobile-only {
    display: block;
  }
}
.card-img2 {
  width: 100%;
  max-width: 240px; /* Adjust based on visual need */
  height: auto;
  margin-top: -140px;  /* Move upward */
  margin-left: 140px;  /* Move right */
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  background: #111;
  z-index: 10;
  position: relative;
}
/* optional idle float effect */
.float-pin {
  animation: float 2s ease-in-out infinite;
}
@keyframes float {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}
/* Draggable animation */
 .draggable-container {
            position: relative;
            width: 90%;
            max-width: 800px;
            height: 500px; /* Adjusted height to accommodate new content */
            background-color: #ffffff;
            border-radius: 12px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            padding: 20px;
            display: flex;
            flex-direction: column;
            justify-content: flex-start; /* Align content to the top */
            gap: 15px; /* Space between content blocks */
        }

        .row-guide {
            position: relative;
            /* height: auto; Removed fixed height for flexible content */
            min-height: 50px; /* Minimum height for visual rows */
            /* border-bottom: 1px dashed #e0e0e0; Removed dashed border for cleaner content */
            display: flex;
            align-items: flex-start; /* Align text to the top of the row */
            justify-content: flex-start;
            padding-left: 10px;
            padding-right: 10px; /* Add some padding for text */
            color: #333; /* Darker text for readability */
            font-size: 0.9rem;
            line-height: 1.5;
        }

        .row-guide.heading {
            font-size: 2.5rem; /* Larger font for heading */
            font-weight: bold;
            color: #000;
            margin-bottom: 10px; /* Space below heading */
            min-height: 80px;
        }

        .row-guide.paragraph {
            font-size: 1rem;
            color: #555;
            margin-bottom: 10px; /* Space below paragraphs */
        }

        .draggable-box {
            position: absolute;
            width: 100px;
            height: 100px;
            background-color: #3b82f6; /* Blue-600 */
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            cursor: grab;
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            font-weight: bold;
            transition: transform 0.3s ease-in-out;
            touch-action: none; /* Prevent browser default touch actions */
        }

        .draggable-box.dragging {
            cursor: grabbing;
            z-index: 100;
            transition: none; /* Disable transition during drag */
        }
