/* ===== PREMIUM GOVERNMENT THEME ===== */
:root {
  --primary: #1a3a5c;
  --primary-light: #2a5298;
  --secondary: #c9a84c;
  --accent: #e8c766;
  --bg-light: #f4f7fc;
  --bg-white: #ffffff;
  --text-dark: #1a1a2e;
  --text-muted: #6b7280;
  --shadow: 0 4px 20px rgba(26,58,92,0.08);
  --shadow-hover: 0 8px 30px rgba(26,58,92,0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--text-dark); background: var(--bg-light); overflow-x: hidden; }
a { color: var(--primary); transition: var(--transition); text-decoration: none; }
a:hover { color: var(--primary-light); }
h1,h2,h3,h4,h5,h6 { font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--primary); }
/* Navbar */
.navbar-premium {
  background: var(--primary) !important;
  padding: 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}
.navbar-premium .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500;
  padding: 18px 16px !important;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  position: relative;
  transition: var(--transition);
}
.navbar-premium .nav-link:hover,
.navbar-premium .nav-link.active {
  color: var(--accent) !important;
  background: rgba(255,255,255,0.05);
}
.navbar-premium .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 3px;
  background: var(--accent);
  transition: var(--transition);
  transform: translateX(-50%);
}
.navbar-premium .nav-link:hover::after,
.navbar-premium .nav-link.active::after { width: 60%; }
.navbar-premium .navbar-brand {
  color: #fff !important;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 12px 0;
}
.navbar-premium .navbar-brand img { height: 40px; margin-right: 10px; }
.dropdown-premium {
  background: #fff;
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hover);
  padding: 8px;
  min-width: 220px;
}
.dropdown-premium .dropdown-item {
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
}
.dropdown-premium .dropdown-item:hover {
  background: var(--bg-light);
  color: var(--primary);
  transform: translateX(4px);
}
/* Hero Section */
.hero-premium {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero-premium::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: rgba(201,168,76,0.08);
  border-radius: 50%;
}
.hero-premium::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}
.hero-premium h1 {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.hero-premium p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}
.hero-premium .btn-hero {
  background: var(--accent);
  color: var(--primary);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}
.hero-premium .btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201,168,76,0.3);
  color: var(--primary);
}
/* Hero Slider */
.hero-slider { position: relative; z-index: 1; }
.hero-slider .slide-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}
.hero-slider .slide-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
/* Cards Premium */
.card-premium {
  background: var(--bg-white);
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  overflow: hidden;
  height: 100%;
}
.card-premium:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.card-premium .card-body { padding: 28px; }
.card-premium .icon-wrap {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: #fff;
  font-size: 1.5rem;
}
.card-premium h5 { font-size: 1.1rem; margin-bottom: 12px; }
.card-premium p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
/* Stats Counter */
.stats-section {
  background: var(--primary);
  padding: 60px 0;
  position: relative;
}
.stats-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--secondary), var(--accent));
}
.stat-item {
  text-align: center;
  color: #fff;
  padding: 20px;
}
.stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
}
.stat-item .stat-label {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
}
/* Section */
.section-premium {
  padding: 80px 0;
}
.section-premium .section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-premium .section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
}
.section-premium .section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 12px auto 0;
  border-radius: 2px;
}
/* Blog Posts */
.post-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.post-card .post-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}
.post-card .post-body { padding: 24px; }
.post-card .post-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.post-card .post-meta span { margin-right: 12px; }
.post-card h5 { font-size: 1.1rem; margin-bottom: 12px; }
.post-card h5 a { color: var(--text-dark); }
.post-card h5 a:hover { color: var(--primary); }
.post-card p { color: var(--text-muted); font-size: 0.9rem; }
.post-card .btn-read {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
}
.post-card .btn-read:hover { color: var(--accent); }
/* Footer Premium */
.footer-premium {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.footer-premium h5 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 24px;
  font-size: 1.1rem;
}
.footer-premium a {
  color: rgba(255,255,255,0.6);
  display: block;
  padding: 4px 0;
  font-size: 0.9rem;
}
.footer-premium a:hover {
  color: var(--accent);
  padding-left: 4px;
}
.footer-premium .social-links a {
  display: inline-flex;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  margin-right: 8px;
  color: #fff;
  font-size: 1.1rem;
  transition: var(--transition);
}
.footer-premium .social-links a:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  margin-top: 40px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
/* Gallery */
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  margin-bottom: 24px;
  position: relative;
}
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow-hover); }
.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.gallery-item .gallery-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(26,58,92,0.9));
  padding: 20px;
  color: #fff;
}
/* Agenda Card */
.agenda-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 20px;
  border-left: 4px solid var(--accent);
  transition: var(--transition);
}
.agenda-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-hover);
}
.agenda-card h5 { margin-bottom: 8px; }
.agenda-card .agenda-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.agenda-card .agenda-meta i { margin-right: 6px; color: var(--primary); }
/* Download Card */
.download-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 20px;
  transition: var(--transition);
}
.download-card:hover { box-shadow: var(--shadow-hover); }
/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 50px 0;
  position: relative;
}
.page-header h1 {
  color: #fff;
  font-weight: 700;
}
.page-header .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 10px 0 0;
}
.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  color: rgba(255,255,255,0.7);
}
.page-header .breadcrumb-item.active { color: var(--accent); }
.page-header .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255,255,255,0.4);
}
/* Content Page */
.content-page {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}
.content-page p { line-height: 1.8; color: var(--text-muted); }
/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 50px; height: 50px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 15px rgba(26,58,92,0.3);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-4px);
}
/* Animations */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }
/* Mobile */
@media (max-width: 768px) {
  .hero-premium { padding: 50px 0 60px; }
  .hero-premium h1 { font-size: 1.8rem; }
  .hero-slider .slide-item img { height: 200px; }
  .navbar-premium .navbar-brand { font-size: 1rem; }
  .navbar-premium .navbar-brand img { height: 32px; }
  .section-premium { padding: 50px 0; }
  .footer-premium { padding: 40px 0 0; }
  .stat-item .stat-number { font-size: 1.8rem; }
  .content-page { padding: 24px; margin-top: -20px; }
}
/* Mobile Navbar Toggler */
.navbar-toggler {
 border: none; padding: 8px 12px;
 background: rgba(255,255,255,0.1);
 border-radius: 8px; cursor: pointer;
 outline: none; display: none;
}
.navbar-toggler:focus { outline: none; box-shadow: none; }

