:root {
  --bg-deep: #08091b;
  --bg-mid: #171132;
  --accent: #ff365f;
  --accent-soft: #ff6f8a;
  --text: #f4f6fb;
  --muted: #c7cbe2;
  --panel: #ffffff;
  --shadow: 0 20px 60px rgba(8, 9, 27, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Sora", sans-serif;
  color: #191b2a;
  background: #f2f4f8;
  line-height: 1.55;
}

.hero {
  position: relative;
  min-height: 66vh;
  padding: 1.6rem clamp(1rem, 3vw, 3rem) 4.2rem;
  background:
    radial-gradient(circle at 15% 25%, rgba(255, 54, 95, 0.35), transparent 40%),
    radial-gradient(circle at 80% 10%, rgba(80, 45, 180, 0.3), transparent 40%),
    linear-gradient(130deg, var(--bg-deep), var(--bg-mid));
  overflow: hidden;
}

.page-hero {
  min-height: 50vh;
  padding-bottom: 3rem;
}

.page-hero::before {
  opacity: 0.2;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1492684223066-81342ee5ff30?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  transform: scale(1.06);
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(8, 9, 27, 0.78), rgba(8, 9, 27, 0.5));
}

.navbar,
.hero-content,
.decor {
  position: relative;
  z-index: 2;
}

.navbar {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.logo {
  text-decoration: none;
  color: var(--text);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  font-weight: 800;
}

.logo span {
  color: var(--accent);
}

.menu {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-wrap: wrap;
}

.menu a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  opacity: 0.86;
  transition: 180ms ease;
}

.menu a:hover,
.menu a.active {
  color: #fff;
  opacity: 1;
}

.hero-content {
  max-width: 1100px;
  margin: 6.4rem auto 0;
  color: var(--text);
  animation: reveal 850ms ease forwards;
}

.page-hero-content {
  margin-top: 5rem;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.hero h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.5rem, 8vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.hero h1 span {
  color: var(--accent);
}

.subtitle {
  margin-top: 1rem;
  width: min(600px, 100%);
  color: #d6daf0;
}

.btn-primary {
  display: inline-block;
  margin-top: 1.8rem;
  background: linear-gradient(110deg, var(--accent), var(--accent-soft));
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 0.88rem 1.45rem;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(255, 54, 95, 0.35);
  transition: transform 180ms ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.decor {
  position: absolute;
  pointer-events: none;
  opacity: 0.9;
}

.decor-circle {
  width: 120px;
  height: 120px;
  border: 14px solid rgba(255, 54, 95, 0.9);
  border-radius: 999px;
  left: -45px;
  bottom: 18%;
}

.decor-ring {
  width: 30px;
  height: 30px;
  border: 3px solid #6f54ff;
  border-radius: 999px;
  top: 20%;
  right: 9%;
}

.decor-cross {
  width: 58px;
  height: 58px;
  top: 42%;
  right: 15%;
}

.decor-cross::before,
.decor-cross::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 8px;
  background: rgba(255, 54, 95, 0.95);
  border-radius: 5px;
}

.decor-cross::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.decor-cross::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.decor-zig {
  width: 48px;
  height: 48px;
  top: 58%;
  left: 18%;
  border-left: 5px solid #674eff;
  border-bottom: 5px solid #674eff;
  transform: rotate(-45deg);
}

main {
  margin-top: -3.4rem;
}

.page-main {
  margin-top: 0;
}

.quick-info {
  position: relative;
  z-index: 4;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  background: var(--panel);
  border-radius: 1.2rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 1.35rem;
}

.quick-info article {
  border: 1px solid #eceef6;
  border-radius: 0.9rem;
  padding: 1rem 1.1rem;
}

.quick-info h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
  color: #1d2239;
}

.quick-info p {
  font-size: 0.9rem;
  color: #636b88;
}

