:root {
  --primary-color: #b0cb1f;
  --accent-color: #a7cf3a;
  --surface-color: #f8fafb;
  --text-on-surface: #191c1d;
  --text-variant: #454839;
  --kinetic-radius: 28px;
  --kinetic-shadow: 0px 12px 32px rgba(78, 103, 0, 0.08);
}

/* Kinetic Brand Classes */
.kinetic-card {
  background: #ffffff;
  border-radius: var(--kinetic-radius);
  box-shadow: var(--kinetic-shadow);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  overflow: hidden;
}

.btn-kinetic-primary {
  background-color: var(--primary-color);
  color: #ffffff;
  border-radius: 50px;
  padding: 12px 32px;
  font-weight: 700;
  border: none;
  transition: all 0.2s ease;
}

.btn-kinetic-primary:hover {
  background-color: #3a4e00;
  color: #ffffff;
  transform: scale(1.02);
}

.btn-kinetic-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  padding: 10px 32px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.btn-kinetic-outline:hover {
  background-color: var(--primary-color);
  color: #ffffff;
}

.kinetic-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: #c8f25a;
  color: #151f00;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.learning-step {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b0cb1f 0%, #4e6700 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 24px;
  position: relative;
  z-index: 2;
}

/* Timeline Connector */
.step-col {
  position: relative;
}

@media (min-width: 768px) {
  .step-col:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 32px;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: #e1e3e4;
    z-index: 1;
  }
}

.navbar {
  height: 80px;
  backdrop-filter: blur(12px);
  background-color: rgba(248, 250, 251, 0.8);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
  }
}

.form-control,
.form-select {
  background-color: #eceeef;
  border: none;
  padding: 12px 20px;
  border-radius: 12px;
}

.form-control:focus,
.form-select:focus {
  box-shadow: 0 0 0 3px rgba(78, 103, 0, 0.2);
  background-color: #e1e3e4;
}

.success-card {
  border-bottom: 8px solid #b0cb1f !important;
}

.material-symbols-outlined {
  vertical-align: middle;
}

/* --- Fine-tuned Typography & Elements --- */
.hero-title {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-on-surface);
}

.text-primary {
  color: var(--primary-color) !important;
}

/* Custom Component Structural Label Alignment */
.kinetic-form-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-variant) !important;
}

/* Upgraded Input Controls styles to overwrite defaults safely */
.kinetic-form-input,
.kinetic-form-select {
  background-color: #eceeef !important;
  border: 2px solid transparent !important;
  /* padding: 0.85rem 1.25rem !important; */
  border-radius: 14px !important;
  font-size: 0.95rem;
  color: var(--text-on-surface) !important;
  transition: all 0.2s ease-in-out;
}

.kinetic-form-input:focus,
.kinetic-form-select:focus {
  background-color: #ffffff !important;
  border-color: var(--accent-color) !important;
  box-shadow: 0 0 0 4px rgba(167, 207, 58, 0.15) !important;
  outline: none;
}

/* Negative Space Avatar Alignment Layers */
.kinetic-avatar-stack {
  margin-right: 0.25rem;
}

.kinetic-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease;
}

.kinetic-avatar:not(:first-child) {
  margin-left: -14px; /* Pulls avatars together into a crisp stack */
}

.kinetic-avatar:hover {
  transform: translateY(-4px) scale(1.05);
  position: relative;
  z-index: 10;
}

/* Refined primary submission layout button modifications */
.btn-kinetic-primary {
  border-radius: 50rem;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  transition:
    transform 0.2s cubic-bezier(0.165, 0.84, 0.44, 1),
    background-color 0.2s ease;
}

/* Responsive view optimizations */
@media (max-width: 991.98px) {
  .hero-title {
    text-align: center;
  }
  .lead {
    text-align: center;
  }
  .d-flex.align-items-center.gap-3.mt-4 {
    justify-content: center;
    margin-bottom: 2rem;
  }
}

.mass-hero-area {
  padding: 50px 0;
  background-image: url("../img/hero/umass-hero.jpg");
  background-size: cover;
  background-position: center;
}

