 html, body {
        max-width: 100%;
        overflow-x: hidden; /* Отключаем горизонтальную прокрутку */
      }

      img {
        max-width: 100%; /* Делаем изображения адаптивными */
        height: auto;
        display: block; /* Убираем лишние пробелы */
        border-radius: 1rem
      }

      .img-container {
        display: flex;
        justify-content: center; /* Центруем изображение внутри контейнера */

      }
      .navbar-nav .nav-item {
        align-self: center;
      }

      .phone-item {
        display: flex;
        align-items: center;
      }



      .phone-icon {
        margin-right: 8px;
      }

      .portfolio-item {
            cursor: pointer; /* Указатель при наведении */
        }
.navbar-brand img,
.offcanvas-title img,
img.brand-img,
img.logo-img {
  border-radius: 0 !important;
}

.scale {
    transition: 1s; /* Время эффекта */
   }
   .scale:hover {
    transform: scale(1.2); /* Увеличиваем масштаб */
   }

 .service-block {
            border: 1px solid #edeaea; /* Серый контур */
            border-radius: 5px; /* Скругленные углы */
            transition: box-shadow 0.3s; /* Плавный переход для тени */
            padding: 20px; /* Внутренний отступ */
            background-color: white; /* Фон блока */
            display: flex; /* Используем flexbox для центрирования */
            flex-direction: column; /* Выравнивание по вертикали */
            align-items: center; /* Центрирование по горизонтали */
            justify-content: center; /* Центрирование по вертикали */
            height: 100%; /* Задаем высоту для блоков */
        }

        .service-block:hover {
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Тень при наведении */
        }

        .service-block img {
            max-width: 100%; /* Адаптивные изображения */
            height: auto; /* Сохраняем пропорции */
            margin-bottom: 10px; /* Отступ между изображением и текстом */
        }

 .carousel-item img {
            max-height: 400px; /* Ограничиваем высоту изображений в слайдере портфолио */
            object-fit: cover; /* Сохраняем пропорции изображения */
        }
        .partner-logo img {
            max-width: 100%; /* Адаптивные логотипы партнеров */
        }
        .portfolio-img {
    border-radius: 15px; /* Закругление углов изображений в портфолио */
    border-radius: 1rem;
}

.review-img {
    border-radius: 0; /* Или вообще ничего, если хотите квадратные */
    border-radius: 1rem;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.divider {
    height: 1px; /* Высота полоски */
    background-color: #e3e2e1; /* Цвет футера (измените на нужный) */
    margin: 20px 0; /* Отступы сверху и снизу */
}

a {
    color: black;
    text-decoration: none; /* Убирает подчеркивание */
}

a:hover {
    color: #333; /* Темно-серый цвет при наведении */
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  animation: pulse 2s infinite;
  transition: transform 0.2s;
}
.whatsapp-float i {
  font-size: 22px;
  margin-right: 8px;
}
.whatsapp-float:hover {
  transform: scale(1.05);
  text-decoration: none;
  color: #fff;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102, 0.6); }
  70% { box-shadow: 0 0 0 20px rgba(37,211,102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102, 0); }
}

/* Hover-underline для пунктов меню */
.navbar .nav-link{
  position: relative;
  padding: .5rem 1rem;
  color: #212529;
  transition: color .25s ease;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus{
  color: #0d6efd; /* цвет как у Bootstrap primary */
}

/* Анимированная линия снизу */
.navbar .nav-link::after{
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: .25rem;          /* можно подстроить */
  height: 2px;
  background: #0d6efd;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.navbar .nav-link:hover::after,
.navbar .nav-link:focus::after{
  transform: scaleX(1);
}


/* В offcanvas сделаем кликабельную зону побольше */
.offcanvas .nav-link{
  padding: .75rem 0;
}
.offcanvas .nav-link::after{
  bottom: 0;
}


/* Карточки услуг — аккуратный вид и плавный hover */
.service-card{
  border: 0;
  border-radius: 1rem;
  background: #fff; /* на светлом фоне выглядит чище */
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.service-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(0,0,0,.08);
  background: #fcfcfd;
}
.service-title{
  color: #212529;
  transition: color .2s ease;
  line-height: 1.3;
}
.service-card:hover .service-title{ color: #0d6efd; }

/* Превью — квадрат 1:1, аккуратная подложка и легкая анимация */
.service-thumb{
  border-radius: .75rem;
  overflow: hidden;
  background: linear-gradient(180deg, #f8f9fa 0%, #f1f3f5 100%);
}
.service-img{
  object-fit: contain; /* ваши PNG-иконки целиком видны */
  width: 100%;
  height: 100%;
  padding: .5rem;      /* немного воздуха вокруг */
  transition: transform .3s ease;
}
.service-card:hover .service-img{
  transform: scale(1.05);
}

/* Адаптивные отступы у заголовков, чтобы не прыгало */
@media (min-width: 768px){
  .service-title{ font-size: 1rem; }
}
@media (max-width: 767.98px){
  .service-title{ font-size: .95rem; }
}
/* Фон секции */
.about-us-section{
  background: linear-gradient(180deg,#f8fafc 0%, #ffffff 100%);
}

/* Бейдж над заголовком */
.about-badge{
  background: rgba(13,110,253,.1);
  color: #0d6efd;
  font-weight: 600;
  padding: .5rem .75rem;
}

/* Список с чек-иконками */
.about-list li{
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  padding: .4rem 0;
  line-height: 1.5;
}
.about-list i{
  color: #0d6efd;
  flex: 0 0 auto;
  margin-top: .2rem;
}

/* Правый визуальный блок */
.about-visual{
  min-height: 260px;
  background: radial-gradient(80% 60% at 80% 10%, rgba(13,110,253,.08), transparent 60%),
              radial-gradient(60% 50% at 20% 90%, rgba(32,201,151,.08), transparent 60%),
              #f8f9fa;
}
.about-visual-fallback{
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 1.5rem;
}
.about-visual-fallback .about-logo{
  max-height: 88px;
  width: auto;
  opacity: .9;
}

/* Лёгкая адаптация */
@media (min-width: 992px){
  .about-us-section h2{ font-size: 2rem; }
}
@media (max-width: 991.98px){
  .about-us-section .lead{ font-size: 1.05rem; }
}
/* === Portfolio: без бордера и без hover-эффектов === */
.portfolio-card{
  border: 0 !important;        /* убрали чёрную рамку */
  box-shadow: none !important;  /* без тени по умолчанию */
  transform: none !important;
  border-radius: .75rem;        /* оставим скругление, если нужно */
  cursor: pointer;
}

/* Герой секции */
.service-hero{
  background: linear-gradient(180deg,#f8fafc 0%, #ffffff 100%);
}

/* Витрина: карточки без бордера и без hover-эффектов */
.showcase-card{
  border: 0;
  padding: 0;
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: none;
  cursor: pointer;
}
.showcase-img{
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Модалки — скругление и чистый вид */
.work-modal .modal-content{
  border-radius: 1rem;
  overflow: hidden;
  border: 0;
}
.work-modal .modal-header{
  border: 0;
  padding: 1rem 1rem 0 1rem;
}
.work-modal .modal-body{ padding: 0; }

.gallery-card{display:block;border:0;padding:0;background:#fff;border-radius:1rem;overflow:hidden;box-shadow:none}
.gallery-img{width:100%;height:100%;object-fit:cover;display:block}