/* =========================================================
   Alumni Universitas Pancasila — Mobile First Design System
   Pages: Home, About, News, Gallery, Contact, Sign Up, Login
   ========================================================= */

:root {
  --primary: #c8262d;
  --primary-dark: #8f171c;
  --primary-900: #5f0f14;
  --primary-soft: #fdf0f1;
  --secondary: #f4b400;
  --success: #22c55e;
  --danger: #ef4444;
  --ink: #2b3648;
  --muted: #5d6b82;
  --line: #dbe4f0;
  --surface: #ffffff;
  --surface-soft: #fffafa;
  --shadow: 0 18px 55px rgba(143, 23, 28, 0.1);
  --shadow-soft: 0 10px 30px rgba(143, 23, 28, 0.08);
  --radius: 22px;
  --radius-lg: 32px;
  --container: 1480px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(
    --gh-font-body,
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif
  );
  color: var(--ink);
  background:
    radial-gradient(
      circle at 8% 18%,
      rgba(200, 38, 45, 0.08),
      transparent 22rem
    ),
    radial-gradient(
      circle at 92% 12%,
      rgba(244, 180, 0, 0.1),
      transparent 18rem
    ),
    #fff;
  line-height: 1.55;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}
.section {
  padding: 48px 0;
}
.section-tight {
  padding: 32px 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
.hero-title,
.page-title {
  font-size: clamp(2.15rem, 8.5vw, 4.5rem);
  line-height: 1.03;
  letter-spacing: -0.06em;
  margin: 16px 0 18px;
}
.section-title {
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.045em;
  margin: 0;
}
.lead {
  color: var(--muted);
  font-size: 1rem;
  max-width: 680px;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.88rem;
}
.text-center {
  text-align: center;
}
.mt-16 {
  margin-top: 16px;
}
.mt-24 {
  margin-top: 24px;
}
.mt-32 {
  margin-top: 32px;
}
.desktop-only {
  display: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(200, 38, 45, 0.04);
  padding: 0;
  transition: all 0.3s ease;
}
.navbar {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border: none;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  line-height: 1.05;
  color: var(--primary-900);
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--primary);
  font-weight: 800;
  font-size: 1.1rem;
}
.brand span {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--primary);
}
.nav-toggle i,
.nav-toggle i::before,
.nav-toggle i::after {
  content: '';
  width: 18px;
  height: 2px;
  display: block;
  background: currentColor;
  border-radius: 4px;
  position: relative;
}
.nav-toggle i::before {
  position: absolute;
  top: -6px;
}
.nav-toggle i::after {
  position: absolute;
  top: 6px;
}
.nav-menu {
  display: none;
  position: absolute;
  left: 16px;
  right: 16px;
  top: 84px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.nav-menu.is-open {
  display: block;
}
.nav-links,
.nav-actions {
  display: grid;
  gap: 8px;
}
.nav-link {
  padding: 10px 14px;
  border-radius: 10px;
  color: #334155;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  position: relative;
}
.nav-link:hover {
  color: var(--primary);
}
.nav-actions {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 900;
  line-height: 1;
  transition: 0.2s ease;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 12px 24px rgba(200, 38, 45, 0.22);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(200, 38, 45, 0.28);
}
.btn-secondary {
  color: var(--primary-dark);
  background: #fff;
  border-color: var(--line);
}
.btn-ghost {
  color: var(--primary);
  background: transparent;
  border-color: transparent;
}
.btn-white {
  color: var(--primary-dark);
  background: #fff;
  border-color: #fff;
}
.btn-block {
  width: 100%;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 36px 0 28px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 768px) {
  .hero {
    border-bottom: none !important;
  }
}
.hero::before,
.page-hero::before {
  content: '';
  position: absolute;
  inset: auto -20% 8% 45%;
  height: 220px;
  background: linear-gradient(
    135deg,
    rgba(200, 38, 45, 0.16),
    rgba(244, 180, 0, 0.18)
  );
  border-radius: 999px;
  transform: rotate(-10deg);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.hero-media {
  position: relative;
  min-height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(
      circle at 70% 24%,
      rgba(244, 180, 0, 0.95) 0 8%,
      transparent 9%
    ),
    radial-gradient(
      circle at 62% 45%,
      rgba(200, 38, 45, 0.95) 0 34%,
      transparent 35%
    ),
    linear-gradient(140deg, #fdf2f3, #fff);
  box-shadow: var(--shadow);
  border: 1px solid rgba(219, 228, 240, 0.9);
}
.hero-media::before {
  content: '';
  position: absolute;
  inset: 18px;
  opacity: 0.36;
  border-radius: 24px;
  background:
    linear-gradient(rgba(200, 38, 45, 0.16), rgba(200, 38, 45, 0.02)),
    repeating-linear-gradient(
      90deg,
      transparent 0 20px,
      rgba(200, 38, 45, 0.09) 21px 22px
    );
}
.hero-people {
  position: absolute;
  inset: auto 5% 0 5%;
  height: 88%;
  display: grid;
  place-items: end center;
}
.people-card {
  width: min(92%, 520px);
  aspect-ratio: 1.55/1;
  border-radius: 28px 28px 0 0;
  background:
    radial-gradient(circle at 34% 34%, #fff 0 3%, transparent 4%),
    radial-gradient(circle at 50% 26%, #fff 0 3%, transparent 4%),
    radial-gradient(circle at 65% 36%, #fff 0 3%, transparent 4%),
    linear-gradient(to top, #091a39 0 42%, transparent 43%);
  position: relative;
}
.people-card::after {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 74%;
  background:
    linear-gradient(
      80deg,
      transparent 0 7%,
      #0c1c3a 8% 18%,
      transparent 19% 25%,
      #07142e 26% 37%,
      transparent 38% 44%,
      #0f2144 45% 58%,
      transparent 59% 65%,
      #081630 66% 78%,
      transparent 79%
    ),
    linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.22));
  clip-path: polygon(8% 0, 96% 2%, 100% 100%, 0 100%);
  opacity: 0.96;
}
.people-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  opacity: 0.9;
}
.stats-grid,
.features-grid,
.cards-grid,
.news-grid,
.gallery-grid,
.value-grid,
.contact-cards,
.impact-grid {
  display: grid;
  gap: 14px;
}
.stats-grid {
  margin-top: 24px;
  position: relative;
  z-index: 10;
}
.stat-card,
.feature-card,
.profile-card,
.event-card,
.news-card,
.value-card,
.info-card,
.form-card,
.timeline-item,
.partner-card,
.gallery-card,
.metric-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.stat-card {
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 900;
  flex: 0 0 auto;
}
.stat-card strong {
  font-size: 1.55rem;
  line-height: 1;
  color: var(--primary);
}
.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Cards */
.feature-card {
  padding: 18px;
}
.feature-card h3,
.profile-card h3,
.event-card h3,
.news-card h3,
.value-card h3 {
  margin: 10px 0 6px;
}
.feature-card p,
.news-card p,
.event-card p,
.value-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}
.card-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.section-link {
  color: var(--primary);
  font-weight: 900;
  font-size: 0.8rem;
}
.event-card {
  overflow: hidden;
}
.card-img {
  height: 155px;
  background:
    linear-gradient(135deg, rgba(200, 38, 45, 0.75), rgba(7, 26, 61, 0.35)),
    radial-gradient(
      circle at 70% 30%,
      rgba(244, 180, 0, 0.42),
      transparent 34%
    ),
    linear-gradient(135deg, #f2a3a7, #fdf0f1);
  position: relative;
}
.card-img.building {
  background:
    linear-gradient(135deg, rgba(200, 38, 45, 0.82), rgba(7, 26, 61, 0.35)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='360'%3E%3Crect fill='%23eaf3ff' width='700' height='360'/%3E%3Cpath d='M70 310h560V120L350 48 70 120z' fill='%23ffffff' opacity='.72'/%3E%3Cpath d='M105 305V145h490v160M150 160v130M220 160v130M290 160v130M360 160v130M430 160v130M500 160v130M570 160v130' stroke='%230047a7' stroke-width='8' opacity='.28'/%3E%3C/svg%3E")
      center/cover;
}
.card-img.people {
  background:
    linear-gradient(135deg, rgba(143, 23, 28, 0.78), rgba(200, 38, 45, 0.35)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='360'%3E%3Crect fill='%23dbeafe' width='700' height='360'/%3E%3Ccircle cx='160' cy='125' r='34' fill='%23fff'/%3E%3Ccircle cx='300' cy='115' r='34' fill='%23fff'/%3E%3Ccircle cx='445' cy='130' r='34' fill='%23fff'/%3E%3Cpath d='M90 310c30-96 105-96 140 0M235 310c30-96 105-96 140 0M380 310c30-96 105-96 140 0' fill='%23071a3d' opacity='.82'/%3E%3C/svg%3E")
      center/cover;
}
.card-img.career {
  background:
    linear-gradient(135deg, rgba(200, 38, 45, 0.75), rgba(7, 26, 61, 0.45)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='360'%3E%3Crect fill='%23eef6ff' width='700' height='360'/%3E%3Crect x='90' y='90' width='520' height='210' rx='28' fill='%23ffffff' opacity='.9'/%3E%3Cpath d='M150 170h400M150 220h300M150 260h210' stroke='%230047a7' stroke-width='16' stroke-linecap='round' opacity='.35'/%3E%3C/svg%3E")
      center/cover;
}
.event-card-content,
.news-card-content {
  padding: 16px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 900;
}
.badge-success {
  background: #eafaf0;
  color: #15803d;
}
.meta {
  color: var(--muted);
  font-size: 0.84rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.profile-card {
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.avatar {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f8d6d8, #fff);
  border: 1px solid var(--line);
  overflow: hidden;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--primary);
  font-weight: 900;
}
.avatar::before {
  content: attr(data-initial);
}
.profile-card h3 {
  font-size: 1rem;
  margin: 0;
}
.profile-card p {
  font-size: 0.84rem;
  color: var(--muted);
  margin: 2px 0 6px;
}
.partners {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.partner-card {
  padding: 18px;
  min-height: 68px;
  display: grid;
  place-items: center;
  font-weight: 950;
  color: var(--primary-dark);
}

/* Page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 28px;
  background: linear-gradient(
    180deg,
    rgba(234, 243, 255, 0.58),
    rgba(255, 255, 255, 0)
  );
  border-bottom: 1px solid var(--line);
}
.page-hero-inner {
  position: relative;
  z-index: 2;
}
.hero-visual {
  min-height: 230px;
  margin-top: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background:
    radial-gradient(circle at 65% 28%, var(--secondary) 0 10%, transparent 11%),
    radial-gradient(circle at 58% 48%, var(--primary) 0 34%, transparent 35%),
    linear-gradient(135deg, #f5f9ff, #fff);
  position: relative;
  overflow: hidden;
}

/* About */
.two-col {
  display: grid;
  gap: 18px;
}
.value-card,
.info-card,
.metric-card {
  padding: 18px;
}
.timeline {
  display: grid;
  gap: 14px;
}
.timeline-item {
  padding: 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
}

/* News */
.featured-news {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  box-shadow: var(--shadow);
}
.featured-news .featured-content {
  padding: 22px;
}
.featured-news .card-img {
  height: 220px;
}
.news-card {
  overflow: hidden;
}
.filters {
  display: flex;
  gap: 10px;
  overflow: auto;
  /* padding-bottom: 8px; */
  -webkit-overflow-scrolling: touch;
}
.filter-chip {
  white-space: nowrap;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--primary-dark);
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 900;
}
.filter-chip.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.page-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 900;
}
.page-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Gallery */
.searchbar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 14px;
  min-height: 48px;
  box-shadow: var(--shadow-soft);
}
.searchbar input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
}
.gallery-card {
  overflow: hidden;
  position: relative;
  min-height: 210px;
  display: flex;
  align-items: end;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(143, 23, 28, 0.92), rgba(200, 38, 45, 0.3)),
    #f6d2d4;
}
.gallery-card.large {
  min-height: 340px;
}
.gallery-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      rgba(255, 255, 255, 0.6) 0 3%,
      transparent 4%
    ),
    radial-gradient(
      rgba(255, 255, 255, 0.6) 0 3%,
      transparent 4%
    ),
    radial-gradient(
      rgba(255, 255, 255, 0.6) 0 3%,
      transparent 4%
    ),
    linear-gradient(to top, rgba(95, 15, 20, 0.85), transparent 65%);
}
.gallery-card-content {
  position: relative;
  z-index: 2;
  padding: 18px;
}

/* Contact */
.contact-cards {
  grid-template-columns: 1fr;
}
.contact-card {
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.form-card {
  padding: 18px;
}
.form-grid {
  display: grid;
  gap: 14px;
}
.field {
  display: grid;
  gap: 7px;
}
.field label {
  font-size: 0.9rem;
  font-weight: 900;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 12px 14px;
  color: var(--ink);
  outline: 0;
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(200, 38, 45, 0.1);
}
.map-card {
  min-height: 310px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  background:
    linear-gradient(rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.64)),
    repeating-linear-gradient(
      0deg,
      transparent 0 38px,
      rgba(200, 38, 45, 0.1) 39px 40px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0 52px,
      rgba(200, 38, 45, 0.1) 53px 54px
    ),
    #fcebed;
  position: relative;
  overflow: hidden;
}
.map-pin {
  position: absolute;
  inset: 42% auto auto 48%;
  width: 44px;
  height: 44px;
  border-radius: 50% 50% 50% 0;
  background: var(--primary);
  transform: rotate(-45deg);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 12px 24px rgba(200, 38, 45, 0.25);
}
.map-pin span {
  transform: rotate(45deg);
}
.faq-item {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-weight: 850;
}

/* Auth */
.auth-wrap {
  display: grid;
  gap: 22px;
  align-items: center;
}
.auth-side {
  border-radius: var(--radius-lg);
  padding: 22px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.92),
      rgba(234, 243, 255, 0.84)
    ),
    radial-gradient(
      circle at 12% 80%,
      rgba(244, 180, 0, 0.35),
      transparent 15rem
    );
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.benefit-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.auth-card {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.step {
  text-align: center;
  color: var(--muted);
  font-weight: 850;
  font-size: 0.72rem;
}
.step span {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  margin: 0 auto 6px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
}
.step.active {
  color: var(--primary);
}
.step.active span {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  margin: 18px 0;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  height: 1px;
  background: var(--line);
  flex: 1;
}
.social-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

/* CTA + footer */
.cta-band {
  border-radius: var(--radius-lg);
  padding: 24px;
  color: #fff;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(
      circle at 88% 20%,
      rgba(244, 180, 0, 0.28),
      transparent 18rem
    ),
    linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: var(--shadow);
}
.cta-band::after,
.site-footer::after {
  content: '';
  position: absolute;
  inset: auto -12% -30% auto;
  width: 460px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 38px;
  transform: rotate(-8deg);
}
.cta-band-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}
.newsletter {
  display: grid;
  gap: 10px;
}
.newsletter input {
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.94);
  padding: 12px 14px;
}
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 64px;
  padding: 64px 0 32px;
  color: #e2e8f0;
  background:
    radial-gradient(
      circle at 78% 10%,
      rgba(200, 38, 45, 0.3),
      transparent 24rem
    ),
    linear-gradient(135deg, #5f0f14, #8f171c);
}
.footer-grid {
  display: grid;
  gap: 32px;
}
.footer-brand p {
  color: #94a3b8;
  font-size: 0.94rem;
  line-height: 1.5;
}
.footer-brand .brand {
  color: #fff;
  margin-bottom: 16px;
}
.footer-brand .brand small {
  color: #94a3b8;
}
.footer-col h3 {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 18px;
}
.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 0.94rem;
  color: #cbd5e1;
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: #fff;
}
.socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.socials a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.2s ease;
}
.socials a:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  transform: translateY(-2px);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #cbd5e1;
  font-size: 0.94rem;
  line-height: 1.4;
}
.contact-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.8);
}
.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 48px;
  padding-top: 24px;
  color: var(--line);
  font-size: 0.88rem;
  text-align: center;
}
.footer-bg-building {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: url('https://minio.bangun-kreatif.com/api/v1/buckets/alumni-up-web/objects/download?preview=true&prefix=footer_building_white_transparent_1920.png&version_id=null')
    no-repeat right bottom / contain;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}