/* --- High-Contrast Hero Layout Structural Adjustments --- */
.mass-hero-area {
  position: relative;
  padding: 100px 0;
  background-image: url("../img/hero/umass-hero.jpg");
  background-size: cover;
  background-position: center right;
  background-color: #131c25; /* Safe structural dark fallback */
  z-index: 1;
}

/* Linear Left-to-Right Dark Vignette Layer */
.mass-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(19, 28, 37, 0.98) 0%,
    rgba(19, 28, 37, 0.9) 35%,
    rgba(19, 28, 37, 0.5) 70%,
    rgba(19, 28, 37, 0.2) 100__
  );
  background: linear-gradient(
    90deg,
    rgba(15, 23, 30, 0.98) 0%,
    rgba(15, 23, 30, 0.88) 45%,
    rgba(15, 23, 30, 0.45) 75%,
    rgba(15, 23, 30, 0.15) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Isolating the interactive viewport elements clear above the gradient */
.mass-hero-content {
  z-index: 3;
}

/* Typography Overhauls over Dark Canvas */
.mass-hero-accent {
  color: var(--primary-color);
}

.mass-hero-lead {
  color: rgba(255, 255, 255, 0.75) !important;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* Glass/Card Layout shadow optimization against background images */
.mass-form-container {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25) !important;
}

/* Custom interactive input depth fixes for high contrast screens */
.kinetic-form-input,
.kinetic-form-select {
  background-color: #f1f3f4 !important;
  color: #191c1d !important;
}

.kinetic-form-input:focus,
.kinetic-form-select:focus {
  background-color: #ffffff !important;
}

/* Responsive Adaptive Viewport Breakpoints */
@media (max-width: 991.98px) {
  .mass-hero-area {
    padding: 70px 0;
  }
  /* Switches to a clean top-to-bottom vertical gradient overlay on mobile screens */
  .mass-hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(15, 23, 30, 0.98) 0%,
      rgba(15, 23, 30, 0.85) 100%
    );
  }
  .hero-title,
  .lead {
    text-align: center;
  }
  .d-flex.align-items-center.gap-3.mt-4 {
    justify-content: center;
    margin-bottom: 2.5rem;
  }
}

.umass-view-all {
  font-size: 20px;
}

/* Container block split architecture */
.umass-split-section {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

/* Left typography and image hero container */
.umass-hero-text-wrapper {
  position: relative;
  padding-right: 2rem;
}

.umass-badge-accent {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background-color: rgba(196, 248, 102, 0.2);
  color: #4a7c00;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
}

.umass-split-heading {
  color: #111111;
  line-height: 1.15;
  letter-spacing: -1px;
}

.umass-split-desc {
  color: #555555;
  font-size: 1.15rem;
  line-height: 1.6;
}

/* Feature Checklist items on left */
.umass-feature-list {
  list-style: none;
  padding-left: 0;
}

.umass-feature-item {
  display: flex;
  align-items: center;
  color: #333333;
  font-weight: 500;
}

.umass-feature-icon {
  color: #c4f866;
  background-color: #111111;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.75rem;
}

/* Right solid-fill card architecture */
.umass-solid-form-card {
  background: #ffffff;
  border-radius: 1.75rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid #eef0f4;
}

.umass-form-accent-header {
  background: #111111;
  color: #ffffff;
  padding: 1.5rem 2rem;
  border-top-left-radius: 1.75rem;
  border-top-right-radius: 1.75rem;
}

.umass-form-body {
  padding: 2.5rem;
}

/* Minimalist floating-style field lines */
.umass-minimal-input {
  border: 1px solid #dcdcdc !important;
  border-radius: 0.5rem;
  background-color: #ffffff !important;
  color: #111111 !important;
  transition: all 0.2s ease;
}

.umass-minimal-input:focus {
  border-color: #111111 !important;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.1) !important;
}

/* Select wrapper structural modifications */
.umass-select-arrow-variant {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23111111' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 14px 10px;
}

/* High contrast primary dark button execution */
.umass-btn-dark-action {
  background: #b0cb1f;
  color: #ffffff;
  border-radius: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.2s ease-in-out;
}

.umass-btn-dark-action:hover {
  background: #b0cb1f;
  color: #111111;
}
