/* ============================================================
   DIRLANTAS POLDA Aceh Tenggara - Official Website Stylesheet
   Design: Government Luxury | Navy · Gold · White
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── CSS Variables ─── */
:root {
  --navy-900:   #040E1A;
  --navy-800:   #071525;
  --navy-700:   #0A1F38;
  --navy-600:   #0D2848;
  --navy-500:   #0F3055;
  --navy-400:   #1A4A75;
  --navy-300:   #2E6EA6;
  --gold-700:   #7A5B00;
  --gold-600:   #A07800;
  --gold-500:   #C5A022;
  --gold-400:   #D9B73A;
  --gold-300:   #EDD76A;
  --gold-100:   #FDF6DC;
  --white:      #FFFFFF;
  --gray-50:    #F8F9FA;
  --gray-100:   #F1F3F5;
  --gray-200:   #E9ECEF;
  --gray-300:   #DEE2E6;
  --gray-600:   #6C757D;
  --gray-800:   #343A40;
  --gray-900:   #212529;
  --text-dark:  #1A2332;
  --text-muted: #5A6A7A;
  --shadow-sm:  0 2px 8px rgba(4,14,26,0.08);
  --shadow-md:  0 8px 30px rgba(4,14,26,0.12);
  --shadow-lg:  0 20px 60px rgba(4,14,26,0.18);
  --shadow-gold:0 8px 30px rgba(197,160,34,0.25);
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.2s ease;
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy-800);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.25rem; }

p { font-size: 1rem; color: var(--text-muted); }

/* ─── Layout ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ─── Section Header ─── */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-500);
  background: var(--gold-100);
  border: 1px solid rgba(197,160,34,0.3);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-header h2 { color: var(--navy-800); margin-bottom: 14px; }
.section-header p  { max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

.divider-gold {
  width: 64px; height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  border-radius: 2px;
  margin: 20px auto 0;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-transform: uppercase;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-900);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(197,160,34,0.4);
}

.btn-navy {
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-navy:hover {
  background: linear-gradient(135deg, var(--navy-600), var(--navy-500));
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--gold-500);
  border: 2px solid var(--gold-500);
}
.btn-outline:hover {
  background: var(--gold-500);
  color: var(--navy-900);
}

/* ─── TOP BAR ─── */
.topbar {
  background: var(--navy-900);
  padding: 8px 0;
  border-bottom: 1px solid rgba(197,160,34,0.15);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar-info {
  display: flex;
  gap: 24px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
}
.topbar-info span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar-info svg { width: 13px; height: 13px; flex-shrink: 0; }
.topbar-social {
  display: flex;
  gap: 10px;
  align-items: center;
}
.topbar-social a {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.65);
  font-size: 0.75rem;
  transition: var(--transition-fast);
}
.topbar-social a:hover {
  background: var(--gold-500);
  color: var(--navy-900);
}

/* ─── HEADER / NAVBAR ─── */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.header.scrolled {
  box-shadow: 0 4px 30px rgba(4,14,26,0.15);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.logo-img {
  height: 55px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}
.header.scrolled .logo-img {
  height: 45px;
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.brand-text { line-height: 1.2; }
.brand-text .brand-sub {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-500);
  display: block;
}
.brand-text strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-800);
  display: block;
}
.brand-text span {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item { position: relative; }

.nav-link {
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-800);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active {
  color: var(--gold-500);
  background: var(--gold-100);
}
.nav-link .arrow {
  width: 14px; height: 14px;
  transition: transform 0.3s ease;
  opacity: 0.7;
}
.nav-item:hover .arrow { transform: rotate(180deg); }

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--gold-500);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  z-index: 100;
}
.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition-fast);
  border-bottom: 1px solid var(--gray-100);
}
.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover {
  background: var(--gold-100);
  color: var(--gold-600);
  padding-left: 26px;
}
.dropdown-menu .dd-icon {
  width: 30px; height: 30px;
  background: var(--navy-800);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dropdown-menu .dd-icon svg { width: 14px; height: 14px; color: var(--gold-400); }
.dropdown-menu a:hover .dd-icon { background: var(--gold-500); }
.dropdown-menu a:hover .dd-icon svg { color: var(--navy-900); }

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: var(--transition-fast);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO SECTION ─── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-900);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.3;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(4,14,26,0.97) 0%,
    rgba(10,31,56,0.90) 40%,
    rgba(15,48,85,0.75) 70%,
    rgba(197,160,34,0.05) 100%
  );
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(197,160,34,0.08) 1px, transparent 0);
  background-size: 40px 40px;
}
.hero-glow {
  position: absolute;
  right: -200px;
  top: 50%;
  transform: translateY(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(197,160,34,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
}
.hero .container { width: 100%; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197,160,34,0.12);
  border: 1px solid rgba(197,160,34,0.3);
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 28px;
}
.hero-badge span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--gold-400);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

.hero h1 {
  color: var(--white);
  margin-bottom: 8px;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
}
.hero h1 .highlight {
  display: block;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
  font-style: italic;
}
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  max-width: 560px;
  margin-bottom: 44px;
  line-height: 1.75;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }

