:root {
  --primary: #059669;
  --primary-hover: #047857;
  --primary-light: #ecfdf5;
  --primary-dark: #064e3b;
  --secondary: #0f172a;
  --accent: #f59e0b;
  --accent-light: #fef3c7;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #ffffff;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border: #e2e8f0;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 28px rgba(0,0,0,0.12);
  --shadow-hover: 0 18px 36px rgba(5, 150, 105, 0.15);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-sans);
}

body {
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Announcement / Contact Bar */
.top-bar {
  background: var(--secondary);
  color: #94a3b8;
  font-size: 12.5px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-info a {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-info a:hover {
  color: #fff;
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-links a {
  color: #cbd5e1;
}

.top-bar-links a:hover {
  color: #fff;
}

/* Header & Dynamic Navigation */
.header-main {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-badge {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), #10b981);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.35);
}

.brand-text h1 {
  font-size: 17px;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.2;
}

.brand-text p {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Dynamic Navbar */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  border-radius: var(--radius-md);
}

.nav-link:hover, .nav-item.active .nav-link {
  color: var(--primary);
  background: var(--primary-light);
}

/* Multi-level Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-white);
  min-width: 230px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1100;
}

.nav-item:hover > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
}

.dropdown-item a:hover {
  background: var(--primary-light);
  color: var(--primary);
  padding-left: 22px;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--secondary);
  cursor: pointer;
}

/* Flash Ticker Bar */
.ticker-bar {
  background: #022c22;
  color: #ecfdf5;
  padding: 10px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
}

.ticker-badge {
  background: var(--accent);
  color: #0f172a;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.ticker-marquee {
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  display: flex;
  gap: 40px;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #064e3b 0%, #0f172a 100%);
  color: #fff;
  padding: 70px 0 80px 0;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h2 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-content p {
  font-size: 16px;
  color: #cbd5e1;
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #10b981, var(--primary));
  color: #fff;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(16, 185, 129, 0.5);
}

.btn-hero-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 13px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14.5px;
  backdrop-filter: blur(8px);
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero-slider-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.hero-slider-card img {
  border-radius: var(--radius-md);
  width: 100%;
  height: 280px;
  object-fit: cover;
}

/* Quick Features / Stats */
.features-bar {
  margin-top: -36px;
  position: relative;
  z-index: 10;
  margin-bottom: 50px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.feature-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--secondary);
}

.feature-info p {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* Section Common */
.section {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px auto;
}

.section-tag {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  display: inline-block;
}

.section-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.25;
}

.section-subtitle {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* News Cards Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.news-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: #a7f3d0;
}

.news-thumbnail {
  height: 200px;
  background: #f1f5f9;
  position: relative;
  overflow: hidden;
}

.news-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-thumbnail img {
  transform: scale(1.05);
}

.news-category-badge {
  position: absolute;
  bottom: 12px;
  left: 14px;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}

.news-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.news-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.35;
  margin-bottom: 10px;
}

.news-title a:hover {
  color: var(--primary);
}

.news-snippet {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.news-footer {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.news-readmore {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Agenda & Calendar Cards */
.agenda-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.agenda-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.agenda-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.agenda-date {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(5, 150, 105, 0.18));
  color: var(--primary-dark);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  text-align: center;
  min-width: 70px;
  flex-shrink: 0;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.agenda-date .day {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.agenda-date .month {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.agenda-info {
  flex: 1;
  min-width: 0;
}

.agenda-info h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.4;
  margin-bottom: 6px;
}

.agenda-title-link {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.agenda-title-link:hover {
  color: var(--primary);
}

.agenda-info .agenda-meta-row {
  font-size: 12.5px;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.agenda-info .agenda-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.agenda-actions {
  flex-shrink: 0;
}

.btn-agenda-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.08);
  color: var(--primary-dark);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 8px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-agenda-link:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateX(2px);
}

/* Agenda Detail Page Styles */
.agenda-detail-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.agenda-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0;
  padding: 20px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.agenda-info-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.agenda-info-box i {
  font-size: 20px;
  color: var(--primary);
  margin-top: 2px;
}

.agenda-info-box .box-label {
  font-size: 11.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.agenda-info-box .box-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary);
  margin-top: 2px;
}

@media (max-width: 640px) {
  .agenda-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .agenda-actions {
    width: 100%;
    margin-top: 8px;
  }
  .btn-agenda-link {
    width: 100%;
    justify-content: center;
  }
}

/* Footer */
.footer-main {
  background: #09111e;
  color: #cbd5e1;
  padding: 60px 0 20px 0;
  border-top: 4px solid var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 44px;
}

.footer-col h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--primary);
}

.footer-col p {
  font-size: 13.5px;
  line-height: 1.7;
  color: #94a3b8;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 13px;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: #34d399;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 12.5px;
  color: #64748b;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* Public Pagination Styling */
.public-pagination-wrapper {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.public-pagination-info {
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 500;
}

.public-pagination-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.public-page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #fff;
  color: #334155;
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
  box-shadow: var(--shadow-sm);
}

.public-page-btn:hover:not(:disabled):not(.active) {
  background: var(--primary-light);
  border-color: #a7f3d0;
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.public-page-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.3);
}

.public-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #f8fafc;
  box-shadow: none;
}

.public-page-ellipsis {
  padding: 0 6px;
  color: #94a3b8;
  font-weight: 700;
}