.contact-banner {
  width: min(1120px, calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 1.3rem 1.35rem;
  border-radius: 1.2rem;
  background: linear-gradient(135deg, #ffffff 0%, #f5fff8 100%);
  border: 1px solid #dcefe3;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.contact-banner__content {
  max-width: 680px;
}

.contact-banner__eyebrow {
  color: #0f8f4d;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.contact-banner h2 {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  color: #14311f;
  line-height: 1.15;
}

.contact-banner p {
  margin-top: 0.55rem;
  color: #516054;
  font-size: 0.95rem;
}

.contact-banner__button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  background: linear-gradient(110deg, #25d366, #1faa59);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.contact-banner__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.34);
}

.contact-banner__icon {
  width: 1.65rem;
  height: 1.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.24rem;
}

.contact-banner__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.contact-banner__label {
  white-space: nowrap;
}

.section {
  width: min(1120px, calc(100% - 2rem));
  margin: 3.8rem auto 0;
}

.section-head .tag {
  color: #e2315a;
  font-weight: 700;
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-head h2 {
  margin-top: 0.45rem;
  font-size: clamp(1.8rem, 3.3vw, 2.5rem);
  color: #11162f;
}

.card-grid {
  margin-top: 1.3rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.2rem;
  border: 1px solid #ebedf6;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transform: translateY(18px);
  opacity: 0;
  animation: rise 800ms ease forwards;
}

.card:nth-child(2) {
  animation-delay: 120ms;
}

.card:nth-child(3) {
  animation-delay: 220ms;
}

.card-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  color: #e2315a;
  background: #ffedf2;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.6rem;
}

.card h3 {
  margin-bottom: 0.5rem;
  color: #151a31;
  font-size: 1.06rem;
}

.card h3 a {
  color: inherit;
  text-decoration: none;
}

.card h3 a:hover {
  text-decoration: underline;
}

.card p {
  color: #576080;
  font-size: 0.92rem;
}

.card a {
  display: inline-block;
  margin-top: 0.8rem;
  color: #1a2f87;
  font-weight: 600;
  text-decoration: none;
}

.search-news-form {
  margin-top: 1rem;
  display: flex;
  gap: 0.65rem;
  align-items: center;
  flex-wrap: wrap;
}

.search-news-input {
  min-width: min(420px, 100%);
  flex: 1;
  border: 1px solid #dce1ef;
  background: #fff;
  border-radius: 0.75rem;
  font: inherit;
  color: #202742;
  padding: 0.72rem 0.88rem;
}

.search-news-button {
  border: none;
  cursor: pointer;
  background: linear-gradient(110deg, #ff365f, #ff6f8a);
  color: #fff;
  border-radius: 0.75rem;
  font: inherit;
  font-weight: 700;
  padding: 0.72rem 1rem;
}

.search-news-reset {
  text-decoration: none;
  color: #38405f;
  font-weight: 600;
}

.search-empty {
  grid-column: 1 / -1;
}

.pagination {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.pagination-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(110deg, #ff365f, #ff6f8a);
  border-radius: 999px;
  font-weight: 700;
  padding: 0.58rem 1rem;
  box-shadow: 0 8px 20px rgba(255, 54, 95, 0.24);
}

.pagination-link.disabled {
  background: #cdd2e5;
  box-shadow: none;
  color: #667190;
}

.pagination-info {
  font-size: 0.92rem;
  color: #4d5676;
  font-weight: 600;
}

.journal-list {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.9rem;
}

.journal-item {
  background: linear-gradient(120deg, #11162f, #1d2853);
  color: #fff;
  border-radius: 1rem;
  padding: 1rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.journal-item h3 {
  font-size: 1.03rem;
  margin-bottom: 0.18rem;
}

.journal-item p {
  color: #c8d2ff;
  font-size: 0.9rem;
}

.journal-item a {
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
}

.news-list {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.9rem;
}

.news-panel {
  background: #fff;
  border: 1px solid #ebedf6;
  border-radius: 1rem;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.news-panel h3 {
  color: #161c35;
  margin-bottom: 0.35rem;
}

.news-panel p {
  color: #5e6786;
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.5 !important;
  margin-bottom: 0.9rem;
}

.news-panel p:last-child {
  margin-bottom: 0;
}

.berita-image {
  width: 100%;
  max-width: 860px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 0.8rem;
  margin: 0.9rem auto 0.55rem;
}

.featured-image {
  width: 100%;
  max-width: 860px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 0.8rem;
  margin: 0.9rem auto 0.55rem;
}

.access-links {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.9rem;
}

.access-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(110deg, #ff365f, #ff6f8a);
  border-radius: 999px;
  font-weight: 700;
  padding: 0.72rem 1rem;
  box-shadow: 0 10px 24px rgba(255, 54, 95, 0.28);
}

footer {
  text-align: center;
  color: #6f7592;
  font-size: 0.9rem;
  padding: 2.2rem 1rem 2.7rem;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 920px) {
  .hero {
    min-height: 76vh;
  }

  .page-hero {
    min-height: 42vh;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu {
    gap: 0.8rem;
  }

  .hero-content {
    margin-top: 4.5rem;
  }

  .page-hero-content {
    margin-top: 3.4rem;
  }

  .quick-info {
    grid-template-columns: 1fr;
  }

  .contact-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .journal-item {
    flex-direction: column;
    align-items: flex-start;
  }
}