.footer-grid,
.copyright {
  position: relative;
  z-index: 1;
}

/* Responsive */
@media (min-width: 560px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .impact-stats-row {
    flex-wrap: wrap;
  }
  .impact-stat-item {
    flex: 0 0 33.333%;
    margin-bottom: 12px;
  }
  .impact-stat-item:nth-child(n + 4) {
    margin-bottom: 0;
  }
  .partners {
    grid-template-columns: repeat(3, 1fr);
  }
  .social-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 760px) {
  .section {
    padding: 64px 0;
  }
  .hero-grid {
    grid-template-columns: 0.94fr 1.06fr;
  }
  .hero {
    padding: 54px 0 0;
  }
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .contact-cards {
    grid-template-columns: repeat(4, 1fr);
  }
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
  .featured-news {
    grid-template-columns: 1fr 1fr;
  }
  .featured-news .card-img {
    height: auto;
  }
  .gallery-layout {
    display: grid;
    grid-template-columns: 1.1fr 2fr;
    gap: 16px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .auth-wrap {
    grid-template-columns: 0.85fr 1.15fr;
  }
  .form-grid.two {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1.5fr;
  }
  .newsletter {
    grid-template-columns: 1fr auto;
  }
  .desktop-only {
    display: block;
  }
}
@media (min-width: 1020px) {
  .nav-toggle {
    display: none;
  }
  .nav-menu {
    position: static;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    border-radius: 0;
    margin-left: 32px;
  }
  .nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 auto;
  }
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 0;
    border-left: 1px solid var(--line);
    margin-top: 0;
    padding-top: 0;
    padding-left: 20px;
  }
  .nav-link {
    padding: 10px 16px;
  }
  .hero-media {
    min-height: 360px;
  }
  .hero-img {
    width: 110% !important;
    max-width: none !important;
    max-height: none !important;
    transform: translate(-12%, 10%);
    position: relative;
    z-index: 1;
  }
  .features-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .news-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .value-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .impact-stats-row {
    flex-wrap: nowrap;
  }
  .impact-stat-item {
    flex: 1;
    margin-bottom: 0;
  }
}

