﻿/* Higher Ed Specific Styles */

/* Hero Section - Uses unified hero variables from styles.css */
.higher-ed-hero {
  position: relative;
  min-height: var(--hero-min-height);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: url('https://pub-dcb79d88e2ec4567824453cc853f55f3.r2.dev/images/heroes/higher-ed-hero.jpg') center 25%/cover no-repeat;
  padding: var(--hero-padding-top) 0 var(--hero-padding-bottom);
}

.higher-ed-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.25) 50%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 2;
}

.higher-ed-hero-container {
  position: relative;
  z-index: 3;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  max-height: 30vh;
}

.hero-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: flex-start;
  justify-items: start;
  width: 100%;
  max-width: 1200px;
}

.hero-text-section {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: var(--space-2xl) var(--space-xl);
  text-align: left;
  width: 100%;
  align-items: end;
  margin-top: -75px;
}

.higher-ed-hero-title {
  font-size: clamp(28px, 4.8vw, 56px);
  line-height: 1.1;
  margin: 0;
  font-weight: 800;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  text-align: left;
  max-width: 700px;
  grid-column: 1 / -1;
  grid-row: 1;
}

.title-highlight {
  position: relative;
  display: inline-block;
}

.title-highlight::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -15px;
  height: 20px;
  background-image: url('https://pub-dcb79d88e2ec4567824453cc853f55f3.r2.dev/images/icons/pen-underline.svg');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  transform: translateY(100%) translateX(-15%) scaleX(30) scaleY(30) rotate(5deg);
  background-position: center bottom;
  opacity: 0.9;
  z-index: 1;
}

/* Responsive adjustments for the pen underline */
@media (max-width: 768px) {
  .title-highlight::after {
    bottom: -12px;
    height: 16px;
    transform: translateY(80%) translateX(-13%) scaleX(20) scaleY(25) rotate(4deg);
  }
}

@media (max-width: 768px) {
  /* Unified section spacing for Higher Ed mobile */
  .program-options,
  .partnerships-institutions,
  .success-stories-section,
  .implementation-section {
    padding-top: var(--space-3xl) !important;
    padding-bottom: var(--space-3xl) !important;
  }
  
  .cta-section {
    padding-top: var(--space-4xl) !important;
    padding-bottom: var(--space-3xl) !important;
  }
}

@media (max-width: 480px) {
  /* Unified section spacing for Higher Ed small mobile */
  .program-options,
  .partnerships-institutions,
  .success-stories-section,
  .implementation-section {
    padding-top: var(--space-2xl) !important;
    padding-bottom: var(--space-2xl) !important;
  }
  
  .cta-section {
    padding-top: var(--space-4xl) !important;
    padding-bottom: var(--space-2xl) !important;
  }
}

.higher-ed-hero-subtitle {
  font-size: var(--text-xl);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 400;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  max-width: 580px;
  text-align: left;
  grid-column: 1;
  grid-row: 2;
  padding-top: 20px;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: flex-start;
  flex-wrap: wrap;
  align-self: end;
  margin-top: 0;
  grid-column: 1;
  grid-row: 2;
  justify-self: end;
  margin-left: var(--space-xl);
  margin-right: -600px;
}

/* How We Work Section */
.how-we-work {
  background: white;
  padding: var(--space-4xl) 0;
  position: relative;
}

.how-we-work::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(180deg, 
    var(--surface-primary) 0%, 
    rgba(250, 249, 246, 0.6) 40%,
    transparent 100%
  );
  pointer-events: none;
}

.how-we-work-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.differentiators-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.differentiator-card {
  background: white;
  border-radius: var(--border-radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 1px solid var(--border-subtle);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.differentiator-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.differentiator-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.differentiator-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
}

.differentiator-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-md);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.3;
}

.differentiator-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  font-size: var(--text-base);
}

/* Partnerships in Action Section */
.partnerships-action {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(250, 249, 246, 0.95) 50%,
    rgba(245, 244, 241, 0.9) 100%
  );
  padding: var(--space-5xl) 0;
  position: relative;
  overflow: hidden;
}

.partnerships-action::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(231, 48, 82, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 193, 7, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(102, 72, 64, 0.03) 0%, transparent 50%);
  z-index: 1;
}

.partnerships-action-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  position: relative;
  z-index: 2;
}

/* Success Achievements Grid */
.success-achievements {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--space-2xl);
  margin-top: var(--space-4xl);
}

/* Third card horizontal layout */
.success-achievements .achievement-card:nth-child(3) {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-2xl);
  align-items: center;
  text-align: left;
}

.success-achievements .achievement-card:nth-child(3) .achievement-icon {
  margin: 0;
  flex-shrink: 0;
}

.success-achievements .achievement-card:nth-child(3) .achievement-icons {
  justify-content: start;
  margin-left: 255px;

}

.success-achievements .achievement-card:nth-child(3) .achievement-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Achievement Images */
.achievement-image {
  position: absolute;
  z-index: 2;
}

.achievement-image img {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  object-fit: cover;
  transition: all var(--transition-normal);
}

/* Full-width top positioned images for vertical cards */
.achievement-image-full-top {
  top: 6px; /* Position below the gradient line */
  left: 0;
  right: 0;
  z-index: 2;
}

