/* ! Popup partners styling */

.cursor-pointer {
  cursor: pointer;
}

.feature-img-2 {
  margin-bottom: 20px;
  background-color: white;
  overflow: hidden;
  border-radius: 8px;
}

.feature-img-2 img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
  display: block;
}

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

/* Popup Styles */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  overflow-y: auto;
}

.popup-content {
  position: relative;
  top: 20%;
  background-color: #fff;
  width: 80%;
  max-width: 800px;
  margin: 50px auto;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  animation: popup-open 0.3s ease-out;
}

@keyframes popup-open {
  from {
    transform: scale(0.7);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.popup-header h5 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
}

.close-popup {
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #666;
  transition: color 0.3s;
  line-height: 1;
}

.close-popup:hover {
  color: #000;
}

.popup-body {
  text-align: center;
}

.popup-image {
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 4px;
}

#popupSubtitle {
  margin: 20px 0;

  color: #444;
}

#popupText {
  text-align: left;
  line-height: 1.6;
  color: #666;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .popup-content {
    width: 95%;
    margin: 20px auto;
    padding: 15px;
  }

  .popup-header h5 {
    font-size: 1.2rem;
  }

  .row-cols-md-3 {
    margin: 0 -10px;
  }

  .col {
    padding: 0 10px;
  }
}
