/* =========================================================
   GovState ACM Homepage Redesign
   File: styles/home-redesign.css
   Scope: index.html only through the .home-wow body class
   Purpose: Student-centered homepage layout enhancements
   ========================================================= */

.home-wow {
  --home-gold: #f4c542;
  --home-mint: #75e0b4;
  --home-cyan: #00d4ff;
  --home-navy: #0a2463;
  --home-ink: #0f172a;
  --home-muted: #52637a;
  --home-line: rgba(10, 36, 99, 0.12);
}

.home-skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  padding: 12px 16px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--home-navy);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.home-skip-link:focus {
  transform: translateY(0);
}

.home-wow .home-kicker {
  margin: 0 0 8px;
  color: var(--home-navy);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-wow .home-kicker-light {
  color: var(--home-gold);
}

.home-wow .home-section-heading {
  margin-bottom: 30px;
}

/* ---------- Hero ---------- */
.home-wow .home-hero {
  min-height: 680px;
  padding-top: 74px;
  padding-bottom: 74px;
}

.home-wow .home-hero-grid {
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.72fr);
  gap: clamp(36px, 6vw, 82px);
}

.home-wow .hero-title-accent {
  color: var(--home-gold);
}

.home-wow .hero-subtitle {
  max-width: 720px;
}

.home-hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 26px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 650;
  list-style: none;
}

.home-hero-signals li {
  position: relative;
  padding-left: 18px;
}

.home-hero-signals li::before {
  content: "";
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--home-mint);
  box-shadow: 0 0 0 5px rgba(117, 224, 180, 0.14);
}

.home-hero-panel {
  position: relative;
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  color: #ffffff;
  background:
    radial-gradient(circle at 100% 0%, rgba(244, 197, 66, 0.2), transparent 34%),
    rgba(5, 29, 25, 0.72);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
}

.home-panel-label {
  margin: 0 0 10px;
  color: var(--home-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-hero-panel h2 {
  margin: 0 0 24px;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.home-panel-paths {
  display: grid;
  gap: 10px;
}

.home-panel-paths a {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 62px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.home-panel-paths a:hover,
.home-panel-paths a:focus-visible {
  border-color: rgba(244, 197, 66, 0.56);
  background: rgba(255, 255, 255, 0.13);
  transform: translateX(4px);
}

.home-panel-paths a > span:first-child {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 11px;
  background: rgba(244, 197, 66, 0.14);
  font-size: 1.18rem;
}

.home-panel-paths a > span:last-child {
  color: rgba(255, 255, 255, 0.84);
}

.home-panel-paths strong {
  color: #ffffff;
}

/* EMOJI COLOR CHANGE*/ 
.home-panel-paths .home-start-icon-group {
  color: #ffffff;
  font-family: "Segoe UI Symbol", "Arial Unicode MS", sans-serif;
  font-size: 1.35rem;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.25);
}

/* ---------- Next up ---------- */
.home-next {
  position: relative;
  padding: 76px 0 84px;
  background: #ffffff;
}

.home-next::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1120px, calc(100% - 48px));
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--home-line), transparent);
  transform: translateX(-50%);
}

.home-wow .view-all {
  color: var(--home-navy);
  font-weight: 750;
}

.home-event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.home-event-card {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--home-line);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(10, 36, 99, 0.08);
  overflow: hidden;
}

.home-event-card::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -38px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.08);
}

