/* Academia Partnerships Page - extends sponsorship page styles
 * AIDEV-NOTE: academia-styles; uses same color scheme as sponsorship page
 */

/* Page-level class for academia-specific styles */
.academia-page {
  background-color: #ffffff;
  color: var(--psn-slate);
}

/* Academic Partners Logo Section */
.academia-page .academic-partners {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  overflow: hidden;
  position: relative;
}

.academia-page .academic-partners::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 95, 191, 0.1) 50%, transparent);
}

.academia-page .academic-partners .section-heading {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

/* Academic partner logo items */
.academia-page .partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 100px;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.academia-page .partner-logo-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 95, 191, 0.15);
}

.academia-page .partner-logo {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Products section - 2 column layout for academia */
.academia-page .products-services .row {
  justify-content: center;
}

/* AIDEV-NOTE: testimonial-image; uses object-fit:contain + fixed height to uniformly handle wide/square logos */
.academia-page .testimonial-logo-wrapper {
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
  height: 90px;
  max-width: 220px;
  margin-left: auto;
  margin-right: auto;
}

.academia-page .testimonial-image {
  width: 100%;
  height: 100%;
  max-width: 220px;
  max-height: 90px;
  object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .academia-page .partner-logo-item {
    width: 160px;
    height: 80px;
  }
}
