.st-homepage {
  background:
    radial-gradient(circle at top right, rgba(var(--accent-rgb), 0.1), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7f8fc 100%);
}

.st-homepage .section-title {
  max-width: 18ch;
}

.st-homepage .section-header .section-title,
.st-homepage .partners-header .section-title {
  max-width: 34ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.st-btn-secondary,
.st-btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
  border: 2px solid transparent;
  transition: all var(--transition-normal);
}

.st-btn-secondary {
  background: var(--white);
  color: var(--primary);
  border-color: var(--gray-200);
}

.st-btn-secondary:hover {
  border-color: var(--accent);
  color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.st-btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.st-btn-outline-light:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.st-home-shortcuts {
  background: #fbfcff;
  border-bottom: 1px solid var(--gray-100);
  position: relative;
  z-index: 900;
}

.st-home-shortcuts .container {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-top: 12px;
  padding-bottom: 12px;
}

.st-home-shortcuts a {
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  color: var(--gray-600);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.st-home-shortcuts a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.st-hero {
  min-height: 640px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  position: relative;
  overflow: hidden;
}

.st-top-banner-slider {
  min-height: 560px;
}

.st-top-banner-slider .st-banner-layout-compact {
  min-height: 560px;
  padding: 76px 0 78px;
}

.st-top-banner-slider .st-banner-content-compact h1 {
  max-width: 16ch;
}

.st-top-banner-slider .st-banner-content-compact p {
  max-width: 62ch;
}

.st-top-banner-slider .slide::after {
  background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.32) 0%, rgba(var(--primary-rgb), 0.58) 44%, rgba(var(--primary-rgb), 0.9) 100%);
}

.st-hero .slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.st-hero .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
  background-size: cover;
  background-position: center;
}

.st-hero .slide.active {
  opacity: 1;
  visibility: visible;
}

.st-hero .slider-nav {
  position: absolute;
  bottom: 24px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 10;
}

.st-hero .slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.st-hero .slider-dot:hover,
.st-hero .slider-dot.active {
  background: var(--white);
  transform: scale(1.2);
}

.st-hero .slide-content {
  max-width: none;
  width: 100%;
  padding: 0;
}

.st-hero .slide-content .container {
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.st-hero .slide::after {
  background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.25) 0%, rgba(var(--primary-rgb), 0.55) 42%, rgba(var(--primary-rgb), 0.92) 100%);
}

.st-banner-layout {
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  padding: 90px 0 86px;
}

.st-banner-content {
  max-width: 760px;
}

.st-banner-content .hero-badge {
  margin-bottom: 18px;
}

.st-banner-content h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  line-height: 1.12;
  margin-bottom: 14px;
  max-width: 13ch;
}

.st-banner-content p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
  max-width: 58ch;
  margin-bottom: 28px;
  line-height: 1.8;
}

.st-notice-strip {
  position: relative;
  z-index: 12;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.st-notice-shell {
  background: transparent;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  overflow: hidden; /* Hide the scrolling overflow */
}

.st-notice-title {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  font-size: 0.85rem;
  background: var(--white); /* Ensure title stays layered above */
  z-index: 2;
  position: relative;
}

.st-notice-title i {
  color: var(--accent-dark);
}

.st-notice-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap; /* Force single line for slider */
  width: max-content;
  animation: noticeMarquee 25s linear infinite; /* Continuous sliding */
}

.st-notice-links:hover {
  animation-play-state: paused;
}

@keyframes noticeMarquee {
  0% { transform: translateX(50vw); }
  100% { transform: translateX(-100%); }
}

.st-notice-links a {
  white-space: nowrap;
  padding: 9px 14px;
  border-radius: var(--radius-full);
  background: var(--gray-50);
  color: var(--gray-600);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.5;
}

.st-notice-links a:hover {
  background: rgba(var(--accent-rgb), 0.16);
  color: var(--primary);
}

.st-welcome {
  padding-top: 96px;
}

.st-welcome-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
}

.st-welcome-copy {
  display: grid;
  gap: 18px;
}

.st-welcome-copy p {
  color: var(--gray-500);
  margin: 0;
}

.st-welcome-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.st-welcome-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.st-fact-card {
  background: var(--white);
  border-radius: 20px;
  padding: 18px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}

