/* ============================================================
   PPID Fakultas Hukum UNAND — Design System
   Colors: Red (#C8102E), Green (#006B3F), White (#FFF), Black (#1A1A1A)
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  /* Primary Colors */
  --red: #C8102E;
  --red-dark: #9B0A20;
  --red-light: #F4364C;
  --green: #006B3F;
  --green-dark: #004D2C;
  --green-light: #00915A;
  --white: #FFFFFF;
  --black: #1A1A1A;

  /* Neutral */
  --gray-50: #F8F9FA;
  --gray-100: #F1F3F5;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-400: #ADB5BD;
  --gray-500: #6C757D;
  --gray-600: #495057;
  --gray-700: #343A40;
  --gray-800: #212529;

  /* Semantic */
  --primary: var(--green);
  --primary-dark: var(--green-dark);
  --primary-light: var(--green-light);
  --accent: var(--red);
  --accent-dark: var(--red-dark);
  --accent-light: var(--red-light);
  --bg: var(--white);
  --bg-alt: var(--gray-50);
  --text: var(--gray-800);
  --text-muted: var(--gray-500);
  --text-light: var(--white);
  --border: var(--gray-200);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 1.875rem;
  --fs-4xl: 2.25rem;
  --fs-5xl: 3rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, .05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .08), 0 2px 4px -2px rgba(0, 0, 0, .06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .08), 0 4px 6px -4px rgba(0, 0, 0, .06);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .06);

  /* Transition */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --duration: 0.25s;

  /* Layout */
  --header-h: 72px;
  --max-w: 1200px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  font-weight: 700;
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-3xl) 0;
}

.section-alt {
  background: var(--bg-alt);
}

.text-center {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header h2 {
  font-size: var(--fs-3xl);
  color: var(--black);
  margin-bottom: var(--space-sm);
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: var(--radius-full);
}

.section-header p {
  color: var(--text-muted);
  font-size: var(--fs-lg);
  margin-top: var(--space-md);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--fs-sm);
  transition: all var(--duration) var(--ease);
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-light);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--accent);
  color: var(--text-light);
}

.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--text-light);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
}

.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: var(--fs-base);
  border-radius: var(--radius-lg);
}

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  background: var(--white);
  z-index: 1000;
  transition: box-shadow var(--duration) var(--ease);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: var(--fs-xl);
  font-family: var(--font-heading);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--accent);
}

.brand-text span {
  font-size: var(--fs-xs);
  color: var(--primary);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.5rem 0.875rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-md);
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(0, 107, 63, .06);
}

.nav-link .arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  transition: transform var(--duration) var(--ease);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 260px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  padding: var(--space-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--duration) var(--ease);
  z-index: 100;
}

.nav-item:hover .dropdown,
.nav-item.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-item:hover .nav-link .arrow {
  transform: rotate(180deg);
}

.dropdown a {
  display: block;
  padding: 0.5rem 0.875rem;
  font-size: var(--fs-sm);
  color: var(--gray-700);
  border-radius: var(--radius-md);
  transition: all var(--duration) var(--ease);
}

.dropdown a:hover {
  background: rgba(0, 107, 63, .06);
  color: var(--primary);
  padding-left: 1.125rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--black);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider {
  margin-top: var(--header-h);
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgb(255 0 0 / 85%) 0%, rgb(126 3 3 / 70%) 40%, rgba(0, 0, 0, .5) 100%);
  z-index: 1;
}

.slide .container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.slide .hero-content {
  max-width: 680px;
  color: var(--white);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.slide.active .hero-content {
  opacity: 1;
  transform: translateY(0);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(8px);
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: 500;
  margin-bottom: var(--space-lg);
  border: 1px solid rgba(255, 255, 255, .2);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, .5);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
}

.slide h1 {
  font-size: var(--fs-5xl);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  color: var(--white);
}

.slide h1 .highlight {
  background: linear-gradient(90deg, #FFD700, #FFA500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.slide p {
  font-size: var(--fs-lg);
  opacity: .9;
  margin-bottom: var(--space-xl);
  line-height: 1.7;
  color: var(--white);
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Slider Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, .25);
  color: var(--white);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}

.slider-btn:hover {
  background: rgba(255, 255, 255, .3);
  transform: translateY(-50%) scale(1.1);
}

.slider-prev {
  left: var(--space-lg);
}

.slider-next {
  right: var(--space-lg);
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  border: 2px solid rgba(255, 255, 255, .5);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}