.achievement-image-full-top img {
  width: 100%;
  height: 140px;
  border-radius: var(--border-radius-2xl) var(--border-radius-2xl) 0 0;
  border: none;
  object-fit: cover;
}

/* Top-right positioned images for vertical cards */
.achievement-image-top-right {
  top: var(--space-lg);
  right: var(--space-lg);
}

.achievement-image-top-right img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid white;
}

/* Left positioned image for horizontal card */
.achievement-image-left {
  position: relative;
  align-self: stretch;
  margin-right: var(--space-xl);
}

.achievement-image-left img {
  width: 180px;
  height: 100%;
  min-height: 300px;
}

/* Override grid layout for horizontal card with left image */
.success-achievements .achievement-card:nth-child(3) {
  grid-template-columns: auto 1fr;
  padding: 0;
}

.success-achievements .achievement-card:nth-child(3) .achievement-image-left {
  margin: 0;
  position: relative;
}

.success-achievements .achievement-card:nth-child(3) .achievement-content {
  padding: var(--space-2xl);
}

/* Hover effects */
.achievement-card:hover .achievement-image img {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* Achievement Cards */
.achievement-card {
  background: white;
  border-radius: var(--border-radius-2xl);
  padding: var(--space-2xl);
  padding-bottom: calc(var(--space-2xl) + 60px);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.achievement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-primary);
  z-index: 10;
}

.achievement-card.featured::before {
  height: 8px;
  background: var(--gradient-primary);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.achievement-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.achievement-card.featured {
  background: white;
  border: 1px solid var(--border-subtle);
}

.achievement-card.featured:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

/* Limit height of first 2 cards to reduce white space */
.success-achievements .achievement-card:nth-child(1),
.success-achievements .achievement-card:nth-child(2) {
  max-height: 480px;
}

/* Add top padding for cards with full-width top images */
.achievement-card .achievement-image-full-top ~ .achievement-content,
.success-achievements .achievement-card:first-child .achievement-content,
.success-achievements .achievement-card:nth-child(2) .achievement-content {
  padding-top: 120px; /* Account for 140px image height + spacing */
}

/* Achievement Content */
.achievement-content h3 {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.achievement-location {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--ss-accent-1);
  font-weight: 600;
  margin-bottom: var(--space-lg);
  padding: var(--space-xs) var(--space-sm);
  background: rgba(102, 72, 64, 0.1);
  border-radius: var(--border-radius-full);
  width: fit-content;
}

.achievement-description {
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 50px;
}

/* Achievement Divider & Icons */
.achievement-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--border-medium) 20%, 
    var(--border-medium) 80%, 
    transparent 100%
  );
  margin: var(--space-xl) 0 var(--space-lg) 0;
}

.achievement-icons {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  padding: var(--space-lg);
  background: white;
  border-top: 1px solid rgba(139, 154, 142, 0.15);
  border-radius: 0 0 var(--border-radius-2xl) var(--border-radius-2xl);
}

.achievement-icon-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
  transition: all var(--transition-normal);
}

.achievement-icon-item:hover {
  transform: translateY(-1px);
}

.achievement-icon-small {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  flex-shrink: 0;
  background-color: var(--ss-accent-1);
}

.achievement-icon-item:hover .achievement-icon-small {
  transform: scale(1.1);
}