@media (max-width: 991px) {
 .navbar-toggler { display: block; }
 .navbar-premium .navbar-collapse {
 background: var(--primary-light);
 border-radius: 0 0 16px 16px;
 padding: 16px 20px;
 margin-top: 4px;
 }
 .navbar-premium .navbar-nav { flex-direction: column; }
 .navbar-premium .nav-link {
 padding: 12px 16px !important;
 border-bottom: 1px solid rgba(255,255,255,0.05);
 }
 .navbar-premium .nav-link::after { display: none; }
 .navbar-premium .dropdown-menu {
 background: rgba(0,0,0,0.15);
 border: none; border-radius: 10px;
 padding: 8px; margin-top: 4px;
 box-shadow: none;
 }
 .navbar-premium .dropdown-menu .dropdown-item {
 color: rgba(255,255,255,0.8);
 border-radius: 8px;
 }
 .navbar-premium .dropdown-menu .dropdown-item:hover {
 background: rgba(255,255,255,0.1);
 color: #fff;
 }
}

@media (max-width: 768px) {
 .section-premium .section-title h2 { font-size: 1.4rem; }
 .footer-premium .col-md-4 { margin-bottom: 24px; }
 .card-premium .card-body { padding: 20px; }
 .post-card .post-body { padding: 16px; }
 .page-header h1 { font-size: 1.5rem; }
 .page-header { padding: 30px 0; }
}

/* Page Header Modern */
.page-header-modern {
 background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
 padding: 60px 0 80px;
 position: relative;
 overflow: hidden;
}
.page-header-modern::before {
 content: ; position: absolute;
 top: -50%; right: -10%;
 width: 500px; height: 500px;
 border-radius: 50%;
 background: rgba(201,168,76,0.06);
}
.page-header-modern h1 {
 color: #fff; font-weight: 700;
 font-size: 2.2rem; position: relative;
}
.page-header-modern .badge-accent {
 background: var(--accent); color: var(--primary);
 padding: 6px 20px; border-radius: 50px;
 font-weight: 600; font-size: 0.8rem;
 text-transform: uppercase; letter-spacing: 1px;
}
/* Section Content */
.section-premium .prose-content {
 color: var(--text-muted);
 line-height: 2;
 font-size: 1.05rem;
}
/* Responsive */
@media (max-width: 768px) {
 .page-header-modern { padding: 40px 0 50px; }
 .page-header-modern h1 { font-size: 1.5rem; }
}