.slider-dot.active {
  background: var(--white);
  border-color: var(--white);
  transform: scale(1.2);
}

.slider-dot:hover {
  background: rgba(255, 255, 255, .7);
}

/* Stats bar at bottom */
.slider-stats {
  width: 100%;
  background: var(--bg-alt);
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--border);
}

.hero-stat {
  text-align: center;
  color: var(--black);
}

.hero-stat .number {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 800;
}

.hero-stat .label {
  font-size: var(--fs-xs);
  opacity: .8;
}

/* Slider progress bar */
.slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  z-index: 11;
  transition: width linear;
}

/* ============================================================
   INFO CATEGORY CARDS (Homepage)
   ============================================================ */
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.info-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration) var(--ease);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.info-card:hover::before {
  transform: scaleX(1);
}

.info-card .icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto var(--space-md);
}

.info-card .icon.green {
  background: rgba(0, 107, 63, .1);
  color: var(--primary);
}

.info-card .icon.red {
  background: rgba(200, 16, 46, .1);
  color: var(--accent);
}

.info-card .icon.dark {
  background: rgba(26, 26, 26, .08);
  color: var(--black);
}

.info-card h3 {
  font-size: var(--fs-base);
  margin-bottom: var(--space-sm);
  color: var(--black);
}

.info-card p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.info-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--primary);
  transition: gap var(--duration) var(--ease);
}

.info-card:hover .card-link {
  gap: 8px;
}

/* ============================================================
   SERVICE CARDS (3-col)
   ============================================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card .icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 1.5rem;
}

.service-card:nth-child(1) .icon {
  background: rgba(0, 107, 63, .1);
  color: var(--primary);
}

.service-card:nth-child(2) .icon {
  background: rgba(200, 16, 46, .1);
  color: var(--accent);
}

.service-card:nth-child(3) .icon {
  background: rgba(26, 26, 26, .08);
  color: var(--black);
}

.service-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-sm);
}

.service-card p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  line-height: 1.5;
}

/* ============================================================
   NEWS / BERITA
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.news-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--gray-200);
}

.news-card-body {
  padding: var(--space-lg);
}

.news-card-date {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.news-card h3 {
  font-size: var(--fs-base);
  margin-bottom: var(--space-sm);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}

/* ============================================================
   QUICK LINKS / CTA BAND
   ============================================================ */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: var(--space-2xl) 0;
  color: var(--white);
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: -20px;
  background-image: url('images/slide1.png');
  background-size: cover;
  background-position: center;
  filter: blur(8px);
  z-index: 0;
}

.cta-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 77, 44, 0.85);
  /* Greenish dark overlay */
  z-index: 0;
}

.cta-band .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.cta-band h2 {
  font-size: var(--fs-2xl);
}

.cta-band p {
  opacity: .9;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, .8);
  padding: var(--space-3xl) 0 0;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/slide5.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgb(0 77 44 / 97%), rgb(0 107 63 / 94%));
  z-index: 0;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: var(--space-2xl);
}

.footer h4 {
  color: var(--white);
  font-size: var(--fs-lg);
  margin-bottom: var(--space-lg);
  position: relative;
  padding-bottom: var(--space-sm);
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: var(--radius-full);
}

.footer p,
.footer li {
  font-size: var(--fs-sm);
  line-height: 1.8;
}

.footer a {
  transition: color var(--duration) var(--ease);
}

.footer a:hover {
  color: var(--white);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.footer-contact .ico {
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-links li {
  margin-bottom: var(--space-xs);
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '›';
  font-weight: 700;
  color: var(--accent);
  transition: transform var(--duration) var(--ease);
}

.footer-links a:hover::before {
  transform: translateX(3px);
}

.footer-socials {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-lg);
  transition: all var(--duration) var(--ease);
}

.footer-socials a:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

/* Waktu Layanan Table */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-sm);
}

.schedule-table th,
.schedule-table td {
  padding: 0.4rem 0.6rem;
  font-size: var(--fs-xs);
  border: 1px solid rgba(255, 255, 255, .1);
}

.schedule-table th {
  background: rgba(255, 255, 255, .08);
  text-align: left;
  transition: color var(--duration) var(--ease);
}

.schedule-table tr:hover th {
  color: var(--accent);
}

.schedule-table tr:hover {
  background: var(--white);
  color: var(--primary);
}

.footer-bottom {
  margin-top: var(--space-2xl);
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  text-align: center;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, .5);
}

/* ============================================================
   PAGE HEADER (sub-pages)
   ============================================================ */