.hero-stats {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}
.hero-stat {
  padding: 20px 32px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child  { border-right: none; }
.hero-stat .num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-400);
  display: block;
  line-height: 1;
}
.hero-stat .lbl {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
  display: block;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.hero-scroll span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.scroll-arrow {
  width: 34px; height: 34px;
  border: 1px solid rgba(197,160,34,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  animation: bounce-arrow 2s ease-in-out infinite;
}
.scroll-arrow svg { width: 14px; height: 14px; color: var(--gold-400); }

@keyframes bounce-arrow {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* ─── TENTANG SECTION ─── */
.about { background: var(--gray-50); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-image-main {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-image-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--white);
  border: 2px solid var(--gold-300);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
  text-align: center;
  min-width: 160px;
}
.about-image-badge .badge-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy-800);
  display: block;
  line-height: 1;
}
.about-image-badge .badge-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.about-image-accent {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 120px; height: 120px;
  border: 3px solid var(--gold-300);
  border-radius: var(--radius-md);
  z-index: -1;
  opacity: 0.5;
}

.about-content {}
.about-content .label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-500);
  background: var(--gold-100);
  border: 1px solid rgba(197,160,34,0.3);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.about-content h2 { margin-bottom: 16px; }

.about-content p {
  margin-bottom: 24px;
  font-size: 1.02rem;
  line-height: 1.8;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}
.feature-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature-icon svg { width: 18px; height: 18px; color: var(--gold-400); }
.about-feature p {
  font-size: 0.9rem;
  margin: 0;
  color: var(--text-dark);
  font-weight: 500;
}

/* ─── LAYANAN SECTION ─── */
.services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }

.service-card > * { position: relative; z-index: 1; }

.service-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  border: 2px solid rgba(197,160,34,0.2);
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--gold-500);
  border-color: var(--gold-300);
}
.service-icon svg { width: 32px; height: 32px; color: var(--gold-400); transition: var(--transition); }
.service-card:hover .service-icon svg { color: var(--navy-900); }

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  transition: var(--transition);
}
.service-card:hover h3 { color: var(--white); }

.service-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 24px;
  transition: var(--transition);
}
.service-card:hover p { color: rgba(255,255,255,0.65); }

.service-card .service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-500);
  transition: var(--transition-fast);
}
.service-card:hover .service-link { color: var(--gold-300); }
.service-card .service-link svg { width: 14px; height: 14px; }
.service-card .service-number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gray-100);
  line-height: 1;
  transition: var(--transition);
  z-index: 0;
}
.service-card:hover .service-number { color: rgba(255,255,255,0.04); }

/* ─── STATISTIK SECTION ─── */
.stats {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(197,160,34,0.06) 1px, transparent 0);
  background-size: 40px 40px;
}
.stats-header { text-align: center; margin-bottom: 60px; position: relative; }
.stats-header h2 { color: var(--white); }
.stats-header p   { color: rgba(255,255,255,0.55); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.stat-item {
  padding: 44px 28px;
  text-align: center;
  background: rgba(255,255,255,0.02);
  transition: var(--transition);
  position: relative;
}
.stat-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 20%; right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  opacity: 0;
  transition: var(--transition);
}
.stat-item:hover { background: rgba(197,160,34,0.05); }
.stat-item:hover::after { opacity: 1; }

.stat-icon {
  width: 52px; height: 52px;
  background: rgba(197,160,34,0.1);
  border: 1px solid rgba(197,160,34,0.2);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.stat-icon svg { width: 24px; height: 24px; color: var(--gold-400); }

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold-400);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: block;
}

/* ─── BERITA SECTION ─── */
.news { background: var(--gray-50); }
.news-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-300);
}
.news-card-img {
  position: relative;
  overflow: hidden;
}
.news-card-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-card.featured .news-card-img img { height: 300px; }
.news-card:hover .news-card-img img { transform: scale(1.06); }

.news-category {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--navy-800);
  color: var(--gold-400);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  border: 1px solid rgba(197,160,34,0.3);
}

.news-body { padding: 24px; }
.news-meta {
  display: flex; gap: 14px;
  margin-bottom: 10px;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.news-meta span { display: flex; align-items: center; gap: 4px; }
.news-meta svg  { width: 12px; height: 12px; }
.news-body h4 {
  font-size: 1rem;
  margin-bottom: 10px;
  line-height: 1.45;
  color: var(--navy-800);
  transition: var(--transition-fast);
}
.news-card.featured .news-body h4 { font-size: 1.25rem; }
.news-card:hover .news-body h4 { color: var(--gold-600); }
.news-body p { font-size: 0.85rem; margin-bottom: 16px; }

.news-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-flex; align-items: center; gap: 5px;
  transition: var(--transition-fast);
}
.news-link svg { width: 12px; height: 12px; }
.news-link:hover { color: var(--gold-600); gap: 8px; }

.news-cta { text-align: center; }

