/**
 * why-us.css
 * Styling definitions for the Why Choose Us section.
 * Used on the Home Page and Services Hub.
 *
 * @package Srushti_Theme
 */

.why-card {
  padding: var(--space-8);
  height: 100%;
}

.why-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.why-num {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-brand-red);
  line-height: 1;
}

.why-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0;
}

.why-desc {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* Why Choose Us Split Screen Image Wrapper */
.why-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-tech);
  background: var(--color-surface-2);
  padding: 0;
  box-shadow: 0 24px 48px rgba(10, 10, 15, 0.05);
  overflow: hidden;
  height: 100%;
  display: flex;
}

.why-img-element {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
  filter: brightness(0.9) contrast(1.02);
  transition: transform 0.6s var(--ease-out);
}

.why-image-wrap:hover .why-img-element {
  transform: scale(1.04);
}

/* Glassmorphic floating badge */
.why-image-badge {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  right: var(--space-6);
  background: rgba(10, 10, 15, 0.82);
  backdrop-filter: var(--blur-md);
  -webkit-backdrop-filter: var(--blur-md);
  border: 1px solid var(--color-border-tech);
  border-left: 3px solid var(--color-brand-red);
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  z-index: 3;
}

.why-image-badge .badge-number {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--color-brand-red-bright);
  line-height: 1;
}

.why-image-badge .badge-text {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3;
}