.st-fact-card strong {
  display: block;
  color: var(--primary);
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.st-fact-card span {
  color: var(--gray-500);
  font-size: 0.88rem;
  line-height: 1.6;
}

.st-welcome-visual {
  position: relative;
}

.st-image-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 18px;
  align-items: end;
}

.st-image-stack img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow-xl);
}

.st-image-stack img:last-child {
  height: 300px;
}

.st-floating-card {
  position: absolute;
  left: 24px;
  bottom: -24px;
  background: var(--primary);
  color: var(--white);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow-xl);
}

.st-floating-card > span {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.st-floating-metrics {
  display: flex;
  gap: 18px;
  margin-top: 14px;
}

.st-floating-metrics strong {
  display: block;
  color: var(--accent);
  font-size: 1.3rem;
}

.st-floating-metrics small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
}

.st-highlights .widget-body {
  max-height: 470px;
}

.st-highlights .achievement-slide {
  display: none;
}

.st-highlights .achievement-slide.active {
  display: block;
}

.st-quote-points {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.st-quote-points span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-600);
  font-size: 0.88rem;
  font-weight: 600;
}

.st-quote-points i {
  color: var(--success);
}

.st-programs {
  position: relative;
}

.st-program-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.st-program-tab {
  padding: 12px 22px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.st-program-tab:hover,
.st-program-tab.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.st-program-panel {
  display: none;
}

.st-program-panel.active {
  display: block;
}

.st-program-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.st-program-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.st-program-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--accent-rgb), 0.45);
}

.st-program-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.st-program-card h3,
.st-campus-card h3,
.st-story-content h3,
.st-alumni-card h3 {
  font-family: var(--font-sans);
}

.st-program-card p,
.st-campus-card p,
.st-story-content p,
.st-alumni-card p {
  color: var(--gray-500);
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 12px 0 0;
}

.st-program-card-cta {
  background: linear-gradient(160deg, var(--primary), var(--primary-light));
  color: var(--white);
}

.st-program-card-cta h3,
.st-program-card-cta p,
.st-program-card-cta a {
  color: var(--white);
}

.st-program-card-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-weight: 700;
}

.st-campus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.st-campus-card {
  background: var(--white);
  border-radius: 24px;
  border: 1px solid rgba(var(--primary-rgb), 0.08);
  padding: 28px 24px;
  min-height: 220px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), background var(--transition-normal);
}

.st-campus-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(160deg, rgba(var(--accent-rgb), 0.15), #ffffff);
}

.st-campus-icon {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  background: var(--primary);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 20px;
}

.st-community-grid {
  display: grid;
  gap: 42px;
}

.st-block-header {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.st-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.st-story-card,
.st-alumni-card,
.st-testimonial-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(var(--primary-rgb), 0.06);
}

.st-story-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.st-story-content {
  padding: 22px;
}

.st-alumni-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.st-alumni-card {
  padding: 24px;
}

.st-testimonial-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.st-testimonial-controls {
  display: flex;
  gap: 10px;
}

.st-testimonial-controls button,
.widget-nav button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  background: var(--white);
  color: var(--primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.st-testimonial-controls button:hover,
.widget-nav button:hover {
  background: var(--primary);
  color: var(--accent);
  border-color: var(--primary);
}

.testimonial-slide {
  display: none;
}

.testimonial-slide.active {
  display: block;
}

.st-testimonial-card {
  padding: 38px;
  position: relative;
}

.st-testimonial-card::before {
  content: '"';
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font-serif);
  font-size: 5rem;
  color: rgba(var(--accent-rgb), 0.24);
  line-height: 1;
}

.st-testimonial-card p {
  position: relative;
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.85;
  max-width: 70ch;
}

.st-testimonial-meta {
  margin-top: 24px;
}

.st-testimonial-meta strong {
  display: block;
  color: var(--primary);
  font-size: 1rem;
}

.st-testimonial-meta span {
  display: block;
  margin-top: 4px;
  color: var(--gray-400);
  font-size: 0.85rem;
}

.st-partners {
  background: var(--white);
}

.partners-board {
  border: 1px solid var(--gray-100);
  border-radius: 28px;
  padding: 34px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: var(--shadow-sm);
}

.partners-header {
  text-align: center;
  margin-bottom: 20px;
}

.partners-header p {
  color: var(--gray-500);
}