/* Ghost theme integration */
.home-template .nav-home,
.page-about .nav-about,
.page-news .nav-news,
.index-template .nav-news,
.news-index-active .nav-news,
.page-gallery .nav-gallery,
.page-contact .nav-contact,
.tag-template .nav-news,
.author-template .nav-news,
.post-template .nav-news,
.nav-menu .nav-current {
  background: transparent !important;
  color: var(--primary) !important;
  font-weight: 700;
  position: relative;
}
.home-template .nav-home::after,
.page-about .nav-about::after,
.page-news .nav-news::after,
.index-template .nav-news::after,
.news-index-active .nav-news::after,
.page-gallery .nav-gallery::after,
.page-contact .nav-contact::after,
.nav-menu .nav-current::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 3px;
  background: var(--primary) !important;
  border-radius: 99px;
}
@media (min-width: 1020px) {
  .home-template .nav-home::after,
  .page-about .nav-about::after,
  .page-news .nav-news::after,
  .index-template .nav-news::after,
  .news-index-active .nav-news::after,
  .page-gallery .nav-gallery::after,
  .page-contact .nav-contact::after,
  .nav-menu .nav-current::after {
    left: 16px;
    right: 16px;
  }
}
.site-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 10px;
}
.post-content-wrap {
  width: min(100% - 32px, 860px);
  margin-inline: auto;
  padding: 48px 0;
}
.post-header {
  padding: 52px 0 20px;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(234, 243, 255, 0.72),
    rgba(255, 255, 255, 0)
  );
  border-bottom: 1px solid var(--line);
}
.post-title {
  font-size: clamp(2.1rem, 7vw, 4.3rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
  margin: 0 0 14px;
}
.post-meta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}
.post-feature-image {
  width: min(100% - 32px, 1040px);
  margin: 24px auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.post-feature-image img {
  width: 100%;
  height: auto;
}
.gh-content {
  font-size: 1.05rem;
  color: #14264a;
}
.gh-content > * + * {
  margin-top: 1.15em;
}
.gh-content h2,
.gh-content h3 {
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.12;
  margin-top: 1.7em;
}
.gh-content a {
  color: var(--primary);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.gh-content img {
  height: auto;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}
.gh-content blockquote {
  margin: 1.5em 0;
  padding: 18px 20px;
  border-left: 4px solid var(--primary);
  background: var(--primary-soft);
  border-radius: 0 18px 18px 0;
  color: var(--primary-dark);
}
.gh-content pre {
  overflow: auto;
  padding: 18px;
  border-radius: 18px;
  background: #071a3d;
  color: #fbe5e7;
}
.gh-content code {
  font-size: 0.9em;
  background: var(--primary-soft);
  padding: 0.18em 0.35em;
  border-radius: 0.4em;
  color: var(--primary-dark);
}
.gh-content pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}
.kg-card {
  margin: 2rem 0;
}
.kg-image-card img,
.kg-gallery-image img {
  width: 100%;
}
.dynamic-img {
  background-size: cover;
  background-position: center;
}
.page-template .post-content-wrap {
  padding-top: 32px;
}
/* Already defined in active rules block */
@media (min-width: 760px) {
  .post-content-wrap {
    padding: 68px 0;
  }
  .gh-content {
    font-size: 1.12rem;
  }
}

/* Ghost editor required width classes */
.kg-width-wide {
  width: min(100vw - 32px, 1100px);
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}
.kg-width-full {
  width: 100vw;
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}
.kg-width-full img {
  width: 100%;
  border-radius: 0;
}
h1,
h2,
h3,
.hero-title,
.page-title,
.section-title,
.post-title {
  font-family: var(
    --gh-font-heading,
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif
  );
}

/* =========================================================
   Figma Home Layout Enhancements
   ========================================================= */

.hero-media {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  min-height: auto !important;
  padding: 0 !important;
  overflow: visible !important;
}
.hero-media::before {
  display: none !important;
}
.hero-img {
  width: 100%;
  height: auto;
  max-height: 560px !important;
  object-fit: contain;
}

/* Typography Line Constraints */
.hero-title {
  font-size: clamp(2.15rem, 5vw, 3.5rem) !important;
  max-width: 720px;
}
.hero-copy .lead {
  max-width: 530px !important;
}

@media (min-width: 1020px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 99px;
  background: #fff7ed !important;
  color: #c2410c !important;
  border: 1px solid #fed7aa;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0;
}
.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffedd5;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.8rem;
}

.home-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 48px 0;
}
.home-left-col,
.home-right-col {
  min-width: 0 !important;
}
@media (min-width: 1020px) {
  .home-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
  }
}

.home-section {
  position: relative;
}

/* Centered Stats Icons */
.stats-grid .stat-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: left !important;
  padding: 18px 18px !important;
  gap: 12px !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  box-shadow: 0 4px 16px rgba(200, 38, 45, 0.015) !important;
}
.stats-grid .stat-card .icon {
  width: 54px !important;
  height: 54px !important;
  border-radius: 35% !important;
  background: #fdf0f1 !important;
  color: var(--primary) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
}
.stats-grid .stat-card .icon svg {
  width: 24px !important;
  height: 24px !important;
}
.stats-grid .stat-card strong {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: var(--primary) !important;
  line-height: 1.2 !important;
  display: block !important;
}
.stats-grid .stat-card span {
  font-size: 0.76rem !important;
  color: #64748b !important;
  margin-top: 1px !important;
  display: block !important;
}

/* Feature Cards 3-Col Compact Grid Layout */
.features-grid-2col {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 12px !important;
  overflow-x: visible !important;
  padding: 8px 4px !important;
}
@media (max-width: 759px) {
  .features-grid-2col {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 480px) {
  .features-grid-2col {
    grid-template-columns: 1fr !important;
  }
}

.features-grid-2col .feature-card {
  flex: none !important;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 16px;
  padding: 16px 12px !important;
  box-shadow: 0 4px 20px rgba(200, 38, 45, 0.02);
  transition: all 0.3s ease;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}
.features-grid-2col .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(200, 38, 45, 0.06);
  border-color: rgba(200, 38, 45, 0.15);
}
.features-grid-2col .feature-card h3 {
  font-size: 0.92rem !important;
  font-weight: 700;
  margin: 10px 0 6px !important;
  color: var(--primary-900);
}
.features-grid-2col .feature-card p {
  font-size: 0.78rem !important;
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
}

.icon-badge {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50%;
  background: #fdf0f1;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-badge svg {
  width: 18px !important;
  height: 18px !important;
}

/* Carousel/Horizontal Track for Alumni Inspiratif */
.alumni-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.alumni-scroll-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px;
  scrollbar-width: none;
}
.alumni-scroll-track::-webkit-scrollbar {
  display: none;
}
.alumni-scroll-track .profile-card {
  flex: 0 0 380px;
  scroll-snap-align: start;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 16px;
  padding: 8px 16px;
  box-shadow: 0 4px 20px rgba(200, 38, 45, 0.02);
  display: flex;
  gap: 16px;
  align-items: center;
  transition: all 0.3s ease;
}
.alumni-scroll-track .profile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(200, 38, 45, 0.06);
  border-color: rgba(200, 38, 45, 0.15);
}
.avatar-wrapper {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid #fdf0f1;
}
.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.company-text {
  color: var(--primary);
  font-weight: 700;
}
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--muted);
}
.carousel-nav:hover {
  background: var(--primary-soft);
  color: var(--primary);
  border-color: var(--primary);
}
.carousel-nav.prev {
  left: -18px;
}
.carousel-nav.next {
  right: -18px;
}

/* Event Cards 3-Col Grid Layout */
.event-grid-3col {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 12px !important;
}
@media (max-width: 759px) {
  .event-grid-3col {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 480px) {
  .event-grid-3col {
    grid-template-columns: 1fr !important;
  }
}

.event-grid-3col .event-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(200, 38, 45, 0.02);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}
.event-grid-3col .event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(200, 38, 45, 0.06);
  border-color: rgba(200, 38, 45, 0.15);
}
.event-img-wrapper {
  position: relative;
  width: 100%;
  height: 140px;
  overflow: hidden;
  background: #fdf0f1;
}
.event-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.event-grid-3col .event-card:hover .event-banner-img {
  transform: scale(1.05);
}
.event-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(200, 38, 45, 0.85) !important;
  color: #ffffff !important;
  font-weight: 700;
  border: none;
  backdrop-filter: blur(4px);
}
.event-card-content {
  padding: 14px 12px !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}
.event-grid-3col .event-card h3 {
  font-size: 0.88rem !important;
  font-weight: 700;
  line-height: 1.35;
  margin: 6px 0 10px !important;
  color: var(--primary-900);
}
.event-details {
  display: flex;
  flex-direction: column;
  gap: 5px !important;
  margin-bottom: 10px !important;
}
.event-detail-item {
  display: flex;
  align-items: center;
  gap: 6px !important;
  color: var(--muted);
  font-size: 0.76rem !important;
  font-weight: 500;
}
.event-detail-item svg {
  color: var(--primary);
  flex-shrink: 0;
  width: 13px !important;
  height: 13px !important;
}
.event-detail-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.78rem !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
  margin-top: auto;
}
.event-detail-link:hover {
  gap: 8px;
}

/* Partners Logo Grid */
.partners-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 559px) {
  .partners-logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.partner-logo-item {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 12px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(200, 38, 45, 0.01);
  transition: all 0.3s ease;
  padding: 8px;
}
.partner-logo-item img {
  max-width: 80% !important;
  max-height: 28px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}
.partner-logo-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 38, 45, 0.05);
  border-color: rgba(200, 38, 45, 0.12);
}

/* Premium Newsletter Layout */
.cta-band {
  background:
    radial-gradient(
      circle at 88% 20%,
      rgba(244, 180, 0, 0.28),
      transparent 18rem
    ),
    linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
}
.cta-band-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cta-text-side {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.cta-text-side h2 {
  margin-bottom: 6px;
}
.mail-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media (min-width: 1020px) {
  .cta-band-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
  }
  .cta-text-side {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .newsletter {
    flex-shrink: 0;
    width: 440px;
  }
}

/* =========================================================
   ABOUT PAGE STYLES 
   ========================================================= */

/* Hero Section */
.page-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.hero-content {
  flex: 1;
  max-width: 600px;
}
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}
.hero-image {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 500px; /* Mencegah gambar terlalu besar */
}
.eyebrow {
  display: inline-block;
  background: #fdf3d8;
  color: #b38200;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* 2-Column Main Section */
.two-col {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.col-left,
.col-right {
  flex: 1;
  min-width: 300px;
}

/* Info Cards (Misi Visi) */
.info-cards-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.info-card {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.info-card h2 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 20px;
  border-left: 2px solid var(--line);
}
.timeline-item {
  position: relative;
  padding-bottom: 24px;
  padding-left: 20px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 0;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
}

/* Value Grid */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.value-card {
  background: var(--surface);
  padding: 14px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

/* Leadership Carousel */
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.carousel-wrapper {
  overflow-x: auto;
  padding-bottom: 10px;
}
.cards-grid.horizontal-scroll {
  display: flex;
  gap: 16px;
}

/* Impact Section */
.impact-stats-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 14px;
}
.impact-stat-item {
  flex: 1 1 calc(33.333% - 14px);
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}
.impact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  flex-shrink: 0;
}
.impact-text h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heading);
  margin: 0;
  line-height: 1.2;
}
.impact-text p {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 2px 0 0;
  line-height: 1.3;
  white-space: nowrap;
}

