/* ==================================================================
   КНОПКИ
   ================================================================== */
.btn {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  border-radius: var(--bs-border-radius);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--bs-box-shadow-sm);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--dark-blue);
  border-color: var(--dark-blue);
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
}

/* Цветовые варианты кнопок */
.btn-purple {
  background-color: #6f42c1 !important;
  border-color: #6f42c1 !important;
  color: white !important;
}

.btn-purple:hover {
  background-color: #5a32a3 !important;
  border-color: #5a32a3 !important;
}

.btn-outline-purple {
  color: #6f42c1 !important;
  border-color: #6f42c1 !important;
}

.btn-outline-purple:hover {
  background-color: #6f42c1 !important;
  color: white !important;
}

/* ==================================================================
   КАРТОЧКИ (ОБЩИЕ)
   ================================================================== */
.card {
  border-radius: var(--bs-border-radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.125);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: var(--bs-box-shadow);
}

.capability-card {
  transition: all 0.3s ease;
  border-radius: 12px;
}

.capability-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.capability-icon {
  transition: all 0.3s ease;
}

.capability-card:hover .capability-icon {
  transform: scale(1.1);
}

.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
}

/* ==================================================================
   СЛУЖЕБНЫЕ КАРТОЧКИ
   ================================================================== */
.service-card {
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: white;
  border: 1px solid #e9ecef;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
  border-color: rgba(13, 110, 253, 0.2);
}

.service-card .card-body {
  transition: all 0.3s;
}

.service-card:hover .card-body {
  padding-top: 2rem;
}

.service-icon {
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

/* ==================================================================
   ЦВЕТОВЫЕ КЛАССЫ (ОСНОВНЫЕ)
   ================================================================== */
/* Текстовые цвета */
.text-purple {
  color: #6f42c1 !important;
}

.text-blue {
  color: #0d6efd !important;
}

.text-orange {
  color: #fd7e14 !important;
}

.text-red {
  color: #dc3545 !important;
}

/* Фоновые цвета */
.bg-purple {
  background-color: #6f42c1 !important;
}

.bg-purple.bg-opacity-10 {
  background-color: rgba(111, 66, 193, 0.1) !important;
}

.bg-blue {
  background-color: #0d6efd !important;
}

.bg-blue.bg-opacity-10 {
  background-color: rgba(13, 110, 253, 0.1) !important;
}

.bg-orange {
  background-color: #fd7e14 !important;
}

.bg-orange.bg-opacity-10 {
  background-color: rgba(253, 126, 20, 0.1) !important;
}

.bg-red {
  background-color: #dc3545 !important;
}

.bg-red.bg-opacity-10 {
  background-color: rgba(220, 53, 69, 0.1) !important;
}

/* Фоновые градиенты */
.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #1d8ce0 100%) !important;
}