.partners-marquee {
  border-top: 1px solid var(--gray-100);
  padding-top: 22px;
  overflow: hidden;
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  animation: recruitersMarquee 28s linear infinite;
}

.partners-marquee:hover .partners-track {
  animation-play-state: paused;
}

.partner-logo,
.partner-text-logo {
  flex-shrink: 0;
}

.partner-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  padding: 6px 14px;
}

.partner-text-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
  padding: 8px 14px;
  border-radius: 12px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  white-space: nowrap;
}

.partner-text-logo-upgrad {
  color: #d2362c;
}

.partner-text-logo-lnt {
  font-style: italic;
}

.partner-pill {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fce318;
  color: #111111;
  font-size: 0.75rem;
  font-weight: 800;
}

@keyframes recruitersMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-40%);
  }
}

.st-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 210px;
  gap: 16px;
}

.st-gallery-item {
  height: auto;
}

.st-gallery-wide {
  grid-column: span 2;
}

.st-gallery-tall {
  grid-row: span 2;
}

.st-gallery-footer {
  text-align: center;
  margin-top: 32px;
}

.st-cta {
  padding: 0 0 90px;
}

.st-cta-shell {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 32px;
  padding: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  align-items: center;
  gap: 28px;
  box-shadow: var(--shadow-xl);
}

.st-cta-shell h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.st-cta-shell p {
  color: rgba(255, 255, 255, 0.76);
  max-width: 58ch;
}

.st-cta-shell .section-badge {
  background: rgba(var(--accent-rgb), 0.18);
  color: var(--accent);
}

.st-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 1200px) {
  .st-welcome-grid,
  .st-cta-shell {
    grid-template-columns: 1fr;
  }

  .st-program-grid,
  .st-campus-grid,
  .st-alumni-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .st-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .st-hero {
    min-height: 560px;
  }

  .st-top-banner-slider,
  .st-top-banner-slider .st-banner-layout-compact {
    min-height: 520px;
  }

  .st-banner-layout {
    min-height: 560px;
    padding: 78px 0 70px;
  }

  .st-welcome {
    padding-top: 90px;
  }

  .st-image-stack {
    grid-template-columns: 1fr 1fr;
  }

  .st-image-stack img,
  .st-image-stack img:last-child {
    height: 280px;
  }

  .st-program-grid,
  .st-campus-grid,
  .st-story-grid,
  .st-alumni-grid,
  .st-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .st-gallery-wide,
  .st-gallery-tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .st-testimonial-top {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .st-top-banner-slider,
  .st-top-banner-slider .st-banner-layout-compact {
    min-height: 470px;
  }

  .st-home-shortcuts .container {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .st-banner-layout {
    min-height: 500px;
    padding: 68px 0 64px;
  }

  .st-banner-content h1 {
    max-width: none;
  }

  .st-welcome-facts {
    grid-template-columns: 1fr;
  }

  .st-notice-shell,
  .st-notice-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .st-notice-links {
    animation: none;
    width: 100%;
    gap: 10px;
  }

  .st-notice-links a {
    white-space: normal;
    width: 100%;
  }

  .st-notice-shell {
    gap: 14px;
  }

  .partners-board {
    padding: 24px;
  }

  .partners-track {
    gap: 12px;
    animation-duration: 22s;
  }

  .partner-logo {
    height: 30px;
    padding: 5px 10px;
  }

  .partner-text-logo {
    font-size: 0.95rem;
    padding: 7px 10px;
  }

  .st-floating-card {
    position: static;
    margin-top: 18px;
  }

  .st-program-grid,
  .st-campus-grid,
  .st-story-grid,
  .st-alumni-grid,
  .st-gallery-grid {
    grid-template-columns: 1fr;
  }

  .st-gallery-grid {
    grid-auto-rows: 220px;
  }

  .st-testimonial-card,
  .st-cta-shell {
    padding: 28px;
  }

  .st-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .st-testimonial-card,
  .st-program-card,
  .st-campus-card,
  .st-alumni-card {
    padding: 22px;
  }

  .st-image-stack {
    grid-template-columns: 1fr;
  }

  .st-image-stack img,
  .st-image-stack img:last-child {
    height: 240px;
  }

  .st-testimonial-card::before {
    right: 18px;
    top: 16px;
    font-size: 4rem;
  }
}