/* CTA Banner */
.cta-banner {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  border-radius: var(--radius-lg);
  color: white;
  gap: 24px;
  overflow: hidden;
  position: relative;
}
.cta-banner.blue-bg {
  background: linear-gradient(to left, var(--primary-dark), var(--primary));
}
.cta-banner-content {
  flex: 1.2;
  min-width: 320px;
  margin: 30px 0;
}
.cta-banner-content h2 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 8px;
}
.cta-banner-content p {
  font-size: 0.95rem;
  opacity: 0.9;
}
.cta-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  margin: 40px 0;
  flex: 1;
}
.cta-banner-actions .btn {
  white-space: nowrap;
}
.cta-banner-visual {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  align-self: stretch;
}
.cta-banner-visual img {
  position: absolute;
  bottom: -20px;
  right: 0;
  height: 100%;
  max-height: 250px;
  width: auto;
  object-fit: cover;
  object-position: right bottom;
  display: block;
  opacity: 0.3;
}
.btn-white {
  background: white;
  color: var(--primary);
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}
.btn-transparent.outline-white {
  background: transparent;
  border: 2px solid white;
  color: white;
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

/* Responsive Overrides */
@media (max-width: 768px) {
  .page-hero-inner,
  .two-col,
  .info-cards-row,
  .cta-banner {
    flex-direction: column;
  }
}

/* =========================================================
   TWEAKS FOR HORIZONTAL TIMELINE & INFO CARDS
   ========================================================= */

.info-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}
.info-card-header h2 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--primary);
}
.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 50%;
  font-size: 1.2rem;
}

.timeline-section h2.section-title {
  color: var(--primary-dark);
}

.timeline-horizontal {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 30px;
}
.timeline-horizontal::before {
  content: '';
  position: absolute;
  top: 28px; /* Di tengah ikon ukuran 56px */
  left: 30px;
  right: 30px;
  height: 2px;
  background: var(--line);
  z-index: 0;
}
.timeline-item-h {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 5px;
}
.timeline-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background-color: var(--primary-soft);
  color: var(--primary);
  border-radius: 50%;
  margin-bottom: 16px;
  border: none;
}
.timeline-icon svg {
  width: 28px;
  height: 28px;
}
.timeline-year {
  display: flex;
  text-align: center;
  justify-content: center;
  font-weight: 800;
  color: var(--primary-dark);
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.timeline-text {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
  max-width: 140px; /* Agar teks tidak terlalu melebar */
}

@media (max-width: 1200px) {
  .timeline-horizontal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 16px;
  }
  .timeline-horizontal::before {
    display: none;
  }
  .timeline-item-h {
    padding: 0;
  }
  .timeline-text {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .timeline-horizontal {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 12px;
  }
}

/* =========================================================
   TWEAKS FOR FULL WIDTH LAYOUT (VALUES & LEADERSHIP)
   ========================================================= */

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .value-grid {
    grid-template-columns: 1fr;
  }
}

.carousel-container {
  position: relative;
  /* margin-top: 24px; */
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: white;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
}

.carousel-arrow.prev {
  left: -20px;
}

.carousel-arrow.next {
  right: -20px;
}

.carousel-arrow:hover {
  background: var(--primary-soft);
}

.carousel-wrapper {
  width: 100%;
  overflow: hidden;
}

.cards-grid.horizontal-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 12px 4px 4px 4px;
  scrollbar-width: none; /* Firefox */
}

.cards-grid.horizontal-scroll::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.leadership-section .profile-card {
  flex: 0 0 calc(33.333% - 10px);
  min-width: 150px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: none;
}

.avatar-photo {
  width: 100%;
  aspect-ratio: 4 / 4;
  background-size: cover;
  background-position: top center;
  border-radius: 10px;
  background-color: var(--line);
}

.profile-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 4px 0;
}

.profile-info p.muted {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
  margin: 0 0 12px 0;
}

.badge-success {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ecfdf5;
  color: #10b981;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
}

/* =========================================================
   RESPONSIVE: About Page Sections
   ========================================================= */

@media (max-width: 768px) {
  .info-cards-row {
    grid-template-columns: 1fr;
  }
  .cards-grid.horizontal-scroll {
    flex-wrap: wrap;
  }
  .leadership-section .profile-card {
    flex: 0 0 calc(50% - 8px);
  }
  .carousel-arrow {
    display: none;
  }
}

@media (max-width: 480px) {
  .leadership-section .profile-card {
    flex: 1 1 100%;
  }
}

/* =========================================================
   Alumni Universitas Pancasila — Mobile First Design System
   Pages: Home, About, News, Gallery, Contact, Sign Up, Login
   ========================================================= */

:root {
  --primary: #c8262d;
  --primary-dark: #8f171c;
  --primary-900: #5f0f14;
  --primary-soft: #fdf0f1;
  --secondary: #f4b400;
  --success: #22c55e;
  --danger: #ef4444;
  --ink: #1F2937;
  --muted: #5d6b82;
  --line: #dbe4f0;
  --surface: #ffffff;
  --surface-soft: #fffafa;
  --shadow: 0 18px 55px rgba(143, 23, 28, 0.1);
  --shadow-soft: 0 10px 30px rgba(143, 23, 28, 0.08);
  --radius: 22px;
  --radius-lg: 32px;
  --container: 1480px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(
    --gh-font-body,
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif
  );
  color: var(--ink);
  background:
    radial-gradient(
      circle at 8% 18%,
      rgba(200, 38, 45, 0.08),
      transparent 22rem
    ),
    radial-gradient(
      circle at 92% 12%,
      rgba(244, 180, 0, 0.1),
      transparent 18rem
    ),
    #fff;
  line-height: 1.55;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}
