/* Ported from samarthivf.com (home-services). Fonts → Montserrat and colours → brand purple (owner rules). */

  .smth-services-wrap {
    width: 100%;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    padding: 20px 0 50px;
    background: transparent;
  }

  .smth-services-wrap *, .smth-services-wrap *::before, .smth-services-wrap *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  .smth-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 1250px;
    margin: 0 auto 40px;
  }

  /* ── CARD: Glass effect ── */
  .smth-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 30px 26px 34px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
  }

  /* Bottom sweep line */
  .smth-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #a5479f, #e3c3ef);
    border-radius: 0 0 20px 20px;
    transition: width 0.4s ease;
  }

  .smth-card:hover::after {
    width: 100%;
  }

  .smth-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.28);
  }

  /* ── FLAGSHIP BADGE ── */
  .smth-badge {
    position: absolute !important;
    top: 18px !important;
    right: 18px !important;
    background: rgba(165, 71, 159, 0.2) !important;
    border: 1.5px solid rgba(165, 71, 159, 0.5) !important;
    color: #ead3f0 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    padding: 5px 13px !important;
    border-radius: 50px !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
  }

  /* ── ICON BOX ── */
  .smth-icon-box {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
  }

  .smth-icon-box svg {
    width: 24px;
    height: 24px;
    stroke: #e3c3ef;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.3s ease;
  }

  /* Hover: icon box fills solid purple */
  .smth-card:hover .smth-icon-box {
    background: linear-gradient(135deg, #8b2b89, #a5479f);
    box-shadow: 0 6px 20px rgba(139, 43, 137, 0.5);
    border-color: transparent;
  }

  .smth-card:hover .smth-icon-box svg {
    stroke: #ffffff;
  }

  /* ── CARD TEXT ── */
  .smth-card h3 {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
  }

  .smth-card p {
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: 14px !important;
    line-height: 1.75 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* ── CTA BUTTON ── */
  .smth-cta-wrap {
    text-align: center;
    max-width: 1250px;
    margin: 0 auto;
  }

  .smth-cta-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: #8b2b89 !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    padding: 16px 36px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease !important;
    border: none !important;
  }

  .smth-cta-btn:hover {
    background: #563084 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(139, 43, 137, 0.45) !important;
  }

  .smth-cta-btn svg {
    width: 18px !important;
    height: 18px !important;
    stroke: #ffffff !important;
    fill: none !important;
    stroke-width: 2.2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }

  /* ── MOBILE ── */
  @media (max-width: 900px) {
    .smth-grid { grid-template-columns: repeat(2, 1fr); }
  }

  @media (max-width: 560px) {
    .smth-grid { grid-template-columns: 1fr; }
    .smth-card { padding: 24px 20px 28px; }
  }