/* ─── EDUKASI SECTION ─── */
.edu { background: var(--white); }
.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.edu-content {}
.edu-tips { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.edu-tip {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--gold-500);
  transition: var(--transition);
}
.edu-tip:hover {
  background: var(--gold-100);
  transform: translateX(6px);
}
.edu-tip-icon {
  width: 44px; height: 44px;
  background: var(--navy-800);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.edu-tip-icon svg { width: 20px; height: 20px; color: var(--gold-400); }
.edu-tip-content h4 { font-size: 0.95rem; margin-bottom: 4px; color: var(--navy-800); }
.edu-tip-content p  { font-size: 0.82rem; margin: 0; }

.edu-visual {
  position: relative;
}
.edu-image {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.edu-badge {
  position: absolute;
  bottom: 24px;
  left: -24px;
  background: var(--navy-800);
  border: 2px solid var(--gold-500);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-gold);
  text-align: center;
}
.edu-badge .b-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-400);
  display: block;
  line-height: 1;
}
.edu-badge .b-lbl {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ─── CTA PENGADUAN ─── */
.cta-section {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 60%, var(--navy-800) 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(197,160,34,0.07) 1px, transparent 0);
  background-size: 40px 40px;
}
.cta-section::after {
  content: '';
  position: absolute;
  right: -150px; top: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(197,160,34,0.07) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-text h2 { color: var(--white); margin-bottom: 12px; }
.cta-text p  { color: rgba(255,255,255,0.55); max-width: 520px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }

/* ─── FOOTER ─── */
.footer {
  background: var(--navy-900);
  border-top: 3px solid var(--gold-500);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.footer-brand .f-sub {
  font-size: 0.7rem;
  color: var(--gold-500);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 4px;
}
.footer-brand p {
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  line-height: 1.7;
  margin: 16px 0 24px;
}

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
  transition: var(--transition-fast);
}
.footer-social a:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--navy-900);
}

.footer-col h5 {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(197,160,34,0.2);
  position: relative;
}
.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 32px; height: 1px;
  background: var(--gold-500);
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  transition: var(--transition-fast);
  display: flex; align-items: center; gap: 6px;
}
.footer-col ul li a::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--gold-500);
  border-radius: 50%;
  opacity: 0;
  transition: var(--transition-fast);
  flex-shrink: 0;
}
.footer-col ul li a:hover { color: var(--gold-400); padding-left: 4px; }
.footer-col ul li a:hover::before { opacity: 1; }

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.footer-contact-item svg { width: 15px; height: 15px; color: var(--gold-500); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item span { font-size: 0.83rem; color: rgba(255,255,255,0.4); line-height: 1.5; }

.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: var(--gold-500); }
.footer-logos { display: flex; gap: 12px; align-items: center; }
.footer-logos img {
  width: 36px; height: 36px;
  object-fit: contain;
  opacity: 0.5;
  filter: grayscale(1) brightness(2);
  transition: var(--transition-fast);
}
.footer-logos img:hover { opacity: 1; filter: none; }

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ─── Page Header Banner (Inner Pages) ─── */
.page-banner {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(197,160,34,0.06) 1px, transparent 0);
  background-size: 40px 40px;
}
.page-banner h1 { color: var(--white); position: relative; z-index: 1; font-size: 2.2rem; margin-bottom: 8px; }
.page-banner .breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  position: relative; z-index: 1;
}
.page-banner .breadcrumb a { color: var(--gold-400); }
.page-banner .breadcrumb span.sep { color: rgba(255,255,255,0.2); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-grid .news-card.featured { grid-column: span 2; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .topbar-info { display: none; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh;
    width: 80%;
    max-width: 320px;
    background: var(--navy-900);
    flex-direction: column;
    align-items: stretch;
    padding: 80px 24px 40px;
    gap: 4px;
    box-shadow: -10px 0 50px rgba(0,0,0,0.4);
    transition: right 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
    z-index: 999;
    overflow-y: auto;
  }
  .nav-links.open { right: 0; }

  .nav-link { color: var(--white); padding: 14px 16px; border-radius: var(--radius-sm); }
  .nav-link:hover { background: rgba(197,160,34,0.1); color: var(--gold-400); }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--gold-500);
    background: rgba(255,255,255,0.04);
    border-radius: 0;
    display: none;
  }
  .nav-item.open .dropdown-menu { display: block; }
  .dropdown-menu a { color: rgba(255,255,255,0.65); padding: 10px 20px; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .dropdown-menu a:hover { background: rgba(197,160,34,0.08); color: var(--gold-400); }
  .dropdown-menu .dd-icon { display: none; }

  .nav-toggle { display: flex; z-index: 1001; }
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 998;
    display: none;
  }
  .nav-overlay.show { display: block; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image-wrap { order: -1; }
  .about-image-badge { right: 0; bottom: -16px; }

  .services-grid { grid-template-columns: 1fr; }
  .edu-grid { grid-template-columns: 1fr; }
  .edu-visual { order: -1; }

  .news-grid { grid-template-columns: 1fr; }
  .news-grid .news-card.featured { grid-column: span 1; }

  .stats-grid { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }

  .hero-stats { gap: 0; }
  .hero-stat { padding: 16px 20px; }
  .hero-stat .num { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .section { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