.section {
  padding: 48px 0;
}
.section-tight {
  padding: 32px 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
.hero-title,
.page-title {
  font-size: clamp(2.15rem, 8.5vw, 4.5rem);
  line-height: 1.03;
  letter-spacing: -0.06em;
  margin: 16px 0 18px;
}
.section-title {
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.lead {
  color: var(--muted);
  font-size: 1rem;
  max-width: 680px;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.88rem;
}
.text-center {
  text-align: center;
}
.mt-16 {
  margin-top: 16px;
}
.mt-24 {
  margin-top: 24px;
}
.mt-32 {
  margin-top: 32px;
}
.desktop-only {
  display: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(200, 38, 45, 0.04);
  padding: 0;
  transition: all 0.3s ease;
}
.navbar {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border: none;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  line-height: 1.05;
  color: var(--primary-900);
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--primary);
  font-weight: 800;
  font-size: 1.1rem;
}
.brand span {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--primary);
}
.nav-toggle i,
.nav-toggle i::before,
.nav-toggle i::after {
  content: '';
  width: 18px;
  height: 2px;
  display: block;
  background: currentColor;
  border-radius: 4px;
  position: relative;
}
.nav-toggle i::before {
  position: absolute;
  top: -6px;
}
.nav-toggle i::after {
  position: absolute;
  top: 6px;
}
.nav-menu {
  display: none;
  position: absolute;
  left: 16px;
  right: 16px;
  top: 84px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.nav-menu.is-open {
  display: block;
}
.nav-links,
.nav-actions {
  display: grid;
  gap: 8px;
}
.nav-link {
  padding: 10px 14px;
  border-radius: 10px;
  color: #334155;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  position: relative;
}
.nav-link:hover {
  color: var(--primary);
}
.nav-actions {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 900;
  line-height: 1;
  transition: 0.2s ease;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 12px 24px rgba(200, 38, 45, 0.22);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(200, 38, 45, 0.28);
}
.btn-secondary {
  color: var(--primary-dark);
  background: #fff;
  border-color: var(--line);
}
.btn-chevron {
  width: 20px;
  height: 20px;
  transition: transform 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: inline-block;
  vertical-align: middle;
}
.btn:hover .btn-chevron,
.section-link:hover .btn-chevron {
  transform: translateX(4px);
}
.btn-ghost {
  color: var(--primary);
  background: transparent;
  border-color: transparent;
}
.btn-white {
  color: var(--primary-dark);
  background: #fff;
  border-color: #fff;
}
.btn-block {
  width: 100%;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 36px 0 28px;
  border-bottom: 1px solid var(--line);
}
.hero::before,
.page-hero::before {
  content: '';
  position: absolute;
  inset: auto -20% 8% 45%;
  height: 220px;
  background: linear-gradient(
    135deg,
    rgba(200, 38, 45, 0.16),
    rgba(244, 180, 0, 0.18)
  );
  border-radius: 999px;
  transform: rotate(-10deg);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.hero-media {
  position: relative;
  min-height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(
      circle at 70% 24%,
      rgba(244, 180, 0, 0.95) 0 8%,
      transparent 9%
    ),
    radial-gradient(
      circle at 62% 45%,
      rgba(200, 38, 45, 0.95) 0 34%,
      transparent 35%
    ),
    linear-gradient(140deg, #fdf2f3, #fff);
  box-shadow: var(--shadow);
  border: 1px solid rgba(219, 228, 240, 0.9);
}
.hero-media::before {
  content: '';
  position: absolute;
  inset: 18px;
  opacity: 0.36;
  border-radius: 24px;
  background:
    linear-gradient(rgba(200, 38, 45, 0.16), rgba(200, 38, 45, 0.02)),
    repeating-linear-gradient(
      90deg,
      transparent 0 20px,
      rgba(200, 38, 45, 0.09) 21px 22px
    );
}
.hero-people {
  position: absolute;
  inset: auto 5% 0 5%;
  height: 88%;
  display: grid;
  place-items: end center;
}
.people-card {
  width: min(92%, 520px);
  aspect-ratio: 1.55/1;
  border-radius: 28px 28px 0 0;
  background:
    radial-gradient(circle at 34% 34%, #fff 0 3%, transparent 4%),
    radial-gradient(circle at 50% 26%, #fff 0 3%, transparent 4%),
    radial-gradient(circle at 65% 36%, #fff 0 3%, transparent 4%),
    linear-gradient(to top, #091a39 0 42%, transparent 43%);
  position: relative;
}
.people-card::after {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 74%;
  background:
    linear-gradient(
      80deg,
      transparent 0 7%,
      #0c1c3a 8% 18%,
      transparent 19% 25%,
      #07142e 26% 37%,
      transparent 38% 44%,
      #0f2144 45% 58%,
      transparent 59% 65%,
      #081630 66% 78%,
      transparent 79%
    ),
    linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.22));
  clip-path: polygon(8% 0, 96% 2%, 100% 100%, 0 100%);
  opacity: 0.96;
}
.people-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  opacity: 0.9;
}
.stats-grid,
.features-grid,
.cards-grid,
.news-grid,
.gallery-grid,
.value-grid,
.contact-cards,
.impact-grid {
  display: grid;
  gap: 14px;
}
.stats-grid {
  margin-top: 24px;
  position: relative;
  z-index: 10;
}
.stat-card,
.feature-card,
.profile-card,
.event-card,
.news-card,
.value-card,
.info-card,
.form-card,
.timeline-item,
.partner-card,
.gallery-card,
.metric-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.stat-card {
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 900;
  flex: 0 0 auto;
}
.stat-card strong {
  font-size: 1.55rem;
  line-height: 1;
  color: var(--primary);
}
.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Cards */
.feature-card {
  padding: 18px;
}
.feature-card h3,
.profile-card h3,
.event-card h3,
.news-card h3,
.value-card h3 {
  margin: 10px 0 6px;
}
.feature-card p,
.news-card p,
.event-card p,
.value-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}
.card-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.section-link {
  color: var(--primary);
  font-weight: 900;
  font-size: 0.8rem;
}
.event-card {
  overflow: hidden;
}
.card-img {
  height: 155px;
  background:
    linear-gradient(135deg, rgba(200, 38, 45, 0.75), rgba(7, 26, 61, 0.35)),
    radial-gradient(
      circle at 70% 30%,
      rgba(244, 180, 0, 0.42),
      transparent 34%
    ),
    linear-gradient(135deg, #f2a3a7, #fdf0f1);
  position: relative;
}
.card-img.building {
  background:
    linear-gradient(135deg, rgba(200, 38, 45, 0.82), rgba(7, 26, 61, 0.35)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='360'%3E%3Crect fill='%23eaf3ff' width='700' height='360'/%3E%3Cpath d='M70 310h560V120L350 48 70 120z' fill='%23ffffff' opacity='.72'/%3E%3Cpath d='M105 305V145h490v160M150 160v130M220 160v130M290 160v130M360 160v130M430 160v130M500 160v130M570 160v130' stroke='%230047a7' stroke-width='8' opacity='.28'/%3E%3C/svg%3E")
      center/cover;
}
.card-img.people {
  background:
    linear-gradient(135deg, rgba(143, 23, 28, 0.78), rgba(200, 38, 45, 0.35)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='360'%3E%3Crect fill='%23dbeafe' width='700' height='360'/%3E%3Ccircle cx='160' cy='125' r='34' fill='%23fff'/%3E%3Ccircle cx='300' cy='115' r='34' fill='%23fff'/%3E%3Ccircle cx='445' cy='130' r='34' fill='%23fff'/%3E%3Cpath d='M90 310c30-96 105-96 140 0M235 310c30-96 105-96 140 0M380 310c30-96 105-96 140 0' fill='%23071a3d' opacity='.82'/%3E%3C/svg%3E")
      center/cover;
}
.card-img.career {
  background:
    linear-gradient(135deg, rgba(200, 38, 45, 0.75), rgba(7, 26, 61, 0.45)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='360'%3E%3Crect fill='%23eef6ff' width='700' height='360'/%3E%3Crect x='90' y='90' width='520' height='210' rx='28' fill='%23ffffff' opacity='.9'/%3E%3Cpath d='M150 170h400M150 220h300M150 260h210' stroke='%230047a7' stroke-width='16' stroke-linecap='round' opacity='.35'/%3E%3C/svg%3E")
      center/cover;
}
.event-card-content,
.news-card-content {
  padding: 16px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 900;
}
.badge-success {
  background: #eafaf0;
  color: #15803d;
}
.meta {
  color: var(--muted);
  font-size: 0.84rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.profile-card {
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.avatar {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f8d6d8, #fff);
  border: 1px solid var(--line);
  overflow: hidden;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--primary);
  font-weight: 900;
}
.avatar::before {
  content: attr(data-initial);
}
.profile-card h3 {
  font-size: 1rem;
  margin: 0;
}
.profile-card p {
  font-size: 0.84rem;
  color: var(--muted);
  margin: 2px 0 6px;
}
.partners {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.partner-card {
  padding: 18px;
  min-height: 68px;
  display: grid;
  place-items: center;
  font-weight: 950;
  color: var(--primary-dark);
}

/* Page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 28px;
  background: linear-gradient(
    180deg,
    rgba(234, 243, 255, 0.58),
    rgba(255, 255, 255, 0)
  );
  border-bottom: 1px solid var(--line);
}
.page-hero-inner {
  position: relative;
  z-index: 2;
}
.hero-visual {
  min-height: 230px;
  margin-top: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background:
    radial-gradient(circle at 65% 28%, var(--secondary) 0 10%, transparent 11%),
    radial-gradient(circle at 58% 48%, var(--primary) 0 34%, transparent 35%),
    linear-gradient(135deg, #f5f9ff, #fff);
  position: relative;
  overflow: hidden;
}

/* About Page Hero Override */
.page-about .hero-visual {
  min-height: auto !important;
  border: none !important;
  box-shadow: none !important;
  background: none !important;
  overflow: visible !important;
}
.page-about .hero-visual::after {
  display: none !important;
}

/* About */
.two-col {
  display: grid;
  gap: 18px;
}
.value-card,
.info-card,
.metric-card {
  padding: 18px;
}
.timeline {
  display: grid;
  gap: 14px;
}
.timeline-item {
  padding: 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
}
/* .timeline-year {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 950;
} */

/* News */
.featured-news {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  box-shadow: var(--shadow);
}
.featured-news .featured-content {
  padding: 22px;
}
.featured-news .card-img {
  height: 220px;
}
.news-card {
  overflow: hidden;
}
/* .filters {
  display: flex;
  gap: 10px;
  overflow: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
} */

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.page-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 900;
}
.page-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Gallery */
.searchbar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 14px;
  min-height: 48px;
  box-shadow: var(--shadow-soft);
}
.searchbar input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
}
.gallery-card {
  overflow: hidden;
  position: relative;
  min-height: 210px;
  display: flex;
  align-items: end;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(143, 23, 28, 0.92), rgba(200, 38, 45, 0.3)),
    #f6d2d4;
}
.gallery-card.large {
  min-height: 340px;
}
.gallery-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      rgba(255, 255, 255, 0.6) 0 3%,
      transparent 4%
    ),
    radial-gradient(
      rgba(255, 255, 255, 0.6) 0 3%,
      transparent 4%
    ),
    radial-gradient(
      rgba(255, 255, 255, 0.6) 0 3%,
      transparent 4%
    ),
    linear-gradient(to top, rgba(95, 15, 20, 0.85), transparent 65%);
}
.gallery-card-content {
  position: relative;
  z-index: 2;
  padding: 18px;
}

/* Contact */
.contact-cards {
  grid-template-columns: 1fr;
}
.contact-card {
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.form-card {
  padding: 18px;
}
.form-grid {
  display: grid;
  gap: 14px;
}
.field {
  display: grid;
  gap: 7px;
}
.field label {
  font-size: 0.9rem;
  font-weight: 900;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 12px 14px;
  color: var(--ink);
  outline: 0;
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(200, 38, 45, 0.1);
}
.map-card {
  min-height: 310px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  background:
    linear-gradient(rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.64)),
    repeating-linear-gradient(
      0deg,
      transparent 0 38px,
      rgba(200, 38, 45, 0.1) 39px 40px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0 52px,
      rgba(200, 38, 45, 0.1) 53px 54px
    ),
    #fcebed;
  position: relative;
  overflow: hidden;
}
.map-pin {
  position: absolute;
  inset: 42% auto auto 48%;
  width: 44px;
  height: 44px;
  border-radius: 50% 50% 50% 0;
  background: var(--primary);
  transform: rotate(-45deg);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 12px 24px rgba(200, 38, 45, 0.25);
}
.map-pin span {
  transform: rotate(45deg);
}
.faq-item {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-weight: 850;
}

/* Auth */
.auth-wrap {
  display: grid;
  gap: 22px;
  align-items: center;
}
.auth-side {
  border-radius: var(--radius-lg);
  padding: 22px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.92),
      rgba(234, 243, 255, 0.84)
    ),
    radial-gradient(
      circle at 12% 80%,
      rgba(244, 180, 0, 0.35),
      transparent 15rem
    );
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.benefit-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.auth-card {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.step {
  text-align: center;
  color: var(--muted);
  font-weight: 850;
  font-size: 0.72rem;
}
.step span {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  margin: 0 auto 6px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
}
.step.active {
  color: var(--primary);
}
.step.active span {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  margin: 18px 0;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  height: 1px;
  background: var(--line);
  flex: 1;
}
.social-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

/* CTA + footer */
.cta-band {
  border-radius: var(--radius-lg);
  padding: 24px;
  color: #fff;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(
      circle at 88% 20%,
      rgba(244, 180, 0, 0.28),
      transparent 18rem
    ),
    linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: var(--shadow);
}
.cta-band::after,
.site-footer::after {
  content: '';
  position: absolute;
  inset: auto -12% -30% auto;
  width: 460px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 38px;
  transform: rotate(-8deg);
}
.cta-band-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}
.newsletter {
  display: grid;
  gap: 10px;
}
.newsletter input {
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.94);
  padding: 12px 14px;
}
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 64px;
  padding: 64px 0 32px;
  color: #e2e8f0;
  background:
    radial-gradient(
      circle at 78% 10%,
      rgba(200, 38, 45, 0.3),
      transparent 24rem
    ),
    linear-gradient(135deg, #5f0f14, #8f171c);
}
.footer-grid {
  display: grid;
  gap: 32px;
}
.footer-brand p {
  color: #94a3b8;
  font-size: 0.94rem;
  line-height: 1.5;
}
.footer-brand .brand {
  color: #fff;
  margin-bottom: 16px;
}
.footer-brand .brand small {
  color: #94a3b8;
}
.footer-col h3 {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 18px;
}
.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 0.94rem;
  color: #cbd5e1;
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: #fff;
}
.socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.socials a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.2s ease;
}
.socials a:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  transform: translateY(-2px);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #cbd5e1;
  font-size: 0.94rem;
  line-height: 1.4;
}
.contact-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.8);
}
.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 48px;
  padding-top: 24px;
  color: var(--line);
  font-size: 0.88rem;
  text-align: center;
}
.footer-bg-building {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: url('https://minio.bangun-kreatif.com/api/v1/buckets/alumni-up-web/objects/download?preview=true&prefix=footer_building_white_transparent_1920.png&version_id=null')
    no-repeat right bottom / contain;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}
