.img-fluid{max-width:100%;height:auto;}      /* 
/* Кастомные стили */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.navbar {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

section {
    padding: 60px 0;
}

h1, h2, h3, h4 {
    margin-bottom: 20px;
    font-weight: 600;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

blockquote {
    border-left: 4px solid #007bff;
}

footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.footer-dzen-link {
  color: #fff;                   
  text-decoration: underline;    
  transition: color .2s;
}
.footer-dzen-link:hover {
  color: #ccc;                   
}

.footer-telegram-link {
  color: #fff;
  text-decoration: underline;
  transition: color .2s;
}
.footer-telegram-link:hover {
  color: #ccc;
}

/* --- Исправленные стили для плавающих иконок --- */

.floating-icons {
  /* --- Принудительное позиционирование справа --- */
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  left: auto !important;
  
  /* --- Внешний вид --- */
  display: flex !important;
  flex-direction: row !important;
  gap: 15px !important;
  z-index: 1000 !important;
  
  /* --- Сброс возможных конфликтов --- */
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  
  /* --- Дополнительная защита от Bootstrap --- */
  float: none !important;
  clear: none !important;
  top: auto !important;
}

.floating-icons .icon-link {
  display: inline-block !important;
  transition: transform 0.3s ease;
  margin: 0 !important;
  padding: 0 !important;
}

.floating-icons .icon-link img {
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25));
  transition: filter 0.3s ease;
  display: block !important;
  width: 40px !important;
  height: 40px !important;
}

.floating-icons .icon-link:hover {
  transform: translateY(-5px) !important;
}

.floating-icons .icon-link:hover img {
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
}

/* --- Мобильная версия --- */
@media (max-width: 768px) {
  .floating-icons {
    flex-direction: column !important;
    bottom: 15px !important;
    right: 15px !important;
    gap: 10px !important;
  }
}


/* --- Стили для блока "Обо мне" --- */

/* Ограничиваем ширину карусели с дипломами */
#carouselExample {
  max-width: 500px; /* Можете изменить это значение, если хотите сделать еще меньше или чуть больше */
  margin: 0 auto;   /* Автоматические отступы слева и справа для центрирования */
}

/* Добавляем небольшой отступ сверху для карусели */
#about .carousel {
    margin-top: 20px;
}
/* --- Стили для текста отзывов --- */

.blockquote p {
  font-size: 0.9rem;   /* Уменьшаем размер шрифта */
  font-style: italic;  /* Делаем текст курсивным */
}