.home-event-featured {
  border-color: rgba(0, 87, 63, 0.24);
  background: linear-gradient(145deg, #ffffff, #f1fbf7);
}

.home-event-date {
  display: flex;
  width: 72px;
  height: 82px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(145deg, #0a2463, #1e3a8a);
}

.home-event-date span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.home-event-date strong {
  font-family: "Rajdhani", Arial, sans-serif;
  font-size: 2.15rem;
  line-height: 1;
}

.home-event-type {
  margin: 0 0 6px;
  color: #006c50;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.home-event-card h3 {
  margin: 0 0 10px;
  color: var(--home-navy);
  font-size: 1.35rem;
}

.home-event-card p:not(.home-event-type):not(.home-event-meta) {
  margin: 0;
  color: var(--home-muted);
  line-height: 1.62;
}

.home-event-meta {
  margin: 16px 0 0;
  color: var(--home-ink);
  font-size: 0.86rem;
}

.home-date-note {
  margin: 20px 0 0;
  color: var(--home-muted);
  font-size: 0.9rem;
  text-align: right;
}

/* ---------- Participation pathways ---------- */
.home-pathways {
  padding: 82px 0 92px;
  background:
    radial-gradient(circle at 15% 15%, rgba(0, 212, 255, 0.08), transparent 28%),
    #f6f9fc;
}

.home-pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.home-pathway-card {
  display: grid;
  min-height: 100%;
  grid-template-rows: 210px 1fr;
  border: 1px solid var(--home-line);
  border-radius: 22px;
  color: var(--home-ink);
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(10, 36, 99, 0.08);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-pathway-card:hover,
.home-pathway-card:focus-visible {
  transform: translateY(-7px);
  box-shadow: 0 24px 48px rgba(10, 36, 99, 0.15);
}

.home-pathway-card > img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.home-pathway-card > div {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.home-card-number {
  position: absolute;
  top: -32px;
  right: 22px;
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0;
  place-items: center;
  border: 5px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  background: var(--home-navy);
  font-family: "Rajdhani", Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
}

.home-pathway-card h3 {
  margin: 0 0 10px;
  padding-right: 48px;
  color: var(--home-navy);
  font-size: 1.55rem;
}

.home-pathway-card p:not(.home-card-number) {
  margin: 0 0 22px;
  color: var(--home-muted);
  line-height: 1.65;
}

.home-card-link {
  margin-top: auto;
  color: var(--home-navy);
  font-weight: 750;
}

/* ---------- Student experience ---------- */
.home-experience {
  padding: 90px 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 10%, rgba(0, 212, 255, 0.16), transparent 28%),
    linear-gradient(135deg, #081b3f 0%, #0a2463 54%, #073f2f 100%);
}

.home-experience .container {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(44px, 7vw, 88px);
  align-items: start;
}

.home-experience-intro h2 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.home-experience-intro > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.79);
  font-size: 1.03rem;
  line-height: 1.72;
}

.home-experience-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-experience-steps li {
  min-height: 190px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.home-experience-steps span {
  color: var(--home-gold);
  font-family: "Rajdhani", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

.home-experience-steps h3 {
  margin: 14px 0 7px;
  color: #ffffff;
  font-size: 1.45rem;
}

.home-experience-steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.58;
}

/* ---------- ACM and UPE ---------- */
.home-communities {
  padding: 84px 0 92px;
  background: #ffffff;
}

.home-community-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.home-community-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 26px;
  min-height: 100%;
  padding: 34px;
  border: 1px solid var(--home-line);
  border-top: 5px solid var(--home-cyan);
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff, #f7fbff);
  box-shadow: 0 16px 36px rgba(10, 36, 99, 0.08);
}

.home-community-upe {
  border-top-color: var(--home-gold);
  background: linear-gradient(145deg, #ffffff, #fffbeb);
}

.home-community-card img {
  width: 120px;
  height: 120px;
  padding: 14px;
  border: 1px solid var(--home-line);
  border-radius: 20px;
  background: #ffffff;
  object-fit: contain;
}

.home-community-label {
  margin: 0 0 6px;
  color: #006c50;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.home-community-card h3 {
  margin: 0 0 10px;
  color: var(--home-navy);
  font-size: 1.65rem;
}

.home-community-card p:not(.home-community-label) {
  margin: 0 0 18px;
  color: var(--home-muted);
  line-height: 1.65;
}

.home-community-card a {
  color: var(--home-navy);
  font-weight: 750;
  text-underline-offset: 4px;
}

/* ---------- Final CTA ---------- */
.home-wow .home-final-cta {
  padding: 78px 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 212, 255, 0.18), transparent 30%),
    linear-gradient(135deg, #0a2463, #102e73 55%, #073f2f);
}

.home-final-cta .cta-content {
  max-width: 940px;
}

.home-final-cta .cta-buttons {
  margin-top: 28px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .home-wow .home-hero-grid,
  .home-experience .container {
    grid-template-columns: 1fr;
  }

  .home-hero-panel {
    max-width: 760px;
  }

  .home-event-grid {
    grid-template-columns: 1fr;
  }

  .home-event-card {
    min-height: auto;
  }
}

@media (max-width: 880px) {
  .home-pathway-grid,
  .home-community-grid {
    grid-template-columns: 1fr;
  }

  .home-pathway-card {
    grid-template-columns: minmax(210px, 0.75fr) 1.25fr;
    grid-template-rows: auto;
  }

  .home-pathway-card > img {
    height: 100%;
    min-height: 260px;
  }
}

@media (max-width: 700px) {
  .home-wow .home-hero {
    padding-top: 62px;
    padding-bottom: 58px;
  }

  .home-hero-signals {
    display: grid;
  }

  .home-hero-panel {
    padding: 24px;
    border-radius: 18px;
  }

  .home-next,
  .home-pathways,
  .home-communities,
  .home-experience,
  .home-wow .home-final-cta {
    padding-top: 64px;
    padding-bottom: 68px;
  }

  .home-event-card {
    grid-template-columns: 62px 1fr;
    padding: 21px;
  }

  .home-event-date {
    width: 62px;
    height: 74px;
  }

  .home-pathway-card {
    grid-template-columns: 1fr;
    grid-template-rows: 190px 1fr;
  }

  .home-pathway-card > img {
    height: 190px;
    min-height: 0;
  }

  .home-experience-steps {
    grid-template-columns: 1fr;
  }

  .home-experience-steps li {
    min-height: auto;
  }

  .home-community-card {
    grid-template-columns: 82px 1fr;
    gap: 18px;
    padding: 24px;
  }

  .home-community-card img {
    width: 82px;
    height: 82px;
    padding: 10px;
  }

  .home-date-note {
    text-align: left;
  }
}

@media (max-width: 470px) {
  .home-event-card,
  .home-community-card {
    grid-template-columns: 1fr;
  }

  .home-event-date {
    width: 68px;
  }

  .home-community-card img {
    width: 88px;
    height: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-pathway-card,
  .home-panel-paths a {
    transition: none;
  }
}