.footer-grid,
.copyright {
  position: relative;
  z-index: 1;
}

/* Responsive */
@media (min-width: 560px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .partners {
    grid-template-columns: repeat(3, 1fr);
  }
  .social-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 760px) {
  .section {
    padding: 64px 0;
  }
  .hero-grid {
    grid-template-columns: 0.94fr 1.06fr;
  }
  .hero {
    padding: 54px 0 0;
  }
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .contact-cards {
    grid-template-columns: repeat(4, 1fr);
  }
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
  .featured-news {
    grid-template-columns: 1fr 1fr;
  }
  .featured-news .card-img {
    height: auto;
  }
  .gallery-layout {
    display: grid;
    grid-template-columns: 1.1fr 2fr;
    gap: 16px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .auth-wrap {
    grid-template-columns: 0.85fr 1.15fr;
  }
  .form-grid.two {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1.5fr;
  }
  .newsletter {
    grid-template-columns: 1fr auto;
  }
  .desktop-only {
    display: block;
  }
}
@media (min-width: 1020px) {
  .nav-toggle {
    display: none;
  }
  .nav-menu {
    position: static;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    border-radius: 0;
    margin-left: 32px;
  }
  .nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 auto;
  }
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 0;
    border-left: 1px solid var(--line);
    margin-top: 0;
    padding-top: 0;
    padding-left: 20px;
  }
  .nav-link {
    padding: 10px 16px;
  }
  .hero-media {
    min-height: 360px;
  }
  .hero-img {
    width: 110% !important;
    max-width: none !important;
    max-height: none !important;
    transform: translate(-12%, 10%);
    position: relative;
    z-index: 1;
  }
  .features-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .news-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .value-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .impact-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* Ghost theme integration */
.home-template .nav-home,
.page-about .nav-about,
.page-news .nav-news,
.index-template .nav-news,
.news-index-active .nav-news,
.page-gallery .nav-gallery,
.page-contact .nav-contact,
.tag-template .nav-news,
.author-template .nav-news,
.post-template .nav-news,
.nav-menu .nav-current {
  background: transparent !important;
  color: var(--primary) !important;
  font-weight: 700;
  position: relative;
}
.home-template .nav-home::after,
.page-about .nav-about::after,
.page-news .nav-news::after,
.index-template .nav-news::after,
.news-index-active .nav-news::after,
.page-gallery .nav-gallery::after,
.page-contact .nav-contact::after,
.nav-menu .nav-current::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 3px;
  background: var(--primary) !important;
  border-radius: 99px;
}
@media (min-width: 1020px) {
  .home-template .nav-home::after,
  .page-about .nav-about::after,
  .page-news .nav-news::after,
  .index-template .nav-news::after,
  .news-index-active .nav-news::after,
  .page-gallery .nav-gallery::after,
  .page-contact .nav-contact::after,
  .nav-menu .nav-current::after {
    left: 16px;
    right: 16px;
  }
}
.site-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 10px;
}
.post-content-wrap {
  width: min(100% - 32px, 860px);
  margin-inline: auto;
  padding: 48px 0;
}
.post-header {
  padding: 52px 0 20px;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(234, 243, 255, 0.72),
    rgba(255, 255, 255, 0)
  );
  border-bottom: 1px solid var(--line);
}
.post-title {
  font-size: clamp(2.1rem, 7vw, 4.3rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
  margin: 0 0 14px;
}
.post-meta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}
.post-feature-image {
  width: min(100% - 32px, 1040px);
  margin: 24px auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.post-feature-image img {
  width: 100%;
  height: auto;
}
.gh-content {
  font-size: 1.05rem;
  color: #14264a;
}
.gh-content > * + * {
  margin-top: 1.15em;
}
.gh-content h2,
.gh-content h3 {
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.12;
  margin-top: 1.7em;
}
.gh-content a {
  color: var(--primary);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.gh-content img {
  height: auto;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}
.gh-content blockquote {
  margin: 1.5em 0;
  padding: 18px 20px;
  border-left: 4px solid var(--primary);
  background: var(--primary-soft);
  border-radius: 0 18px 18px 0;
  color: var(--primary-dark);
}
.gh-content pre {
  overflow: auto;
  padding: 18px;
  border-radius: 18px;
  background: #071a3d;
  color: #fbe5e7;
}
.gh-content code {
  font-size: 0.9em;
  background: var(--primary-soft);
  padding: 0.18em 0.35em;
  border-radius: 0.4em;
  color: var(--primary-dark);
}
.gh-content pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}
.kg-card {
  margin: 2rem 0;
}
.kg-image-card img,
.kg-gallery-image img {
  width: 100%;
}
.dynamic-img {
  background-size: cover;
  background-position: center;
}
.page-template .post-content-wrap {
  padding-top: 32px;
}
/* Already defined in active rules block */
@media (min-width: 760px) {
  .post-content-wrap {
    padding: 68px 0;
  }
  .gh-content {
    font-size: 1.12rem;
  }
}

/* Ghost editor required width classes */
.kg-width-wide {
  width: min(100vw - 32px, 1100px);
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}
.kg-width-full {
  width: 100vw;
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}
.kg-width-full img {
  width: 100%;
  border-radius: 0;
}
h1,
h2,
h3,
.hero-title,
.page-title,
.section-title,
.post-title {
  font-family: var(
    --gh-font-heading,
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif
  );
}

/* =========================================================
   Figma Home Layout Enhancements
   ========================================================= */

.hero-media {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  min-height: auto !important;
  padding: 0 !important;
  overflow: visible !important;
}
.hero-media::before {
  display: none !important;
}
.hero-img {
  width: 100%;
  height: auto;
  max-height: 560px !important;
  object-fit: contain;
}

/* Typography Line Constraints */
.hero-title {
  font-size: clamp(2.15rem, 5vw, 3.5rem) !important;
  max-width: 720px;
}
.hero-copy .lead {
  max-width: 530px !important;
}

@media (min-width: 1020px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-lg) !important;
  color: var(--primary-dark) !important;
  background: transparent;
  border: 1px solid var(--line) !important;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0;
}
.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffedd5;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.8rem;
}

.home-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 48px 0;
}
.home-left-col,
.home-right-col {
  min-width: 0 !important;
}
@media (min-width: 1020px) {
  .home-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
  }
}

.home-section {
  position: relative;
}

/* Centered Stats Icons */
.stats-grid .stat-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: left !important;
  padding: 18px 18px !important;
  gap: 12px !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  box-shadow: 0 4px 16px rgba(200, 38, 45, 0.015) !important;
}
.stats-grid .stat-card .icon {
  width: 54px !important;
  height: 54px !important;
  border-radius: 35% !important;
  background: #fdf0f1 !important;
  color: var(--primary) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
}
.stats-grid .stat-card .icon svg {
  width: 24px !important;
  height: 24px !important;
}
.stats-grid .stat-card strong {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: var(--primary) !important;
  line-height: 1.2 !important;
  display: block !important;
}
.stats-grid .stat-card span {
  font-size: 0.76rem !important;
  color: #64748b !important;
  margin-top: 1px !important;
  display: block !important;
}
/* Mobile-specific adjustments for stats grid (2x2 layout, scaled down) */
@media (max-width: 559px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .stats-grid .stat-card {
    flex-direction: column !important;
    text-align: center !important;
    padding: 14px 10px !important;
    gap: 8px !important;
  }
  .stats-grid .stat-card .icon {
    width: 42px !important;
    height: 42px !important;
  }
  .stats-grid .stat-card .icon svg {
    width: 20px !important;
    height: 20px !important;
  }
  .stats-grid .stat-card strong {
    font-size: 1.05rem !important;
  }
  .stats-grid .stat-card span {
    font-size: 0.72rem !important;
  }
}

/* Feature Cards 3-Col Compact Grid Layout */
.features-grid-2col {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 12px !important;
  overflow-x: visible !important;
  padding: 8px 4px !important;
}
@media (max-width: 759px) {
  .features-grid-2col {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 480px) {
  .features-grid-2col {
    grid-template-columns: 1fr !important;
  }
}

.features-grid-2col .feature-card {
  flex: none !important;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 16px;
  padding: 16px 12px !important;
  box-shadow: 0 4px 20px rgba(200, 38, 45, 0.02);
  transition: all 0.3s ease;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}
.features-grid-2col .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(200, 38, 45, 0.06);
  border-color: rgba(200, 38, 45, 0.15);
}
.features-grid-2col .feature-card h3 {
  font-size: 0.92rem !important;
  font-weight: 700;
  margin: 10px 0 6px !important;
  color: var(--primary-900);
}
.features-grid-2col .feature-card p {
  font-size: 0.78rem !important;
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
}