.achievement-icon-item span {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.achievement-card:hover .achievement-icon-item {
  opacity: 1;
}

/* Responsive Design for Achievement Cards */
@media (max-width: 768px) {
  .success-achievements {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .success-achievements {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .higher-ed-hero {
    min-height: 70vh;
    background-size: cover;
    background-position: center center;
  }
  
  .higher-ed-hero-container {
    align-items: center;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    min-height: 50vh;
  }
  
  .hero-text-section {
    max-width: 100%;
    align-items: center;
    gap: var(--space-xl) var(--space-md);
    display: flex;
    flex-direction: column;
    margin-top: 0;
  }

  .hero-content-grid {
    min-height: 50vh;
    gap: var(--space-2xl);
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .higher-ed-hero-title {
    font-size: 40px !important;
  }
  
  .higher-ed-hero-subtitle {
    padding-top: 0;
  }
  
  .hero-actions {
    justify-content: center;
    margin-right: 0;
    margin-left: 0;
  }
  
  /* Third card - reset to vertical layout like first two cards */
  .success-achievements .achievement-card:nth-child(3) {
    display: block;
    grid-template-columns: 1fr;
    padding: var(--space-2xl);
    padding-bottom: calc(var(--space-2xl) + 60px);
    text-align: left;
  }
  
  .success-achievements .achievement-card:nth-child(3) .achievement-image-left {
    position: absolute;
    top: 6px;
    left: 0;
    right: 0;
    margin: 0;
  }
  
  .success-achievements .achievement-card:nth-child(3) .achievement-image-left img {
    width: 100%;
    height: 140px;
    min-height: 140px;
    border-radius: var(--border-radius-2xl) var(--border-radius-2xl) 0 0;
    object-fit: cover;
    object-position: center 20%;
  }
  
  .success-achievements .achievement-card:nth-child(3) .achievement-content {
    padding: 0;
    padding-top: 120px;
  }
  
  .success-achievements .achievement-card:nth-child(3) .achievement-content .achievement-description {
    margin-bottom: 50px;
  }
  
  .success-achievements .achievement-card:nth-child(3) .achievement-icons {
    margin-left: 0;
    left: 0;
    justify-content: center;
  }
  
  /* Fix icons for all cards on mobile */
  .achievement-icons {
    position: absolute;
    bottom: var(--space-lg);
    gap: var(--space-lg);
    padding: var(--space-md) var(--space-md) 0 var(--space-md);
  }
}

@media (max-width: 480px) {
  .hero-text-section {
    gap: var(--space-xl) var(--space-md);
  }
  
  .achievement-card {
    padding: var(--space-lg);
    padding-bottom: calc(var(--space-lg) + 50px);
  }
  
  .achievement-content h3 {
    font-size: var(--text-base);
  }
  
  .achievement-description {
    font-size: var(--text-sm);
  }
  
  .achievement-icons {
    flex-direction: row;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-sm) 0 var(--space-sm);
    bottom: var(--space-md);
  }
  
  .achievement-icon-item {
    flex-direction: column;
    gap: 2px;
    text-align: center;
  }
  
  .achievement-icon-small {
    width: 18px;
    height: 18px;
    font-size: 10px;
  }
  
  .achievement-icon-item span {
    font-size: 10px;
  }
  
  /* Third card adjustments for small mobile */
  .success-achievements .achievement-card:nth-child(3) {
    padding: var(--space-lg);
    padding-bottom: calc(var(--space-lg) + 50px);
  }
  
  .success-achievements .achievement-card:nth-child(3) .achievement-image-left img {
    height: 120px;
    min-height: 120px;
    object-position: center 20%;
  }
  
  .success-achievements .achievement-card:nth-child(3) .achievement-content {
    padding-top: 130px;
  }
  
  /* Reduce top image height on small mobile */
  .achievement-image-full-top img {
    height: 120px;
  }
  
  /* Adjust content padding for smaller image */
  .achievement-card .achievement-image-full-top ~ .achievement-content,
  .success-achievements .achievement-card:first-child .achievement-content,
  .success-achievements .achievement-card:nth-child(2) .achievement-content {
    padding-top: 130px;
  }
}

/* Partner Testimonials Section */
.partner-testimonials {
  position: relative;
  padding: var(--space-3xl) 0;
  background: linear-gradient(180deg, 
    var(--surface-secondary) 0%, 
    rgba(250, 249, 246, 0.8) 30%,
    transparent 100%
  );
}

.partner-testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, 
    var(--surface-secondary) 0%, 
    rgba(250, 249, 246, 0.8) 30%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

.partner-testimonials::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(245, 243, 240, 0.3) 70%,
    var(--surface-secondary) 100%
  );
  pointer-events: none;
}

.partner-testimonials-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
}

.testimonial-card {
  background: white;
  border-radius: var(--border-radius-2xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-quote {
  font-family: 'Source Serif Pro', serif;
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--text-primary);
  margin: 0 0 var(--space-2xl) 0;
  font-style: italic;
  position: relative;
  flex-grow: 1;
}

.testimonial-quote::before {
  content: '';
  font-size: 4rem;
  color: var(--ss-accent-2);
  position: absolute;
  top: -30px;
  left: -15px;
  font-family: serif;
  opacity: 0.3;
  line-height: 1;
}

.testimonial-divider {
  width: 60px;
  height: 2px;
  background: var(--gradient-primary);
  margin: var(--space-xl) 0 var(--space-lg) 0;
  border-radius: var(--border-radius-full);
}

.testimonial-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-lg);
}

.author-info {
  flex: 1;
}

.author-name {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 var(--space-xs) 0;
  line-height: 1.2;
}

.author-title {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0 0 var(--space-xs) 0;
  font-weight: 500;
  text-align: left;
}

.author-institution {
  font-size: var(--text-sm);
  color: var(--ss-accent-1);
  margin: 0;
  font-weight: 600;
  text-align: left;
}

.institution-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(102, 72, 64, 0.05);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(102, 72, 64, 0.1);
}

.institution-image {
  max-width: 50px;
  max-height: 50px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter var(--transition-normal);
}

.testimonial-card:hover .institution-image {
  filter: grayscale(0%);
}

.institution-text {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ss-accent-1);
  text-align: center;
}

/* Partnership Testimonials Carousel - Clean style matching K-12 Impact Stories */
.partner-testimonials .testimonials-carousel {
  position: relative;
  max-width: none;
  margin: 0 auto;
  overflow: hidden;
}

.partner-testimonials .testimonials-track {
  display: flex;
  gap: var(--space-lg);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 0 var(--space-lg);
}

.partner-testimonials .testimonial-case-card {
  flex: 0 0 100%;
  max-width: 1200px;
  background: white;
  border-radius: 16px;
  padding: var(--space-2xl) var(--space-2xl);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: fit-content;
  height: auto;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Content Section */
.partner-testimonials .testimonial-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  width: 100%;
}

.partner-testimonials .testimonial-quote {
  font-family: 'Source Serif Pro', serif;
  font-size: var(--text-lg);
  line-height: 1.6;
  color: #2C3E50;
  font-weight: 400;
  margin: 0 0 var(--space-xl) 0;
  font-style: italic;
  position: relative;
  background: none;
  border: none;
  padding: 0;
  text-align: center;
  max-width: 800px;
}

