/* ==========================================================================
   Services Widget — What We Do Best
   Premium dark-theme design matching reference screenshot
   ========================================================================== */

/* ==========================================================================
   1. Google Fonts
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   2. Wrapper & Layout
   ========================================================================== */

.srv-wrapper {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #0d0d1a;
  padding: 80px 40px;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

.srv-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ==========================================================================
   3. Section Header
   ========================================================================== */

.srv-section-header {
  text-align: center;
  padding-bottom: 56px;
}

.srv-small-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #6c8de8;
  margin-bottom: 14px;
}

.srv-main-heading {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

/* ==========================================================================
   4. Grid
   ========================================================================== */

.srv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ==========================================================================
   5. Card Base
   ========================================================================== */

.srv-card {
  position: relative;
  background-color: #13131f;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: default;
}

.srv-card:hover {
  background-color: #1a1a2e;
  border-color: #4e6ef2;
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(78, 110, 242, 0.18), 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   6. Watermark
   ========================================================================== */

.srv-card-watermark {
  position: absolute;
  bottom: -16px;
  right: -16px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  line-height: 1;
}

.srv-card-watermark i,
.srv-card-watermark svg {
  font-size: 120px;
  width: 120px;
  height: 120px;
  color: #ffffff;
  fill: #ffffff;
}

/* ==========================================================================
   7. Icon Box
   ========================================================================== */

.srv-card-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background-color: rgba(78, 110, 242, 0.12);
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: background-color 0.3s ease;
}

.srv-card:hover .srv-card-icon {
  background-color: rgba(78, 110, 242, 0.2);
}

.srv-card-icon i,
.srv-card-icon svg {
  font-size: 28px;
  width: 28px;
  height: 28px;
  color: #4e6ef2;
  fill: #4e6ef2;
  transition: color 0.3s ease;
}

/* ==========================================================================
   8. Card Content
   ========================================================================== */

.srv-card-title {
  position: relative;
  z-index: 1;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin: 0 0 10px 0;
  letter-spacing: -0.01em;
}

.srv-card-desc {
  position: relative;
  z-index: 1;
  font-size: 13.5px;
  font-weight: 400;
  color: #9fa8c0;
  line-height: 1.65;
  margin: 0 0 18px 0;
}

/* ==========================================================================
   9. Bullet List
   ========================================================================== */

.srv-bullets {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0 0 22px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.srv-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.srv-bullet-icon {
  flex-shrink: 0;
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
}

.srv-bullet-icon i,
.srv-bullet-icon svg {
  font-size: 13px;
  width: 13px;
  height: 13px;
  color: #4e9e6e;
  fill: #4e9e6e;
}

.srv-bullet-text {
  font-size: 13px;
  font-weight: 500;
  color: #c8cfe8;
  line-height: 1.5;
}

/* ==========================================================================
   10. Card Link / Button
   ========================================================================== */

.srv-card-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: #4e6ef2;
  text-decoration: none;
  margin-top: auto;
  transition: color 0.25s ease, gap 0.25s ease;
}

.srv-card-link:hover {
  color: #7b9ff5;
  gap: 10px;
  text-decoration: none;
}

.srv-link-arrow {
  transition: transform 0.25s ease;
}

.srv-card-link:hover .srv-link-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   11. Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .srv-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .srv-main-heading {
    font-size: 38px;
  }
}

@media (max-width: 767px) {
  .srv-wrapper {
    padding: 60px 20px;
  }

  .srv-grid {
    grid-template-columns: 1fr;
  }

  .srv-main-heading {
    font-size: 30px;
  }

  .srv-section-header {
    padding-bottom: 36px;
  }

  .srv-card {
    padding: 22px 20px;
  }
}

/* ==========================================================================
   12. Accessibility
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .srv-card,
  .srv-card-link,
  .srv-link-arrow {
    transition: none !important;
    animation: none !important;
  }
}