.icon-badge {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50%;
  background: #fdf0f1;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-badge svg {
  width: 18px !important;
  height: 18px !important;
}

/* Carousel/Horizontal Track for Alumni Inspiratif */
.alumni-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.alumni-scroll-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px;
  scrollbar-width: none;
}
.alumni-scroll-track::-webkit-scrollbar {
  display: none;
}
.alumni-scroll-track .profile-card {
  flex: 0 0 380px;
  scroll-snap-align: start;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(200, 38, 45, 0.02);
  display: flex;
  gap: 16px;
  align-items: center;
  transition: all 0.3s ease;
}
.alumni-scroll-track .profile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(200, 38, 45, 0.06);
  border-color: rgba(200, 38, 45, 0.15);
}
.avatar-wrapper {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid #fdf0f1;
}
.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.company-text {
  color: var(--primary);
  font-weight: 700;
}
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  color: var(--muted);
}
.carousel-nav svg {
  width: 16px;
  height: 16px;
  display: block;
  flex-shrink: 0;
}
.carousel-nav:hover {
  background: var(--primary-soft);
  color: var(--primary);
  border-color: var(--primary);
}
.carousel-nav.prev {
  left: -18px;
}
.carousel-nav.next {
  right: -18px;
}

/* Event Cards 3-Col Grid Layout */
.event-grid-3col {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 12px !important;
}
@media (max-width: 759px) {
  .event-grid-3col {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 480px) {
  .event-grid-3col {
    grid-template-columns: 1fr !important;
  }
}

.event-grid-3col .event-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(200, 38, 45, 0.02);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}
.event-grid-3col .event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(200, 38, 45, 0.06);
  border-color: rgba(200, 38, 45, 0.15);
}
.event-img-wrapper {
  position: relative;
  width: 100%;
  height: 140px;
  overflow: hidden;
  background: #fdf0f1;
}
.event-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.event-grid-3col .event-card:hover .event-banner-img {
  transform: scale(1.05);
}
.event-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(200, 38, 45, 0.85) !important;
  color: #ffffff !important;
  font-weight: 700;
  border: none;
  backdrop-filter: blur(4px);
}
.event-card-content {
  padding: 14px 12px !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}
.event-grid-3col .event-card h3 {
  font-size: 0.88rem !important;
  font-weight: 700;
  line-height: 1.35;
  margin: 6px 0 10px !important;
  color: var(--primary-900);
}
.event-details {
  display: flex;
  flex-direction: column;
  gap: 5px !important;
  margin-bottom: 10px !important;
}
.event-detail-item {
  display: flex;
  align-items: center;
  gap: 6px !important;
  color: var(--muted);
  font-size: 0.76rem !important;
  font-weight: 500;
}
.event-detail-item svg {
  color: var(--primary);
  flex-shrink: 0;
  width: 13px !important;
  height: 13px !important;
}
.event-detail-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.78rem !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
  margin-top: auto;
}
.event-detail-link:hover {
  gap: 8px;
}

/* Partners Logo Grid */
.partners-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 559px) {
  .partners-logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.partner-logo-item {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 12px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(200, 38, 45, 0.01);
  transition: all 0.3s ease;
  padding: 8px;
}
.partner-logo-item img {
  max-width: 80% !important;
  max-height: 28px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}
.partner-logo-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 38, 45, 0.05);
  border-color: rgba(200, 38, 45, 0.12);
}

/* Premium Newsletter Layout */
.cta-band {
  background:
    radial-gradient(
      circle at 88% 20%,
      rgba(244, 180, 0, 0.28),
      transparent 18rem
    ),
    linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
}
.cta-band-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cta-text-side {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.cta-text-side h2 {
  margin-bottom: 6px;
}
.mail-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media (min-width: 1020px) {
  .cta-band-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
  }
  .cta-text-side {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .newsletter {
    flex-shrink: 0;
    width: 440px;
  }
}

/* --- High-Performance GPU Background Blobs --- */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-grid {
  position: relative;
  z-index: 2;
}
.hero-bg-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.08;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.blob-1 {
  top: -10%;
  left: 5%;
  width: 320px;
  height: 320px;
  background: var(--primary);
  animation: float-blob-1 22s infinite alternate ease-in-out;
}
.blob-2 {
  bottom: 5%;
  right: 10%;
  width: 360px;
  height: 360px;
  background: #f59e0b;
  animation: float-blob-2 26s infinite alternate ease-in-out;
}
@keyframes float-blob-1 {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(50px, 30px, 0) scale(1.1);
  }
  100% {
    transform: translate3d(-30px, 60px, 0) scale(0.95);
  }
}
@keyframes float-blob-2 {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-60px, -40px, 0) scale(0.9);
  }
  100% {
    transform: translate3d(40px, 20px, 0) scale(1.15);
  }
}

/* --- Hardware Accelerated Animate On Scroll (AOS) --- */
[data-aos] {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
[data-aos][data-aos-delay='100'] {
  transition-delay: 100ms;
}
[data-aos][data-aos-delay='150'] {
  transition-delay: 150ms;
}
[data-aos][data-aos-delay='200'] {
  transition-delay: 200ms;
}
[data-aos][data-aos-delay='300'] {
  transition-delay: 300ms;
}
[data-aos][data-aos-delay='400'] {
  transition-delay: 400ms;
}

/* --- Premium Card Link Sizing & Layout Actions --- */
.feature-card {
  text-decoration: none !important;
  color: inherit !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100%;
}
.feature-card-footer {
  margin-top: auto;
  padding-top: 12px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.85;
  transition:
    opacity 0.22s ease,
    gap 0.22s ease;
}
.feature-card:hover .feature-card-footer {
  opacity: 1;
  gap: 8px;
}
.feature-card:hover .feature-card-footer .btn-chevron {
  transform: translateX(2px) !important;
}

.profile-card {
  text-decoration: none !important;
  color: inherit !important;
}
.profile-info-col {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
}
.profile-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  width: 100%;
}
.profile-link-btn {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: gap 0.22s ease;
}
.profile-card:hover .profile-link-btn {
  gap: 6px;
}
.profile-card:hover .profile-link-btn .btn-chevron {
  transform: translateX(2px) !important;
}

/* --- News Page 2-Column Responsive Layout --- */
.news-page-section {
  padding: 40px 0 64px;
  position: relative;
  z-index: 2;
}
.news-bg-decoration {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 520px;
  background: url('https://minio.bangun-kreatif.com/api/v1/buckets/alumni-up-web/objects/download?preview=true&prefix=news-building.png&version_id=null')
    no-repeat right top;
  background-size: min(100%, 1100px) auto;
  pointer-events: none;
  z-index: 1;
}

.news-layout-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

@media (min-width: 1024px) {
  .news-layout-wrapper {
    grid-template-columns: 58fr 42fr;
    gap: 40px;
  }
}

.news-left-col {
  display: flex;
  flex-direction: column;
}

.news-right-col {
  display: flex;
  flex-direction: column;
}

/* Align filters section to align horizontally with the header's text elements on desktop */
@media (min-width: 1024px) {
  .news-filters-section {
    margin-top: 48px;
    margin-bottom: 4px;
  }
}

/* --- 2-Column Grids --- */
.news-left-grid,
.news-right-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 560px) {
  .news-left-grid,
  .news-right-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

.news-left-grid .card-img {
  height: 80px !important;
}

/* --- News Card Custom Premium Styles --- */
.news-card {
  display: flex;
  flex-direction: column;
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 16px rgba(200, 38, 45, 0.012) !important;
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s ease !important;
  height: 100%;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit !important;
  padding: 12px !important;
}

.news-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 30px rgba(200, 38, 45, 0.06) !important;
  border-color: rgba(200, 38, 45, 0.15) !important;
}

.news-card .card-img {
  height: 155px;
  border-radius: 10px !important;
  border-bottom: none !important;
  transition: opacity 0.2s ease;
  overflow: hidden;
}

.news-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1) translateZ(0);
  will-change: transform;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.news-card:hover .card-img {
  opacity: 0.92;
  transform: none !important;
}

.news-card:hover .card-img img {
  transform: scale(1.05) translateZ(0) !important;
}

