.programs-section {
  padding: 8rem 0;
  position: relative;
  background-color: var(--color-light); /* Assuming dark mode override via global if needed */
  color: var(--color-dark);
  z-index: 2;
  overflow: hidden;
}

.programs-header {
  margin-bottom: 5rem;
}

.programs-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-orange);
  margin-bottom: 0.5rem;
  display: block;
}

.programs-title {
  margin: 0;
}

.programs-scrapbook-layout {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

/* Base Card Styles */
.program-card {
  position: relative;
  padding: 3rem;
  background: #fff;
  color: var(--color-dark);
  border: 4px solid var(--color-dark);
  box-shadow: 12px 12px 0px rgba(0, 0, 0, 0.8);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.program-card:hover {
  transform: scale(1.02) translateY(-10px) !important; /* Overrides specific rotations slightly */
  box-shadow: 16px 16px 0px rgba(0, 0, 0, 0.8);
  z-index: 10;
}

/* Notebook Page Style for DevSprint */
.notebook-card {
  flex: 1.5;
  background-color: #FFFDF5; /* Slight warm paper color */
  border-radius: 4px 20px 20px 4px;
  transform: rotate(-2deg);
  background-image: repeating-linear-gradient(transparent, transparent 31px, #E0E0E0 31px, #E0E0E0 32px);
  background-position: 0 1.5rem;
}

.notebook-spine {
  position: absolute;
  left: -4px;
  top: -4px;
  bottom: -4px;
  width: 40px;
  background-color: var(--color-mango);
  border-right: 4px solid var(--color-dark);
  border-radius: 2px 0 0 2px;
}
/* Ring binder holes */
.notebook-spine::before {
  content: '';
  position: absolute;
  top: 10%;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  background-image: radial-gradient(circle, var(--color-dark) 4px, transparent 5px);
  background-size: 100% 40px;
}

.notebook-card .program-card-content {
  margin-left: 20px;
}

/* Sticky Note Style for Coming Soon */
.sticky-note-card {
  flex: 1;
  background-color: #FEF3B4; /* Classic yellow sticky */
  border-radius: 0 0 30px 4px;
  transform: rotate(4deg);
  border: 3px dashed var(--color-dark);
  box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.8);
  align-self: flex-end;
  margin-bottom: -2rem;
}

.tape-doodle {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 80px;
  height: 25px;
  background-color: rgba(255, 255, 255, 0.6);
  border: 2px solid rgba(0,0,0,0.3);
  backdrop-filter: blur(2px);
  z-index: 2;
}

/* Typography & Content */
.program-card-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.notebook-card .program-card-title {
  color: var(--color-orange);
}

.program-card-desc {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

/* Hand-drawn Checkboxes */
.program-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.program-features li {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.checkbox-doodle {
  font-family: 'Courier New', Courier, monospace; /* Monospace for the [x] feel */
  font-weight: 900;
  color: var(--color-orange);
  margin-right: 0.5rem;
  font-size: 1.5rem;
}

/* Explore Button & Arrow */
.program-btn-wrap {
  position: relative;
  display: inline-block;
  margin-top: 1rem;
}

.btn-scrapbook {
  background-color: var(--color-dark);
  color: #fff;
}

.btn-scrapbook:hover {
  background-color: var(--color-mango);
  color: var(--color-dark);
}

.doodle-arrow {
  position: absolute;
  width: 80px;
  height: 80px;
  right: -90px;
  top: 10px;
  color: var(--color-orange);
  filter: drop-shadow(2px 2px 0px rgba(0,0,0,0.5));
}

/* WIP Stamp */
.wip-stamp {
  position: absolute;
  bottom: 20px;
  right: -20px;
  transform: rotate(-15deg);
  font-size: 2rem;
  font-weight: 900;
  color: rgba(200, 50, 50, 0.2);
  border: 4px solid rgba(200, 50, 50, 0.2);
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  pointer-events: none;
  font-family: impact, sans-serif;
  letter-spacing: 2px;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .programs-scrapbook-layout {
    flex-direction: column;
    gap: 3rem;
  }
  
  .notebook-card {
    transform: rotate(-1deg);
    width: 100%;
  }

  .sticky-note-card {
    transform: rotate(2deg);
    width: 90%;
    align-self: center;
    margin-bottom: 0;
  }

  .doodle-arrow {
    display: none;
  }
}

@media (max-width: 575px) {
  .program-card {
    padding: 2rem;
  }
  .program-card-title {
    font-size: 2rem;
  }
  .wip-stamp {
    font-size: 1.5rem;
    right: 10px;
    bottom: 10px;
  }
}
