.part_footer {
  background-color: #161616;
  color: #ffffff;
  padding: 60px 0 40px;
  font-size: 14px;
  overflow: hidden;
}

.part_footer_container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 20px;
}

.part_footer_section {
  flex: 1;
  min-width: 200px;
  margin-bottom: 30px;
}

.part_footer_section:last-child {
  margin-right: 0;
}

.part_footer_title {
  font-weight: bold;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.part_footer_list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.part_footer_list_item {
  margin-bottom: 10px;
}

.part_footer_list_item a {
  text-decoration: none;
  transition: color 0.3s ease;
  color: #b7b7b7;
  font-size: 1.6rem;
  line-height: 2.1rem;
  font-weight: var(--main-font-weight);
}

.part_footer_list_item a:hover {
  color: #cccccc;
}

.part_footer_contact_info {
  margin-bottom: 10px;
}

.part_footer_social_icons {
  margin-top: 30px;
  display: flex;
  gap: 20px;
}

.part_footer_social_icon {
  color: #ffffff;
  font-size: 20px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.part_footer_social_icon:hover {
  color: #cccccc;
}

.part_footer_bottom {
  border-top: 1px solid #333333;
  padding-top: 20px;
  margin-top: 40px;
  text-align: center;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
  background-color: #282828;
  margin: 10% auto;
  padding: 30px;
  border: 1px solid #555;
  width: 90%;
  max-width: 800px;
  border-radius: 8px;
  position: relative;
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease-out;
  max-height: 80vh;
  overflow-y: auto; 
}

.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: transparent; 
}

.modal-content::-webkit-scrollbar-thumb {
  background-color: #2d7dc3; 
  border-radius: 10px;
}

.modal-content {
  scrollbar-color: #2d7dc3 transparent; 
  scrollbar-width: thin;
}

.modal-content h2 {
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 28px;
  border-bottom: 1px solid #444;
  padding-bottom: 15px;
}

.modal-content p {
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 15px;
  font-size: 16px;
}

.modal-content strong {
  color: #ffffff;
  font-weight: 600;
}

.close-button {
  color: #aaa;
  font-size: 30px;
  font-weight: bold;
  position: absolute;
  right: 20px;
  top: 15px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
  color: #fff;
  text-decoration: none;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 768px) {
  .part_footer_container {
    flex-direction: column;
  }

  .part_footer_section {
    margin-bottom: 30px;
  }

  .modal-content {
    margin: 20% auto;
    width: 95%;
    padding: 20px;
    max-height: 70vh;
  }

  .modal-content h2 {
    font-size: 24px;
  }

  .modal-content p {
    font-size: 14px;
  }
}