.bg-gradient-secondary {
  background: linear-gradient(135deg, var(--secondary) 0%, #0dcaf0 100%) !important;
}

.bg-gradient-success {
  background: linear-gradient(135deg, var(--success) 0%, #198754 100%) !important;
}

.bg-gradient-danger {
  background: linear-gradient(135deg, var(--danger) 0%, #c82333 100%) !important;
}

.bg-gradient-warning {
  background: linear-gradient(135deg, var(--warning) 0%, #ffc107 100%) !important;
}

.bg-gradient-info {
  background: linear-gradient(135deg, var(--info) 0%, #0dcaf0 100%) !important;
}

/* Прозрачные фоны */
.bg-success-light {
  background-color: rgba(25, 135, 84, 0.1) !important;
}

.bg-danger-light {
  background-color: rgba(220, 53, 69, 0.1) !important;
}

.bg-warning-light {
  background-color: rgba(255, 193, 7, 0.1) !important;
}

.bg-info-light {
  background-color: rgba(13, 202, 240, 0.1) !important;
}

.bg-primary-light {
  background-color: rgba(13, 110, 253, 0.1) !important;
}

/* ==================================================================
   ИКОНКИ (Bootstrap Icons)
   ================================================================== */
.bi {
  display: inline-block;
  vertical-align: -0.125em;
  line-height: 1;
  font-size: 1rem;
}

/* Размеры иконок */
.bi-xs { font-size: 0.75rem; }
.bi-sm { font-size: 0.875rem; }
.bi-lg { font-size: 1.25rem; }
.bi-xl { font-size: 1.5rem; }
.bi-2x { font-size: 2rem; }
.bi-3x { font-size: 3rem; }
.bi-4x { font-size: 4rem; }
.bi-5x { font-size: 5rem; }

/* Цвета иконок */
.bi-primary { color: var(--bs-primary); }
.bi-secondary { color: var(--bs-secondary); }
.bi-success { color: var(--bs-success); }
.bi-danger { color: var(--bs-danger); }
.bi-warning { color: var(--bs-warning); }
.bi-info { color: var(--bs-info); }
.bi-light { color: var(--bs-light); }
.bi-dark { color: var(--bs-dark); }
.bi-white { color: white; }

/* Обертки для иконок */
.icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
}

/* Иконки в кнопках */
.btn .bi {
  margin-right: 0.5rem;
  transition: transform 0.3s ease;
}

.btn:hover .bi {
  transform: translateX(3px);
}

.btn-icon-only .bi {
  margin-right: 0;
}

/* Иконки в навигации */
.nav-link .bi {
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

.dropdown-item .bi {
  margin-right: 0.75rem;
  width: 1.25rem;
  text-align: center;
}

/* Иконки в карточках */
.card-title .bi {
  margin-right: 0.75rem;
  color: var(--bs-primary);
}

/* Списки с иконками */
.icon-list {
  list-style: none;
  padding-left: 0;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.icon-list li .bi {
  margin-right: 0.75rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
  color: var(--bs-primary);
}

/* Иконки в формах */
.form-label .bi {
  margin-right: 0.5rem;
  color: var(--bs-primary);
}

.input-group .bi {
  color: var(--bs-gray);
  font-size: 1.1rem;
}

/* Декоративные иконки */
.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: rgba(var(--bs-primary-rgb), 0.1);
  color: var(--bs-primary);
  font-size: 1.5rem;
}

.icon-circle.icon-circle-lg {
  width: 4rem;
  height: 4rem;
  font-size: 2rem;
}

.icon-circle.icon-circle-sm {
  width: 2rem;
  height: 2rem;
  font-size: 1rem;
}

/* Социальные иконки */
.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons .bi {
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.social-icons .bi:hover {
  transform: translateY(-3px);
}

.social-icons .bi-facebook:hover { color: #1877f2; }
.social-icons .bi-twitter:hover { color: #1da1f2; }
.social-icons .bi-instagram:hover { color: #e4405f; }
.social-icons .bi-youtube:hover { color: #ff0000; }
.social-icons .bi-linkedin:hover { color: #0a66c2; }
.social-icons .bi-telegram:hover { color: #0088cc; }
.social-icons .bi-vk:hover { color: #4c75a3; }
.social-icons .bi-whatsapp:hover { color: #25d366; }

/* Адаптивность иконок */
@media (max-width: 768px) {
  .bi-lg { font-size: 1.125rem; }
  .bi-xl { font-size: 1.25rem; }
  .bi-2x { font-size: 1.5rem; }
  
  .icon-circle {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.25rem;
  }
  
  .icon-circle.icon-circle-lg {
    width: 3rem;
    height: 3rem;
    font-size: 1.5rem;
  }
}

/* ==================================================================
   СПЕЦИАЛЬНЫЕ ИКОНКИ ДЛЯ СТАТИСТИКИ
   ================================================================== */
/* Черные иконки */
.stats-icon-black {
  background-color: rgba(0, 0, 0, 0.05) !important;
  color: #212529 !important;
}

.stats-icon-black .stats-value {
  color: #212529 !important;
}

/* Синие иконки */
.stats-icon-blue {
  background-color: rgba(13, 110, 253, 0.1) !important;
  color: #0d6efd !important;
}

.stats-icon-blue .stats-value {
  color: #0d6efd !important;
}

/* Зеленые иконки */
.stats-icon-green {
  background-color: rgba(25, 135, 84, 0.1) !important;
  color: #198754 !important;
}

.stats-icon-green .stats-value {
  color: #198754 !important;
}

/* Фиолетовые иконки */
.stats-icon-purple {
  background-color: rgba(111, 66, 193, 0.1) !important;
  color: #6f42c1 !important;
}

.stats-icon-purple .stats-value {
  color: #6f42c1 !important;
}

/* Красные иконки */
.stats-icon-red {
  background-color: rgba(220, 53, 69, 0.1) !important;
  color: #dc3545 !important;
}

.stats-icon-red .stats-value {
  color: #dc3545 !important;
}

/* Оранжевые иконки */
.stats-icon-orange {
  background-color: rgba(253, 126, 20, 0.1) !important;
  color: #fd7e14 !important;
}

.stats-icon-orange .stats-value {
  color: #fd7e14 !important;
}

/* Желтые иконки */
.stats-icon-yellow {
  background-color: rgba(255, 193, 7, 0.1) !important;
  color: #ffc107 !important;
}

.stats-icon-yellow .stats-value {
  color: #ffc107 !important;
}

/* Голубые иконки */
.stats-icon-info {
  background-color: rgba(13, 202, 240, 0.1) !important;
  color: #0dcaf0 !important;
}

.stats-icon-info .stats-value {
  color: #0dcaf0 !important;
}

/* Серые иконки */
.stats-icon-gray {
  background-color: rgba(108, 117, 125, 0.1) !important;
  color: #6c757d !important;
}

.stats-icon-gray .stats-value {
  color: #6c757d !important;
}

/* Белые иконки */
.stats-icon-white {
  background-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

.stats-icon-white .stats-value {
  color: #ffffff !important;
}

/* Розовые иконки */
.stats-icon-pink {
  background-color: rgba(214, 51, 132, 0.1) !important;
  color: #d63384 !important;
}

.stats-icon-pink .stats-value {
  color: #d63384 !important;
}

/* Индиго иконки */
.stats-icon-indigo {
  background-color: rgba(102, 16, 242, 0.1) !important;
  color: #6610f2 !important;
}

.stats-icon-indigo .stats-value {
  color: #6610f2 !important;
}

/* ==================================================================
   ИКОНКИ ДЛЯ FEATURE ITEM
   ================================================================== */
.feature-icon-blue {
  background-color: rgba(13, 110, 253, 0.1) !important;
  color: #0d6efd !important;
}

.feature-icon-green {
  background-color: rgba(25, 135, 84, 0.1) !important;
  color: #198754 !important;
}

.feature-icon-purple {
  background-color: rgba(111, 66, 193, 0.1) !important;
  color: #6f42c1 !important;
}

.feature-icon-red {
  background-color: rgba(220, 53, 69, 0.1) !important;
  color: #dc3545 !important;
}

.feature-icon-orange {
  background-color: rgba(253, 126, 20, 0.1) !important;
  color: #fd7e14 !important;
}

.feature-icon-info {
  background-color: rgba(13, 202, 240, 0.1) !important;
  color: #0dcaf0 !important;
}

.feature-icon-yellow {
  background-color: rgba(255, 193, 7, 0.1) !important;
  color: #ffc107 !important;
}