* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  min-height: 100%;
}

body {
  background: #111111;
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
}

.partners-section {
  width: 100%;
  padding: 5rem 0;
  background: #111111;
  overflow: hidden;
}

.partners-section h1 {
  width: 100%;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.flags-container {
  position: relative;
  width: 100%;
  height: 120px;
  overflow: hidden;
}

.flags-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  height: 100%;
  will-change: transform;
}

.flag-wrapper {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.flag-img {
  display: block;
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
  user-select: none;
  pointer-events: none;
}

@media (max-width: 768px) {
  .partners-section {
    padding: 4rem 0;
  }

  .partners-section h1 {
    font-size: 1.6rem;
    margin-bottom: 3rem;
  }

  .flags-container {
    height: 100px;
  }

  .flag-img {
    width: 100px;
    height: 66px;
  }
}

@media (max-width: 480px) {
  .partners-section {
    padding: 3rem 0;
  }

  .partners-section h1 {
    font-size: 1.3rem;
    margin-bottom: 2rem;
  }

  .flags-container {
    height: 80px;
  }

  .flag-img {
    width: 88px;
    height: 58px;
  }
}

@media (max-width: 360px) {
  .partners-section h1 {
    font-size: 1.1rem;
    letter-spacing: 0.05em;
  }

  .flags-container {
    height: 70px;
  }

  .flag-img {
    width: 78px;
    height: 52px;
  }
}