/* Styles specific to partners.html */

.partners-container {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  animation: fadeIn 0.8s ease-out;
  text-align: center;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-header {
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 20px;
  padding: 3rem 2rem;
  margin-bottom: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.page-header h1 {
  font-size: 2.5rem;
  margin: 0 0 0.75rem;
  color: #f8fafc;
  letter-spacing: -0.02em;
}

.page-header p {
  margin: 0;
  color: #94a3b8;
  font-size: 1.1rem;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 300px));
  justify-content: center;
  gap: 2.5rem;
  margin-top: 3rem;
}

.partner-card {
  background: linear-gradient(145deg, #1e293b, #0f172a);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, border-color 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.partner-card:hover {
  transform: translateY(-8px);
  border-color: #3b82f6;
}

.partner-card h3 {
  margin: 1rem 0 0.5rem;
  color: #f8fafc;
  font-size: 1.3rem;
}

.partner-card p {
  color: #94a3b8;
  line-height: 1.5;
  font-size: 0.9rem;
}

.partner-card img {
  width: 100%;
  max-width: 120px;
  margin-bottom: 0.5rem;
}

.btn-group {
  display: flex;
  gap: 10px;
  margin-top: 1.2rem;
}

.btn {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: #3b82f6;
  color: white;
  border: none;
}

.btn-primary:hover {
  background: #2563eb;
}

.btn-secondary {
  background: transparent;
  color: #f8fafc;
  border: 1px solid #475569;
}

.btn-secondary:hover {
  background: #334155;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.modal-content {
  background: #1e293b;
  padding: 2.5rem;
  border-radius: 16px;
  max-width: 600px;
  border: 1px solid #3b82f6;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.modal-content p {
  text-align: center;
  line-height: 1.6;
}
