/* =========================
   RESET & BASE
========================= */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f0f4f2;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1a1a1a;
}

/* =========================
   HERO BANNER
========================= */
.jump-hero {
  background: #006a4e;
  color: #fff;
  text-align: center;
  padding: 48px 24px 56px;
}

.jump-logo-wrap {
  display: inline-block;
  background: #fff;
  border-radius: 10px;
  padding: 10px 20px;
  margin-bottom: 24px;
  line-height: 0;
}

.jump-logo {
  height: 52px;
  display: block;
}

.jump-hero h1 {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.jump-hero > p {
  font-size: 17px;
  opacity: 0.78;
  max-width: 400px;
  margin: 0 auto;
}

/* =========================
   MAIN
========================= */
.portal-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 52px 24px;
}

/* =========================
   PORTAL CARDS GRID
========================= */
.portal-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 800px;
  width: 100%;
}

/* =========================
   PORTAL CARD
========================= */
.portal-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #d1ddd8;
  padding: 40px 30px 36px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05), 0 6px 20px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* top accent bar */
.portal-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: 14px 14px 0 0;
}

.portal-card.student::before { background: #f97316; }
.portal-card.faculty::before  { background: #006a4e; }

.portal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.12);
}

/* =========================
   PORTAL ICON CIRCLE
========================= */
.portal-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.portal-card.student .portal-icon {
  background: #fff1e6;
  border: 1px solid #fed7aa;
}

.portal-card.faculty .portal-icon {
  background: #e6f4ee;
  border: 1px solid #a7d4bc;
}

/* =========================
   CARD TEXT
========================= */
.portal-card h2 {
  font-size: 21px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 10px;
}

.portal-card p {
  font-size: 14.5px;
  color: #6b7280;
  line-height: 1.65;
  margin-bottom: 28px;
  flex: 1;
}

/* =========================
   PORTAL BUTTON
========================= */
.portal-btn {
  display: inline-block;
  padding: 11px 28px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.18s ease;
  cursor: pointer;
}

.portal-card.student .portal-btn {
  background: #f97316;
  color: #fff;
}
.portal-card.student .portal-btn:hover { background: #ea580c; }

.portal-card.faculty .portal-btn {
  background: #006a4e;
  color: #fff;
}
.portal-card.faculty .portal-btn:hover { background: #004d38; }

/* =========================
   FOOTER
========================= */
.jump-footer {
  text-align: center;
  font-size: 13px;
  color: #9ca3af;
  padding: 18px 20px;
  border-top: 1px solid #d1ddd8;
  background: #e8efec;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 620px) {
  .jump-hero { padding: 36px 20px 44px; }
  .jump-hero h1 { font-size: 28px; }
  .jump-hero > p { font-size: 15px; }

  .portal-section {
    grid-template-columns: 1fr;
  }

  .portal-main {
    padding: 36px 16px;
  }
}