/* Divider line styling - centered */
.partner-testimonials .testimonial-content hr {
  width: 60px;
  height: 2px;
  background-color: var(--ss-accent-1);
  border: none;
  margin: var(--space-xl) auto var(--space-lg) auto;
}

.partner-testimonials .testimonial-content .quote-attribution {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 0;
  padding-top: 0;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.partner-testimonials .testimonial-content .quote-attribution .author-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  text-align: left;
}

.partner-testimonials .testimonial-content .quote-attribution .author-name {
  font-size: var(--text-xl);
  font-weight: 700;
  color: #2C3E50;
  margin: 0;
}

.partner-testimonials .testimonial-content .quote-attribution .author-title {
  font-size: var(--text-base);
  font-weight: 500;
  color: #64748B;
  margin: 0;
}

.partner-testimonials .testimonial-content .quote-attribution .author-institution {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ss-accent-1);
  margin: 0;
}

.partner-testimonials .testimonial-content .quote-attribution .company-logo {
  font-size: var(--text-xl);
  font-weight: 700;
  color: #2C3E50;
  opacity: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-testimonials .testimonial-content .quote-attribution .company-logo .institution-image {
  max-width: 50px;
  max-height: 50px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter var(--transition-normal);
}

.partner-testimonials .testimonial-case-card:hover .institution-image {
  filter: grayscale(0%);
}

.partner-testimonials .testimonial-content .quote-attribution .company-logo span {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--ss-accent-1);
}

/* Navigation Indicators */
.partner-testimonials .testimonials-indicators {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
  padding: var(--space-lg) 0;
  position: relative;
  z-index: 10;
}

.partner-testimonials .testimonial-dot {
  width: 50px;
  height: 4px;
  border-radius: var(--border-radius-full);
  background: var(--ss-accent-1);
  border: 1px solid rgba(102, 72, 64, 0.3);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  padding: 0;
  position: relative;
  overflow: visible;
  box-shadow: 0 3px 12px rgba(102, 72, 64, 0.3);
  z-index: 10;
}

.partner-testimonials .testimonial-dot::before {
  display: none;
}

.partner-testimonials .testimonial-dot:not(.active):hover::before {
  display: none;
} 

.partner-testimonials .testimonial-dot.active {
  background: var(--ss-red);
  transform: scaleX(1.4) scaleY(1.2);
  box-shadow: 0 4px 20px rgba(231, 48, 82, 0.5);
  border-color: var(--ss-red);
  z-index: 11;
}

.partner-testimonials .testimonial-dot:not(.active):hover {
  background: var(--ss-accent-1);
  transform: scaleX(1.1);
  box-shadow: 0 4px 16px rgba(102, 72, 64, 0.4);
}

.partner-testimonials .testimonial-dot:focus-visible {
  outline: 3px solid var(--ss-yellow);
  outline-offset: 6px;
}

/* Responsive Design for Partnership Testimonials Carousel */
@media (max-width: 768px) { 
  .testimonial-case-card {
    flex: 0 0 100%;
    padding: var(--space-lg);
    min-height: 0 !important;
    height: auto !important;
  }
  
  .partner-testimonials .testimonial-quote {
    font-size: var(--text-lg);
    margin-bottom: var(--space-md);
  }
  
  .partner-testimonials .testimonial-content hr {
    margin: var(--space-md) auto;
  }

  .success-achievements{
    margin-top: 0px;
  }
}

@media (max-width: 768px) {
  .partner-testimonials .testimonials-track {
    padding: 0 var(--space-md);
  }
  
  .partner-testimonials .testimonial-case-card {
    flex: 0 0 100%;
    padding: var(--space-xl);
  }
  
  .partner-testimonials .testimonial-quote {
    font-size: var(--text-base);
  }
  
  .partner-testimonials .testimonial-content .quote-attribution {
    flex-direction: column;
    gap: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .partner-testimonials .testimonial-case-card {
    flex: 0 0 100%;
    padding: var(--space-lg);
    min-height: 250px;
  }
  
  .partner-testimonials .testimonial-quote {
    font-size: var(--text-sm);
  }
}

/* CTA Section - Higher Ed Specific */
.cta-section {
  background: var(--surface-secondary);
  position: relative;
  overflow: hidden;
  padding: calc(var(--space-4xl) + 30px) 0 var(--space-4xl);
}


.cta-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.08;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(193, 122, 91, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 75% 75%, rgba(139, 154, 142, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 50% 10%, rgba(212, 165, 116, 0.08) 0%, transparent 30%);
  background-size: 600px 600px, 800px 800px, 400px 400px;
  pointer-events: none;
}

.cta-container {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.cta-content::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: var(--border-radius-full);
}

.cta-title {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  margin-bottom: var(--space-xl);
  color: var(--ss-accent-1);
  position: relative;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.cta-description {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-3xl);
  font-weight: 500;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-3xl);
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(139, 154, 142, 0.15);
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
  transition: all var(--transition-normal);
}

.cta-feature:hover {
  color: var(--text-secondary);
  transform: translateY(-2px);
}

