

.slider-nav {
  display: flex;
  gap: 22px;

}

.slider-nav button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  color: #2563eb;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-nav button:hover {
  background-color: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.partner-card {
  position: relative;
  background-color: #f9fafb;
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  margin: 0 15px;
  height: 220px;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
}

.partner-card img {
  max-width: 150px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.partner-card p {
  font-size: 14px;
  color: #6b7080;
  line-height: 1.6;
}

.card-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0; 
  transition: opacity 0.3s ease;
  color: black;
}

.partner-card:hover .card-hover-overlay {
  opacity: 1; 
}

.partner-card:hover img {
  transform: scale(1.05);
}

.slick-prev,
.slick-next {
  display: none !important;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 41, 59, 0.8);
  display: none; 
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 20px;
  line-height: 30px;
  cursor: pointer;
  color: #64748b;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: #e2e8f0;
  transform: rotate(90deg);
}

.modal-logo {
  max-width: 200px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 24px;
}

.modal-details {
  font-size: 16px;
  line-height: 1.7;
  color: #475569;
}

/* Mobile Responsiveness for Partners Section */
@media (max-width: 768px) {
  .partner-card {
    height: 180px;
    padding: 20px;
    margin: 0 10px;
  }
  
  .partner-card img {
    max-width: 120px;
    height: 40px;
  }
  
  .partner-card p {
    font-size: 13px;
  }
  
  .modal-content {
    padding: 30px 20px;
    margin: 0 10px;
  }
  
  .modal-logo {
    max-width: 150px;
    height: 50px;
    margin-bottom: 20px;
  }
  
  .modal-details {
    font-size: 15px;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .partner-card {
    height: 160px;
    padding: 15px;
    margin: 0 8px;
  }
  
  .partner-card img {
    max-width: 100px;
    height: 35px;
  }
  
  .partner-card p {
    font-size: 12px;
    line-height: 1.4;
  }
  
  .modal-content {
    padding: 25px 15px;
    margin: 0 5px;
  }
  
  .modal-logo {
    max-width: 120px;
    height: 40px;
    margin-bottom: 15px;
  }
  
  .modal-details {
    font-size: 14px;
    line-height: 1.5;
  }
  
  .modal-close-btn {
    width: 25px;
    height: 25px;
    font-size: 16px;
    top: 10px;
    right: 10px;
  }
}

@media (max-width: 360px) {
  .partner-card {
    height: 150px;
    padding: 12px;
    margin: 0 5px;
  }
  
  .partner-card img {
    max-width: 80px;
    height: 30px;
  }
  
  .partner-card p {
    font-size: 11px;
    line-height: 1.3;
  }
}