/* coaching-feature-section */
.coaching-feature-section {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 80px 0 !important;
  box-sizing: border-box !important;
}

.coaching-feature-container {
  position: relative !important;
  width: 100% !important;
  max-width: 420px !important; /* using the custom width calibrated by you */
  margin: 0 auto !important;
}

.coaching-main-image {
  width: 100% !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08) !important;
  aspect-ratio: 1 / 1 !important; /* keeps the image perfectly square */
}

.coaching-main-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Feature Pill - iOS Notification style */
.coaching-feature-pill {
  position: absolute !important;
  z-index: 10 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  padding: 14px 18px !important;
  border-radius: 18px !important;
  
  /* Premium Glassmorphism */
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(15px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(15px) saturate(190%) !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 
              0 1px 2px rgba(0, 0, 0, 0.04), 
              inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
              
  color: #1c1c1e !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  width: 270px !important;
  height: auto !important;
  box-sizing: border-box !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  cursor: pointer !important;
}

.coaching-pill-icon {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 10px !important;
  flex-shrink: 0 !important;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.05) !important;
}

.coaching-pill-icon svg {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  display: block !important;
}

.coaching-pill-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  flex-grow: 1 !important;
  text-align: left !important;
  align-items: flex-start !important;
}

.coaching-pill-title {
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: -0.2px !important;
  color: #1c1c1e !important;
  line-height: 1.2 !important;
}

.coaching-pill-subtitle {
  font-size: 11px !important;
  color: #8e8e93 !important; /* iOS subtext color */
  font-weight: 400 !important;
  line-height: 1.2 !important;
}

.coaching-feature-pill .coaching-pulse {
  position: absolute !important;
  inset: 0 !important;
  border-radius: inherit !important;
  background: rgba(255, 255, 255, 0.4) !important;
  z-index: -1 !important;
  opacity: 0 !important;
  transform: scale(1) !important;
  pointer-events: none !important;
}

/* Positioning pills relative to the image container */
.coaching-feature-pill.pill-1 {
  right: 220px !important;
  top: 50px !important;
  left: auto !important;
  bottom: auto !important;
}

.coaching-feature-pill.pill-2 {
  right: -93px !important;
  bottom: 25% !important;
  left: auto !important;
  top: auto !important;
}

.coaching-feature-pill.pill-3 {
  left: -25px !important;
  bottom: -5% !important;
  right: auto !important;
  top: auto !important;
}

/* Hover effect */
.coaching-feature-pill:hover {
  transform: translateY(-4px) scale(1.02) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12), 
              0 3px 6px rgba(0, 0, 0, 0.06) !important;
}

/* Responsive adjustments for tablet and mobile */
@media (max-width: 1024px) {
  .coaching-feature-section {
    padding: 40px 15px !important;
  }
  
  .coaching-feature-container {
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }
  
  .coaching-main-image {
    max-width: 420px !important;
    margin: 0 auto !important;
    aspect-ratio: 1 / 1 !important;
  }
  
  .coaching-feature-pill {
    position: static !important;
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
  }
}