.news-card-content {
  padding: 12px 4px 4px !important;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-card-meta {
  display: flex;
  align-items: center;
  font-size: 0.74rem;
  margin-bottom: 8px;
  line-height: 1;
}
.news-card-meta .news-tag {
  color: var(--primary) !important;
  font-weight: 800;
  text-transform: uppercase;
}
.news-card-meta .meta-dot {
  margin: 0 8px;
  color: var(--muted);
  font-weight: normal;
}
.news-card-meta .news-date {
  color: var(--muted);
  font-weight: 500;
}

.news-card-content h3 {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  margin: 10px 0 8px !important;
  color: var(--primary-dark) !important;
}

.news-card-content h3 a {
  text-decoration: none !important;
  color: inherit !important;
}

.news-card-content p {
  font-size: 0.86rem !important;
  line-height: 1.5 !important;
  color: var(--muted) !important;
  margin-bottom: 14px !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.news-card-content .section-link {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: var(--primary) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  text-decoration: none !important;
  margin-top: auto !important;
  transition: gap 0.2s ease !important;
}

.news-card-content .section-link:hover {
  gap: 6px !important;
}

/* --- Text-only Card Overrides --- */
.text-only-card {
  border-top: 4px solid var(--primary) !important;
}

.text-only-card .news-card-content {
  padding: 24px 20px 24px !important;
}

/* ════════════════════════════════════════════════════════════════
   Featured News Slider
   ════════════════════════════════════════════════════════════════ */

/* Container — stacks all slides in the same grid cell */
.news-featured-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 36, 102, 0.12);
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

/* Every slide occupies the same cell — opacity crossfade */
.news-featured-container .featured-slide {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.75s ease;
  /* ── Desktop layout ── */
  display: grid;
  grid-template-columns: 5fr 5.5fr;
  min-height: 220px;
  max-height: 400px;
  position: relative;
}

.news-featured-container .featured-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Full-cover background image (mobile use only — hidden on desktop) */
.news-featured-container .featured-bg {
  display: none;
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* ── LEFT PANEL — solid blue, no gradient (gradient lives on image panel) ── */
.news-featured-container .featured-content {
  position: relative;
  z-index: 2;
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #8f171c;
  color: #fff;
}

/* ── RIGHT PANEL — image with left-to-right gradient overlay ── */
.news-featured-container .featured-img-panel {
  display: block;
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
  text-decoration: none;
  overflow: hidden;
}

/* Gradient: #8f171c solid at left edge → transparent at ~40% → pure image */
.news-featured-container .featured-img-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #8f171c 0%, rgba(143, 23, 28, 0) 40%);
  z-index: 2;
  pointer-events: none;
}

/* ── Slider dots ── */
.featured-dots {
  position: absolute;
  bottom: 14px;
  left: 32px;
  display: flex;
  gap: 7px;
  z-index: 10;
}

.featured-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.featured-dot.active {
  background: #ffffff;
  transform: scale(1.35);
}

/* ══════════════════════════════
   MOBILE  (≤ 759px)
   ══════════════════════════════ */
@media (max-width: 759px) {
  .news-featured-container .featured-slide {
    display: block;
    min-height: 250px;
    position: relative;
  }

  /* Show full-cover background image */
  .news-featured-container .featured-bg {
    display: block;
  }

  /* Gradient overlay: transparent at top, red at bottom for text readability */
  .news-featured-container .featured-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to top,
      rgba(143, 23, 28, 0.92) 0%,
      rgba(143, 23, 28, 0.5) 40%,
      transparent 70%
    );
    z-index: 1;
  }

  /* Content floats above the overlay */
  .news-featured-container .featured-content {
    position: relative;
    z-index: 2;
    background: transparent !important;
    padding: 24px 16px !important;
  }

  /* Hide the separate right image panel on mobile */
  .news-featured-container .featured-img-panel {
    display: none !important;
  }

  .featured-dots {
    bottom: 12px;
    left: 20px;
  }
}

/* ══════════════════════════════
   LARGE DESKTOP  (≥ 1200px)
   ══════════════════════════════ */
@media (min-width: 1200px) {
  .news-featured-container .featured-content {
    padding: 30px 28px !important;
  }
}

.badge-featured {
  background: #ffffff !important;
  color: var(--primary) !important;
  font-weight: 850 !important;
  font-size: 0.65rem !important;
  padding: 4px 8px !important;
  border-radius: 6px !important;
  align-self: flex-start;
  letter-spacing: 0.05em;
}

.featured-meta {
  display: flex;
  align-items: center;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.featured-title {
  font-size: clamp(1.15rem, 2.5vw, 1.35rem) !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  color: #ffffff !important;
}

.featured-title a {
  color: inherit !important;
  text-decoration: none !important;
}

.featured-excerpt {
  font-size: 0.85rem !important;
  line-height: 1.55 !important;
  color: rgba(255, 255, 255, 0.88) !important;
}

/* --- Filter chips design matching the screenshot --- */
.news-filters-section .filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 0;
  scrollbar-width: none; /* Hide scrollbar for clean aesthetic */
  -webkit-overflow-scrolling: touch;
}

.news-filters-section .filters::-webkit-scrollbar {
  display: none;
}

.news-filters-section .filter-chip {
  border-radius: 8px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  padding: 8px 16px !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  background: #ffffff !important;
  color: #475569 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.015) !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

.news-filters-section .filter-chip:hover {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: var(--primary) !important;
}

.news-filters-section .filter-chip.active {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #ffffff !important;
}

/* --- Centered pagination --- */
.news-pagination-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* ==========================================================================
   Signup Page Custom Styles (Matching Design Reference)
   ========================================================================== */
.signup-section {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: flex-start;
  padding: 48px 0;
  z-index: 1;
}

.signup-section .auth-wrap {
  align-items: start;
}

.signup-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #f8fafc !important;
  z-index: -2;
  pointer-events: none;
}

.signup-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 900px;
  background-image:
    linear-gradient(to top, #f8fafc 0%, rgba(248, 250, 252, 0) 100%),
    url('https://minio.bangun-kreatif.com/api/v1/buckets/alumni-up-web/objects/download?preview=true&prefix=gallery-hero.png&version_id=null') !important;
  background-repeat: no-repeat, no-repeat !important;
  background-position:
    center bottom,
    center bottom !important;
  background-size:
    90% 100%,
    90% auto !important;
  opacity: 0.6 !important;
  z-index: -1;
  pointer-events: none;
}

.signup-section .auth-side {
  position: sticky;
  top: 120px; /* Jarak dari atas (menyesuaikan navbar jika ada) */
  background: transparent !important;
  backdrop-filter: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  overflow: visible;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.signup-section .auth-side .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 99px;
  background: #fbe5e7 !important;
  color: var(--primary) !important;
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid rgba(200, 38, 45, 0.12) !important;
  margin-bottom: 24px;
}

.signup-section .auth-side .page-title {
  color: #334155 !important;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem) !important;
  line-height: 1.2;
  margin-bottom: 16px;
}

.signup-section .auth-side .lead {
  color: #4a5568 !important;
  font-size: 1rem !important;
  line-height: 1.6;
  margin-bottom: 32px;
}

.signup-section .benefit-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.signup-section .benefit-list .contact-card {
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: 20px !important;
  border: 1px solid var(--line) !important;
  box-shadow: 0 4px 15px rgba(200, 38, 45, 0.02) !important;
  display: flex;
  align-items: center;
  gap: 16px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.signup-section .benefit-list .contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 38, 45, 0.05) !important;
}

.signup-section .benefit-list .contact-card .icon-wrapper {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary) !important;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signup-section .benefit-list .contact-card h3 {
  font-size: 1.05rem !important;
  font-weight: 700;
  color: #1F2937 !important;
  margin: 0;
}

.signup-section .benefit-list .contact-card p.muted {
  font-size: 0.85rem !important;
  color: #718096 !important;
  margin: 4px 0 0 0 !important;
}

/* Right Column (Form Card) Styles */
.signup-section .auth-card {
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(8px) !important;
  padding: 32px !important;
  border-radius: 20px !important;
  border: 1px solid var(--line) !important;
  box-shadow: 0 10px 30px rgba(200, 38, 45, 0.04) !important;
}

.signup-section .steps {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
}

.signup-section .steps::before {
  content: '';
  position: absolute;
  top: 16px; /* center of 32px circle */
  left: 10%;
  right: 10%;
  height: 1px;
  border-top: 2px dashed #cbd5e1 !important;
  z-index: 1;
}

.signup-section .step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-align: center;
  color: #718096;
  font-weight: 650;
  font-size: 0.75rem;
}

.signup-section .step span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-bottom: 8px;
  display: grid;
  place-items: center;
  border: 1.5px solid #cbd5e1;
  background: #fff;
  font-weight: 700;
  color: #718096;
  box-shadow: 0 0 0 6px #fff;
}

.signup-section .step.active {
  color: var(--primary) !important;
}

.signup-section .step.active span {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
  box-shadow:
    0 0 0 6px #fff,
    0 4px 10px rgba(200, 38, 45, 0.2);
}

.signup-section .form-grid {
  display: grid;
  gap: 16px 20px;
}

.signup-section .field label {
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: #1F2937 !important;
  margin-bottom: 4px;
}

.signup-section .field input,
.signup-section .field select {
  border-radius: 10px !important;
  border: 1px solid #e2e8f0 !important;
  padding: 10px 14px !important;
  font-size: 0.9rem !important;
  color: #2d3748 !important;
  background: #fff !important;
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.signup-section .field input::placeholder {
  color: #a0aec0 !important;
}

.signup-section .field input:focus,
.signup-section .field select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(200, 38, 45, 0.1) !important;
  outline: none;
}

/* Custom Select Dropdown Styling */
.signup-section .field select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 16px !important;
  padding-right: 40px !important;
}

/* Alert Info styling */
.alert-info {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f0f7ff !important;
  border: 1px solid #e0efff !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
}

.alert-info .alert-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary) !important;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alert-info .alert-text {
  font-size: 0.85rem !important;
  color: #c8262d !important;
  margin: 0 !important;
  line-height: 1.4 !important;
  font-weight: 500 !important;
}

/* Password Input and Toggle styling */
.password-input-wrap {
  position: relative;
  width: 100%;
}

.password-input-wrap input {
  padding-right: 44px !important;
}

.password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #a0aec0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.password-toggle:hover {
  color: #718096;
}

/* Checkbox field styling */
.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem !important;
  color: #4a5568 !important;
  cursor: pointer;
}

.checkbox-label input[type='checkbox'] {
  margin-top: 3px;
  cursor: pointer;
}

.checkbox-label span strong {
  color: var(--primary) !important;
  font-weight: 700 !important;
}

/* Full width CTA button styling */
.signup-section .btn-primary {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
  border-radius: 10px !important;
  padding: 12px 20px !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  box-shadow: 0 4px 12px rgba(200, 38, 45, 0.1) !important;
  transition:
    opacity 0.2s,
    transform 0.2s;
}

.signup-section .btn-primary:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

/* =========================================================
   MAIN CONTENT TEXT HIERARCHY
   Reserve red for icons, buttons, links, badges, and highlights.
   Header and footer are intentionally excluded via #site-main.
   ========================================================= */
#site-main .stat-card strong,
#site-main .stats-grid .stat-card strong,
#site-main .partner-card,
#site-main .features-grid-2col .feature-card h3,
#site-main .company-text,
#site-main .event-grid-3col .event-card h3,
#site-main .info-card-header h2,
#site-main .timeline-section h2.section-title,
#site-main .timeline-year,
#site-main .profile-info h3,
#site-main .news-card-content h3,
#site-main .alert-info .alert-text {
  color: var(--ink) !important;
}