.page-header {
  margin-top: var(--header-h);
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: var(--space-3xl) 0 var(--space-2xl);
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/slide3.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200, 16, 46, 0.85), rgba(138, 4, 26, 0.9));
  z-index: 0;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: var(--fs-4xl);
  margin-bottom: var(--space-sm);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  opacity: .85;
}

.breadcrumb a:hover {
  opacity: 1;
  text-decoration: underline;
}

.breadcrumb .sep {
  opacity: .5;
}

/* ============================================================
   ACCORDION
   ============================================================ */
.accordion {
  max-width: 860px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin-bottom: var(--space-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  font-weight: 600;
  font-size: var(--fs-base);
  text-align: left;
  cursor: pointer;
  transition: background var(--duration) var(--ease);
}

.accordion-btn:hover {
  background: var(--bg-alt);
}

.accordion-btn .acc-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 107, 63, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--duration) var(--ease);
}

.accordion-btn .acc-icon::after {
  content: '+';
  font-weight: 700;
  font-size: var(--fs-lg);
  color: var(--primary);
}

.accordion-item.active .accordion-btn {
  color: var(--primary);
}

.accordion-item.active .acc-icon {
  background: var(--primary);
}

.accordion-item.active .acc-icon::after {
  content: '−';
  color: var(--white);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.accordion-body-inner {
  padding: 0 var(--space-xl) var(--space-xl);
  font-size: var(--fs-sm);
  color: var(--gray-600);
  line-height: 1.8;
}

.accordion-body-inner p {
  margin-bottom: var(--space-md);
}

.accordion-body-inner ul {
  list-style: disc;
  padding-left: var(--space-xl);
}

.accordion-body-inner li {
  margin-bottom: var(--space-xs);
}

/* ============================================================
   CONTENT CARDS (generic)
   ============================================================ */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.content-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
}

.content-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.content-card .card-badge {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.content-card .badge-green {
  background: rgba(0, 107, 63, .1);
  color: var(--primary);
}

.content-card .badge-red {
  background: rgba(200, 16, 46, .1);
  color: var(--accent);
}

.content-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-sm);
}

.content-card p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

/* ISI */
.isi {
    max-width: 980px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.75;
    color: #333;
}