.cta-feature-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--ss-accent-1) 0%, var(--ss-accent-2) 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(102, 72, 64, 0.25);
}

/* Remove floating graphics */
.cta-decorative {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .differentiators-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
  
  .partnerships-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 768px) {
  .higher-ed-hero {
    padding: 100px 0 40px;
    min-height: 70vh;
  }
  
  .higher-ed-hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
  }
  
  .hero-content-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .higher-ed-hero-title {
    font-size: 40px;
  }
  
  .higher-ed-hero-subtitle {
    font-size: clamp(14px, 2.2vw, 18px);
  }
  
  .how-we-work {
    padding: var(--space-3xl) 0;
  }
  
  .partnerships-action,
  .partner-testimonials {
    padding: var(--space-2xl) 0;
  }
  
  .cta-section {
    padding: calc(var(--space-3xl) + 30px) 0 var(--space-3xl);
  }
  
  .differentiators-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .differentiator-card {
    padding: var(--space-xl);
  }
  
  .differentiator-icon {
    width: 56px;
    height: 56px;
  }
  
  .differentiator-card h3 {
    font-size: var(--text-lg);
  }
  
  .partnerships-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .partnership-card {
    padding: 0;
  }
  
  .partnership-header {
    padding: var(--space-xl);
  }
  
  .partnership-content {
    padding: var(--space-md) var(--space-xl) var(--space-xl);
  }
  
  .partnership-highlights {
    gap: var(--space-sm);
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .testimonial-card {
    padding: var(--space-xl);
  }
  
  .testimonial-author {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
  
  .cta-features {
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .higher-ed-hero {
    padding: 80px 0 30px;
    min-height: 50vh;
  }
  
  .how-we-work {
    padding: var(--space-2xl) 0;
  }
  
  .partnerships-action,
  .partner-testimonials {
    padding: var(--space-xl) 0;
  }
  
  .cta-section {
    padding: calc(var(--space-2xl) + 30px) 0 var(--space-2xl);
  }
  
  .differentiator-card {
    padding: var(--space-lg);
  }
  
  .differentiator-icon {
    width: 48px;
    height: 48px;
  }
  
  .differentiator-card h3 {
    font-size: var(--text-base);
    margin-bottom: var(--space-sm);
  }
  
  .differentiator-card p {
    font-size: var(--text-sm);
    line-height: 1.4;
  }
  
  .partnership-card {
    margin: 0;
  }
  
  .partnership-header {
    padding: var(--space-lg);
  }
  
  .partnership-icon {
    width: 64px;
    height: 64px;
  }
  
  .partnership-emoji {
    font-size: 1.5rem;
  }
  
  .partnership-content {
    padding: var(--space-sm) var(--space-lg) var(--space-lg);
  }
  
  .partnership-content h3 {
    font-size: var(--text-xl);
  }
  
  .partnership-description {
    font-size: var(--text-sm);
  }
  
  .testimonial-card {
    padding: var(--space-lg);
  }
  
  .testimonial-quote {
    font-size: var(--text-base);
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-description {
    font-size: var(--text-lg);
  }
}

/* Mobile Animation Optimization for Partnership-Driven Section */
@media (max-width: 768px) {
  .higher-ed-hero {
    padding: 100px 0 40px;
    min-height: 70vh;
    background-size: cover;
    background-position: center center;
  }
  
  .higher-ed-hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
  }
  
  .hero-content-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .higher-ed-hero-title {
    font-size: 40px;
  }
  
  .higher-ed-hero-subtitle {
    font-size: clamp(14px, 2vw, 18px);
  }
  
  .hero-actions {
    justify-content: center;
    margin-right: 0;
    margin-left: 0;
    justify-self: start;
    grid-column: 1 / -1;
    grid-row: auto;
    align-self: start;
  }

  .differentiator-card:focus,
  .partnership-card:focus,
  .testimonial-card:focus {
    transform: translateY(-4px);
  }
}

/* Animation Performance Optimization */
.differentiator-card,
.partnership-card,
.testimonial-card {
  will-change: transform;
}

/* Graduate Career Success Section */
.graduate-career-success {
  background: linear-gradient(180deg, 
    var(--surface-secondary) 0%, 
    rgba(250, 249, 246, 0.8) 30%,
    transparent 100%
  );
  padding: var(--space-5xl) 0;
  position: relative;
}

.graduate-career-success::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, 
    var(--surface-secondary) 0%, 
    rgba(250, 249, 246, 0.8) 30%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

.graduate-career-success::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(245, 243, 240, 0.3) 70%,
    var(--surface-secondary) 100%
  );
  pointer-events: none;
}

.graduate-career-success-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  position: relative;
  z-index: 2;
}

.graduate-career-success .logo-section {
  margin-top: var(--space-3xl);
}

/* ==========================================
   UNIFIED MOBILE SECTION SPACING - HIGHER ED
   Uses global variables from styles.css
   ========================================== */

@media (max-width: 768px) {
  /* Unified section spacing for Higher Ed mobile - uses --mobile-content-spacing from styles.css */
  .how-we-work,
  .partnerships-action,
  .partner-testimonials,
  .graduate-career-success {
    padding-top: var(--mobile-section-padding) !important;
    padding-bottom: var(--mobile-section-padding) !important;
  }

  .impact-cta{
    padding-top: var(--mobile-cta-padding) !important;
    padding-bottom: var(--mobile-cta-padding) !important;
  }
}

