/* ===== PARTNERS CAROUSEL FIX ===== */

.partners-section {
  background: #ffffff;
  padding: 30px 0;
  overflow: hidden;
}

/* Header */
.partners-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: 40px;
}

.partners-header h2 {
  font-size: 22px;
  font-style: italic;
}

/* Carousel */
.partners-carousel {
  width: 100%;
  overflow: hidden;
  margin-top: 25px;
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: partners-move 40s linear infinite;
}

/* Stop wrap absolutely */
.partners-track,
.partner-item {
  flex-wrap: nowrap !important;
}

/* Item */
.partner-item {
  flex: 0 0 auto;
}

.partner-item img {
  height: 80px;
  width: auto;
  max-width: none;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.partner-item img:hover {
  transform: scale(1.15);
}

/* Animation */
@keyframes partners-move {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* ================================
   Header Top - Лого, Ном, Суроға ва Алоқа
   Файли base.css
=================================*/

/* Контейнер асосӣ */
.d-flex.align-items-center.mb-2.mb-lg-0 {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px !important;
}

/* Лого ва номи институт */
.logo-img {
    width: 60px;
    height: auto;
    border-radius: 5px; /* Сабуки кунҷҳо */
    transition: transform 0.3s;
}

.logo-img:hover {
    transform: scale(1.05);
}

.institute-title {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 600;
    margin: 0;
}

.institute-title a {
    text-decoration: none;
    color: #0d1b2a;
    transition: color 0.3s;
}

.institute-title a:hover {
    color: #007bff;
}

/* Суроға */
.address-block {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
}

.address-block i {
    color: #007bff;
}

/* Телефон ва Email */
.contact-block {
    display: flex;
    flex-direction: column;
    text-align: right;
    gap: 5px;
    font-size: 14px;
    color: #333;
}

.contact-block i {
    color: #007bff;
}

/* Flex барои дохилӣ (элементҳои алоҳида) */
.contact-block .d-flex,
.address-block .d-flex {
    align-items: center;
    gap: 5px;
}

/* Мобилӣ - экранҳои хурдтар аз 768px */
@media (max-width: 767px) {
    .d-flex.align-items-center.mb-2.mb-lg-0 {
        flex-direction: column !important;
        align-items: flex-start;
        text-align: left;
        gap: 10px;
    }

    .contact-block {
        text-align: left;
    }

    .institute-title {
        font-size: 14px;
    }

    .logo-img {
        width: 50px;
    }

    .address-block {
        font-size: 13px;
    }
}
.partners-section {
    background: #f8f9fa;
    padding: 50px 0 30px;
}

.partners-header img {
    max-height: 50px;
}

.partners-track {
    display: flex;
    gap: 60px;               /* расстояние между логотипами */
    animation: scroll 30s linear infinite;  /* если хотите анимацию */
}

.partner-item img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s;
}

.partner-item img:hover {
    transform: scale(1.15);
}

/* Бесконечный скролл (опционально) */
@keyframes scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }   /* половина, т.к. дубликаты */
}