/* Headings */
.isi h1, .isi h2, .isi h3,
.isi h4, .isi h5, .isi h6 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin: 1.5em 0 0.5em;
    color: #111;
}
.isi h2 { font-size: 1.75em; }
.isi h3 { font-size: 1.5em; }
.isi h4 { font-size: 1.25em; }
.isi h5 { font-size: 1.1em; }
.isi h6 { font-size: 1em; color: #555; }

/* Paragraph */
.isi p {
    margin: 0 0 1em;
}

/* Link */
.isi a {
    color: #0066cc;
    text-decoration: underline;
}
.isi a:hover {
    color: #004499;
    text-decoration: none;
}

/* Inline text */
.isi small   { font-size: 0.8em; color: #666; }
.isi mark    { background: #fff176; padding: 0 2px; }
.isi del, .isi s { color: #999; }
.isi ins     { text-decoration: underline; color: #2a7a2a; }
.isi u       { text-decoration: underline; }
.isi abbr    { border-bottom: 1px dotted #999; cursor: help; }
.isi sub, .isi sup { font-size: 0.75em; line-height: 0; }

/* Blockquote */
.isi blockquote {
    margin: 1em 0;
    padding: 0.75em 1.25em;
    border-left: 4px solid #0066cc;
    background: #f5f8ff;
    color: #444;
    font-style: italic;
    border-radius: 0 4px 4px 0;
}

/* Lists */
.isi ul {
    list-style-type: disc;        /* ● bulat solid */
    margin: 0 0 1em 0;
    padding: 0 0 0 1.5em;
}
.isi ul ul {
    list-style-type: circle;      /* ○ bulat kosong (level 2) */
    margin: 0.3em 0 0.3em 0;
    padding-left: 1.5em;
}
.isi ul ul ul {
    list-style-type: square;      /* ■ kotak (level 3) */
}

.isi ol {
    list-style-type: decimal;     /* 1. 2. 3. */
    margin: 0 0 1em 0;
    padding: 0 0 0 1.5em;
}
.isi ol ol {
    list-style-type: lower-alpha; /* a. b. c. (level 2) */
    margin: 0.3em 0 0.3em 0;
    padding-left: 1.5em;
}
.isi ol ol ol {
    list-style-type: lower-roman; /* i. ii. iii. (level 3) */
}

.isi li {
    margin-bottom: 0.3em;
}

/* Definition list */
.isi dl { margin: 0 0 1em; }
.isi dt {
    font-weight: bold;
    color: #111;
    margin-top: 0.75em;
}
.isi dd {
    margin: 0.15em 0 0 1.5em;
    color: #555;
}

/* Table */
.isi table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1.25em;
    font-size: 0.95em;
}
.isi table th,
.isi table td {
    border: 1px solid #ccc;
    padding: 0.5em 0.75em;
    text-align: left;
    vertical-align: top;
}
.isi table thead th {
    background: #f0f0f0;
    font-weight: bold;
    color: #222;
}
.isi table tbody tr:nth-child(even) {
    background: #fafafa;
}
.isi table tbody tr:hover {
    background: #f0f5ff;
}

/* ============================================================
   VIDEO CARDS (3-col)
   ============================================================ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.video-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.video-card-img {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  background: var(--gray-800);
}

.video-card-img iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card-body {
  padding: var(--space-lg);
}

.video-card h3 {
  font-size: var(--fs-base);
  margin-bottom: 0;
  line-height: 1.4;
}

.video-card h3 a {
  color: var(--black);
  transition: color var(--duration) var(--ease);
}

.video-card h3 a:hover {
  color: var(--primary);
}

.video-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-sm);
}

.video-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--primary);
  font-size: 1.25rem;
  transition: all var(--duration) var(--ease);
}

.video-card-link:hover {
  background: var(--primary);
  color: var(--white);
  transform: rotate(45deg);
}

/* ============================================================
   FORM STYLES
   ============================================================ */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: var(--fs-sm);
  margin-bottom: var(--space-sm);
  color: var(--gray-700);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: var(--fs-base);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  background: var(--white);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 107, 63, .12);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Search bar */
.search-wrapper {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 1rem 1.25rem 1rem 3rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  font-size: var(--fs-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--duration) var(--ease);
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 107, 63, .1), var(--shadow-lg);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: var(--fs-xl);
}

/* Search results */
.search-results {
  margin-top: var(--space-xl);
}

.search-result-item {
  padding: var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin-bottom: var(--space-md);
  transition: all var(--duration) var(--ease);
}

.search-result-item:hover {
  box-shadow: var(--shadow-md);
}

.search-result-item h3 {
  font-size: var(--fs-base);
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.search-result-item p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.search-result-item .result-url {
  font-size: var(--fs-xs);
  color: var(--green-light);
  margin-bottom: var(--space-xs);
}

/* ============================================================
   TABLE STYLES
   ============================================================ */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: var(--fs-sm);
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  position: sticky;
  top: 0;
}

tr:hover {
  background: var(--bg-alt);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
    --fs-5xl: 2.25rem;
    --fs-4xl: 1.875rem;
    --fs-3xl: 1.5rem;
  }

  /* Mobile nav */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: calc(var(--header-h) + var(--space-lg)) var(--space-lg) var(--space-lg);
    box-shadow: var(--shadow-xl);
    transition: right 0.35s var(--ease);
    overflow-y: auto;
    z-index: 999;
  }

  .nav-menu.open {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .nav-link {
    padding: 0.75rem 0;
    font-size: var(--fs-base);
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 var(--space-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
  }

  .nav-item.open .dropdown {
    max-height: 500px;
  }

  .hero-slider {
    height: 500px;
  }

  .slider-btn {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .slider-prev {
    left: var(--space-sm);
  }

  .slider-next {
    right: var(--space-sm);
  }

  .slider-dots {
    bottom: 70px;
  }

  .slider-stats .container {
    gap: var(--space-lg);
  }

  .hero-actions {
    flex-direction: column;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .cta-band .container {
    flex-direction: column;
    text-align: center;
  }

  .section {
    padding: var(--space-2xl) 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .brand-text strong {
    font-size: var(--fs-base);
  }

  .slide h1 {
    font-size: 1.75rem;
  }

  .hero-slider {
    height: 440px;
  }

  .slider-dots {
    bottom: 60px;
    gap: 8px;
  }

  .slider-dot {
    width: 10px;
    height: 10px;
  }
}

/* Overlay for mobile menu */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration) var(--ease);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Print */
@media print {

  .header,
  .footer,
  .hamburger,
  .nav-overlay {
    display: none !important;
  }

  .hero-slider {
    margin-top: 0;
  }

  body {
    font-size: 12pt;
  }
}

.merah {color:var(--red);}
.hijau {color:var(--primary);}