@media (max-width: 480px) {
  /* Unified section spacing for Higher Ed small mobile - using global variables */
  .how-we-work,
  .partnerships-action,
  .partner-testimonials,
  .graduate-career-success {
    padding-top: var(--mobile-section-padding-sm) !important;
    padding-bottom: var(--mobile-section-padding-sm) !important;
  }
  
  .impact-cta {
    padding-top: var(--mobile-cta-padding-sm) !important;
    padding-bottom: var(--mobile-cta-padding-sm) !important;
  }
}

/* Print Styles */
@media print {
  .higher-ed-hero {
    min-height: auto;
    page-break-after: always;
  }
  
  .higher-ed-hero-title,
  .section-title {
    color: black !important;
  }
  
  .differentiator-card,
  .partnership-card,
  .testimonial-card {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
  
  .cta-section {
    background: #f5f5f5 !important;
    color: black !important;
  }
  
  .cta-title {
    color: black !important;
    text-shadow: none !important;
  }
  
  .partnership-emoji {
    filter: none !important;
  }
}

/* Partnership Testimonials Rotating Section - Updated K-12 Style */
.partnership-testimonials-rotating {
  background: var(--gradient-button);
  color: white;
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
  margin-top: 0;
  width: 100%;
}

.partnership-testimonials-rotating::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 182, 95, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(237, 124, 75, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(231, 48, 82, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.partnership-testimonials-rotating .recognition-container {
  text-align: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  position: relative;
  z-index: 2;
}

.partnership-testimonials-rotating .recognition-content {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.partnership-testimonials-rotating .quote-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.partnership-testimonials-rotating .quote-icon {
  color: rgba(255, 255, 255, 0.4);
  transition: transform 0.4s ease-out;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.partnership-testimonials-rotating .recognition-content:hover .quote-icon {
  transform: rotate(-10deg) scale(1.1);
}

.partnership-testimonials-rotating .quote-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  position: relative;
  transition: height 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.partnership-testimonials-rotating .rotating-quote-item {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1), visibility 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  pointer-events: none;
}

.partnership-testimonials-rotating .rotating-quote-item.active {
  opacity: 1;
  visibility: visible;
  position: absolute;
  pointer-events: auto;
}

.partnership-testimonials-rotating .industry-quote {
  font-family: 'Source Serif Pro', serif;
  font-size: clamp(var(--text-xl), 3vw, var(--text-3xl));
  line-height: 1.5;
  font-style: italic;
  font-weight: 400;
  color: white;
  margin: 0;
  margin-bottom: var(--space-2xl);
  position: relative;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.partnership-testimonials-rotating .quote-attribution {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.partnership-testimonials-rotating .author-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.partnership-testimonials-rotating .author-name {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--text-xl);
  font-weight: 700;
  text-align: left;
  color: white;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.partnership-testimonials-rotating .author-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.partnership-testimonials-rotating .author-institution {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.partnership-testimonials-rotating .company-logo {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: white;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.partnership-testimonials-rotating .company-logo img {
  max-height: 200px;
  max-width: 200px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transform: scale(1.05);
}

.partnership-testimonials-rotating .institution-text {
  font-size: var(--text-base);
  font-weight: 600;
  color: white;
}

/* Navigation Arrows for Rotating Quotes */
.partnership-testimonials-rotating .rotating-quotes-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  padding: 0 var(--space-lg);
  pointer-events: none;
  z-index: 10;
}

.partnership-testimonials-rotating .quote-nav-arrow {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  pointer-events: auto;
  position: relative;
  overflow: hidden;
}

.partnership-testimonials-rotating .quote-nav-arrow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.3s ease;
}

.partnership-testimonials-rotating .quote-nav-arrow:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.partnership-testimonials-rotating .quote-nav-arrow:hover::before {
  transform: scale(1);
}

.partnership-testimonials-rotating .quote-nav-arrow:active {
  transform: scale(1.05);
}

.partnership-testimonials-rotating .quote-nav-arrow:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.8);
  outline-offset: 4px;
}

.partnership-testimonials-rotating .quote-nav-arrow svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.5;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.partnership-testimonials-rotating .quote-nav-arrow:hover svg {
  transform: scale(1.1);
}

.partnership-testimonials-rotating .quote-nav-prev {
  margin-left: -28px;
}

.partnership-testimonials-rotating .quote-nav-next {
  margin-right: -28px;
}

/* Responsive Design for Rotating Quotes */
@media (max-width: 768px) { .recognition-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }
}

@media (max-width: 768px) {
  /* Tighten vertical spacing */
  .partnership-testimonials-rotating {
    padding: var(--space-lg) 0;
  }
  
  .partnership-testimonials-rotating .recognition-container {
    padding: 0 var(--space-md);
  }
  
  /* Add more horizontal padding around text so arrows don't cover quote */
  .partnership-testimonials-rotating .quote-content {
    padding: 0 var(--space-3xl);
    gap: var(--space-md);
  }
  
  .partnership-testimonials-rotating .industry-quote {
    font-size: var(--text-lg);
    margin-bottom: var(--space-lg);
  }
  
  .partnership-testimonials-rotating .quote-attribution {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
    padding-top: var(--space-sm);
  }
  
  .partnership-testimonials-rotating .author-info {
    align-items: center;
  }
  
  /* Reduce name/title size for mobile */
  .partnership-testimonials-rotating .author-name {
    font-size: var(--text-base);
    text-align: center;
  }
  
  .partnership-testimonials-rotating .author-title {
    font-size: var(--text-sm);
    text-align: center;
  }
  
  .partnership-testimonials-rotating .company-logo img {
    height: 30px;
  }
  
  /* Simplify arrow design - clean white arrows without bubble effect */
  .partnership-testimonials-rotating .quote-nav-arrow {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    backdrop-filter: none;
    box-shadow: none;
  }
  
  .partnership-testimonials-rotating .quote-nav-arrow:hover {
    background: transparent;
    border: none;
    transform: none;
    box-shadow: none;
  }
  
  .partnership-testimonials-rotating .quote-nav-arrow:hover::before {
    transform: none;
  }
  
  .partnership-testimonials-rotating .quote-nav-arrow svg {
    width: 28px;
    height: 28px;
    stroke: white;
    stroke-width: 2.5;
  }
  
  .partnership-testimonials-rotating .quote-nav-arrow:hover svg {
    transform: none;
  }
  
  .partnership-testimonials-rotating .rotating-quotes-navigation {
    padding: 0 var(--space-xs);
  }
  
  .partnership-testimonials-rotating .quote-nav-prev {
    margin-left: -10px;
  }
  
  .partnership-testimonials-rotating .quote-nav-next {
    margin-right: -10px;
  }
}

@media (max-width: 480px) {
  /* Further tighten spacing on small mobile */
  .partnership-testimonials-rotating {
    padding: var(--space-md) 0;
  }
  
  /* Add more horizontal padding for very small screens */
  .partnership-testimonials-rotating .quote-content {
    padding: 0 var(--space-2xl);
    gap: var(--space-sm);
  }
  
  .partnership-testimonials-rotating .industry-quote {
    font-size: var(--text-base);
    margin-bottom: var(--space-md);
    line-height: 1.5;
  }
  
  .partnership-testimonials-rotating .quote-attribution {
    gap: var(--space-xs);
    padding-top: var(--space-xs);
  }
  
  /* Further reduce name/title size */
  .partnership-testimonials-rotating .author-name {
    font-size: var(--text-sm);
  }
  
  .partnership-testimonials-rotating .author-title {
    font-size: var(--text-xs);
  }
  
  /* Smaller clean arrows for small mobile */
  .partnership-testimonials-rotating .quote-nav-arrow {
    width: 32px;
    height: 32px;
  }
  
  .partnership-testimonials-rotating .quote-nav-arrow svg {
    width: 22px;
    height: 22px;
  }
  
  .partnership-testimonials-rotating .quote-nav-prev {
    margin-left: -5px;
  }
  
  .partnership-testimonials-rotating .quote-nav-next {
    margin-right: -5px;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .partnership-card.featured::before {
    animation: none;
  }
  
  .differentiator-card:hover,
  .partnership-card:hover,
  .testimonial-card:hover {
    transform: translateY(-4px);
  }
  
  .partnership-card:hover .partnership-icon {
    transform: scale(1.05);
  }
  
  .partnership-testimonials-rotating .recognition-content:hover .quote-icon {
    transform: none;
  }
  
  .partnership-testimonials-rotating .rotating-quote-item {
    transition: opacity 0.3s ease;
  }
}

/* Impact CTA Section - Horizontal Layout Style */
.impact-cta {
  background: white;
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.impact-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(255, 182, 95, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(237, 124, 75, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.impact-cta .cta-container {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.impact-cta .cta-content {
  text-align: left;
  max-width: 1200px;
  margin: 0;
  display: flex;
  flex-direction: row;
  gap: var(--space-2xl);
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.impact-cta .cta-content::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 6%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: var(--border-radius-full);
}

.impact-cta .spotlight-title {
  font-size: var(--text-4xl);
  color: var(--ss-accent-1);
  line-height: 1.4;
  margin: 0;
  font-weight: 700;
  flex: 1;
}

.impact-cta .cta-actions {
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
  margin-bottom: 0px;
}

.impact-cta .cta-actions .btn {
  padding: var(--space-md) var(--space-2xl);
  font-size: var(--text-lg);
  font-weight: 600;
  border-radius: var(--border-radius-full);
  transition: all 0.3s ease-out;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.impact-cta .cta-actions .btn-primary {
  background: var(--gradient-button);
  color: white;
  border: none;
  box-shadow: 0 4px 16px rgba(231, 48, 82, 0.25);
  position: relative;
  overflow: hidden;
}

.impact-cta .cta-actions .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.impact-cta .cta-actions .btn-primary:hover::before {
  left: 100%;
}

.impact-cta .cta-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(231, 48, 82, 0.35);
}

.impact-cta .cta-actions .btn-primary:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 2px;
}

/* Impact CTA Mobile Responsive Styles */
@media (max-width: 768px) {
  .impact-cta .cta-content {
    flex-direction: column;
    text-align: center;
    gap: var(--space-xl);
  }
  
  .impact-cta .cta-content::before {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .impact-cta .spotlight-title {
    text-align: center;
    max-width: 100%;
  }
  
  .impact-cta .cta-actions {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .impact-cta {
    padding-top: var(--space-4xl) !important;
    padding-bottom: var(--space-4xl) !important;
  }
  
  .impact-cta .cta-content {
    gap: var(--space-lg);
  }
  
  .impact-cta .spotlight-title {
    font-size: var(--text-2xl);
  }
  
  .impact-cta .cta-actions .btn {
    padding: var(--space-sm) var(--space-xl);
    font-size: var(--text-base);
  }
}

/* ==========================================
   MOBILE RESPONSIVE - GRADUATE CAREER SUCCESS LOGO SECTION
   Matching K-12 Proven Pathways styling for mobile
   ========================================== */

/* Tablet breakpoint - 768px and below */
@media (max-width: 768px) {
  /* Logo marquee mobile optimizations */
  .graduate-career-success .logo-section {
    margin-top: var(--space-2xl);
  }
  
  .graduate-career-success .logo-marquee {
    padding: var(--space-lg) 0;
    min-height: 100px;
  }
  
  .graduate-career-success .logo-track {
    gap: var(--space-3xl);
  }
  
  .graduate-career-success .logo-item {
    flex: 0 0 auto;
    width: auto;
    min-width: 80px;
  }
  
  .graduate-career-success .logo-item img {
    height: clamp(40px, 5vw, 55px) !important;
    width: auto;
    max-width: 120px;
    object-fit: contain;
  }
}

/* Small mobile breakpoint - 480px and below */
@media (max-width: 480px) {
  /* Enhanced logo marquee optimizations for small mobile */
  .graduate-career-success .logo-section {
    margin-top: var(--space-xl);
  }
  
  .graduate-career-success .logo-marquee {
    padding: var(--space-xl) 0;
    min-height: 120px;
    border-radius: var(--border-radius-md);
    background: rgba(255, 255, 255, 0.05);
  }
  
  .graduate-career-success .logo-track {
    gap: var(--space-4xl);
    animation-duration: 40s; /* Slightly slower for better visibility */
  }
  
  .graduate-career-success .logo-item {
    flex: 0 0 auto;
    width: auto;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .graduate-career-success .logo-item img {
    height: clamp(50px, 6vw, 65px) !important;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    transition: all var(--transition-normal);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  }
  
  /* Specific logo adjustments for mobile readability */
  .graduate-career-success .logo-item img[alt="Microsoft"] {
    height: clamp(45px, 5.5vw, 58px) !important;
  }
  
  .graduate-career-success .logo-item img[alt="NASA"] {
    height: clamp(55px, 6.5vw, 70px) !important;
  }
  
  .graduate-career-success .logo-item img[alt="Meta"] {
    height: clamp(45px, 5.5vw, 58px) !important;
  }
  
  .graduate-career-success .logo-item img[alt="Consumer Reports"] {
    height: clamp(45px, 5.5vw, 58px) !important;
  }
  
  .graduate-career-success .logo-item img[alt="Red Hat"] {
    height: clamp(45px, 5.5vw, 58px) !important;
  }
  
  .graduate-career-success .logo-item img[alt="Salesforce"] {
    height: clamp(55px, 6.5vw, 70px) !important;
  }
  
  .graduate-career-success .logo-item img[alt="Linkedin"] {
    height: clamp(50px, 6vw, 65px) !important;
  }
}

/* Extra small mobile devices - 360px and below */
@media (max-width: 360px) {
  .graduate-career-success {
    padding: var(--space-3xl) 0;
  }
  
  .graduate-career-success .logo-section {
    margin-top: var(--space-lg);
  }
  
  .graduate-career-success .logo-marquee {
    padding: var(--space-2xl) 0;
    min-height: 140px;
    border-radius: var(--border-radius-lg);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .graduate-career-success .logo-track {
    gap: var(--space-5xl);
    animation-duration: 45s; /* Even slower for optimal viewing on small screens */
  }
  
  .graduate-career-success .logo-item {
    flex: 0 0 auto;
    width: auto;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm);
  }
  
  .graduate-career-success .logo-item img {
    height: clamp(55px, 7vw, 75px) !important;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    transition: all var(--transition-normal);
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.15));
  }
  
  /* Ultra-optimized logo sizes for very small screens */
  .graduate-career-success .logo-item img[alt="Microsoft"] {
    height: clamp(50px, 6.5vw, 68px) !important;
  }
  
  .graduate-career-success .logo-item img[alt="NASA"] {
    height: clamp(65px, 8vw, 85px) !important;
  }
  
  .graduate-career-success .logo-item img[alt="Meta"],
  .graduate-career-success .logo-item img[alt="Consumer Reports"],
  .graduate-career-success .logo-item img[alt="Red Hat"] {
    height: clamp(50px, 6.5vw, 68px) !important;
  }
  
  .graduate-career-success .logo-item img[alt="Salesforce"],
  .graduate-career-success .logo-item img[alt="Linkedin"] {
    height: clamp(60px, 7.5vw, 80px) !important;
  }
}
