:root {
  --primary: #0a5c3c;
  --primary-dark: #064e2e;
  --primary-deeper: #043a22;
  --primary-light: #eaf7f1;
  --primary-lighter: #f0faf5;
  --accent: #c9a84c;
  --accent-light: #faf6e8;
  --accent-dark: #b8952e;
  --dark: #0f1721;
  --dark-2: #1a2332;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e2e6ea;
  --gray-300: #c1c7cd;
  --gray-400: #8e96a0;
  --gray-500: #6c757d;
  --gray-600: #4b5563;
  --gray-700: #333f50;
  --gray-800: #1e293b;
  --gray-900: #0f1722;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 14px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 30px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.06);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-700);
  background: #f4f6f9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--primary); transition: var(--transition); }
a:hover { color: var(--primary-dark); text-decoration: none; }
img { max-width: 100%; height: auto; }

/* SCROLLBAR */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

/* BREAKING NEWS TICKER */
.breaking-news {
  background: var(--primary-deeper);
  color: #fff;
  padding: 10px 0;
  font-size: 13px;
  border-bottom: 3px solid var(--accent);
}
.breaking-news .label {
  background: var(--accent);
  color: var(--dark);
  padding: 3px 14px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 12px;
  white-space: nowrap;
}
.breaking-news .ticker-wrap {
  overflow: hidden;
  flex: 1;
  position: relative;
}
.breaking-news .ticker-content {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}
.breaking-news .ticker-content a {
  color: #fff;
  margin-right: 48px;
  opacity: 0.9;
  transition: var(--transition);
}
.breaking-news .ticker-content a:hover { opacity: 1; color: var(--accent); }
.breaking-news .ticker-content a span { color: var(--accent); margin-right: 6px; }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* TOP BAR */
.top-bar {
  background: var(--dark);
  color: var(--gray-400);
  font-size: 12px;
  padding: 6px 0;
  letter-spacing: 0.2px;
}
.top-bar-info span { display: inline-block; margin-right: 16px; }
.top-bar-info i { margin-right: 5px; color: var(--accent); }
.top-bar-social a {
  color: var(--gray-500);
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
  margin-left: 2px;
  font-size: 13px;
}
.top-bar-social a:hover { color: #fff; background: var(--primary); }

/* LOGO BAR */
.logo-bar {
  background: #fff;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-200);
}
.logo { text-decoration: none !important; }
.logo img { margin-right: 16px; height: 58px; width: auto; }
.logo-text { display: flex; flex-direction: column; }
.org-name { font-size: 22px; font-weight: 800; color: var(--primary); line-height: 1.2; letter-spacing: -0.5px; }
.org-tagline { font-size: 11px; color: var(--gray-400); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }
.search-toggle {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--gray-200);
  border-radius: 50%;
  color: var(--gray-500);
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
}
.search-toggle:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.header-date {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 400;
}

/* MAIN NAV - STICKY */
header .main-nav {
  background: var(--primary) !important;
  padding: 0;
  box-shadow: 0 2px 8px rgba(6, 78, 46, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: none !important;
  width: 100%;
}
header .main-nav .sm-clean {
  background: transparent !important;
}
.navbar-toggler {
  border: none;
  color: #fff;
  font-size: 22px;
  padding: 14px 0;
  outline: none !important;
}
.navbar-toggler:focus { outline: none; }
.sm-clean {
  background: transparent;
  font-size: 13px;
  font-weight: 500;
}
.sm-clean a { color: rgba(255,255,255,0.85); padding: 14px 16px; border: none; letter-spacing: 0.3px; }
.sm-clean a:hover, .sm-clean a.current { color: #fff; background: rgba(255,255,255,0.1); }
.sm-clean ul { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); border: none; margin-top: 0; }
.sm-clean ul a { color: var(--gray-700); padding: 10px 18px; font-size: 13px; }
.sm-clean ul a:hover { background: var(--primary-light); color: var(--primary); }
.sm-clean li { border: none; }
.sm-clean .sub-arrow { border-color: rgba(255,255,255,0.6) transparent transparent; }
.sm-clean a.current { color: #fff; border-bottom: 2px solid var(--accent); }

/* HERO SECTION */
.hero-section { padding: 24px 0; background: #fff; }
.hero-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  background: var(--gray-100);
}
.hero-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-3px); }
.hero-card .hero-img {
  position: relative;
  overflow: hidden;
  background: var(--gray-100);
}
.hero-card .hero-img img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hero-card:hover .hero-img img { transform: scale(1.05); }
.hero-card-lg .hero-img { height: 430px; }
.hero-card-lg .hero-img img { height: 430px; }
.hero-card-md .hero-img { height: 205px; }
.hero-card-md .hero-img img { height: 205px; }
.hero-card-sm .hero-img { height: 195px; }
.hero-card-sm .hero-img img { height: 195px; }
.hero-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 20px 20px;
  background: linear-gradient(transparent 0%, rgba(0,0,0,0.85) 100%);
  color: #fff;
}
.hero-overlay .hero-date {
  font-size: 11px;
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero-overlay h2 { font-size: 22px; font-weight: 700; margin: 0; line-height: 1.3; }
.hero-overlay h3 { font-size: 16px; font-weight: 600; margin: 0; line-height: 1.3; }
.hero-overlay h4 { font-size: 14px; font-weight: 600; margin: 0; line-height: 1.3; }

/* QUOTE SECTION */
.quote-section { padding: 0 0 24px; background: #fff; }
.quote-card {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-deeper));
  border-radius: var(--radius);
  padding: 36px 44px;
  position: relative;
  color: #fff;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--accent);
}
.quote-icon {
  position: absolute;
  top: 20px; left: 24px;
  font-size: 36px;
  opacity: 0.15;
  color: #fff;
}
.quote-item blockquote {
  font-size: 18px;
  font-weight: 300;
  font-style: italic;
  margin: 0 0 0 30px;
  line-height: 1.7;
}
.quote-item cite {
  font-style: normal;
  font-size: 13px;
  color: var(--accent);
  margin-top: 10px;
  display: block;
  font-weight: 500;
}

/* MAIN CONTENT */
.main-content { padding: 32px 0 48px; }
.main-content .container { max-width: 1200px; }

/* SECTION TITLE */
.section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--primary);
  position: relative;
  display: flex;
  align-items: center;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent);
}
.section-title i { color: var(--primary); margin-right: 10px; }

/* CARD MODERN - NEWS CARDS */
.card-modern {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  overflow: hidden;
  background: #fff;
  position: relative;
}
.card-modern.card-eq { height: 100%; }
.card-modern:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card-modern .card-img-top {
  border-radius: 0;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card-modern:hover .card-img-top { transform: scale(1.05); }
.card-modern .card-img-link { overflow: hidden; display: block; }
.card-modern .card-body { padding: 18px; }
.card-modern .card-date {
  font-size: 12px;
  color: var(--gray-400);
  margin-bottom: 6px;
  display: block;
}
.card-modern .card-date i { margin-right: 4px; color: var(--primary); }
.card-modern .card-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
}
.card-modern .card-title a { color: var(--gray-800); }
.card-modern .card-title a:hover { color: var(--primary); }
.card-modern .card-text { font-size: 13px; color: var(--gray-500); line-height: 1.6; }
.card-modern .card-footer {
  background: transparent;
  border-top: 1px solid var(--gray-100);
  padding: 12px 18px;
  font-size: 12px;
  color: var(--gray-400);
}

/* CATEGORY BADGE */
.cat-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 8px;
}

/* SIDEBAR */
.sidebar .sidebar-widget {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  border: 1px solid var(--gray-100);
}
.sidebar .widget-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  position: relative;
  display: flex;
  align-items: center;
}
.sidebar .widget-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--accent);
}
.sidebar .widget-title i { color: var(--primary); margin-right: 8px; font-size: 14px; }
.sidebar .media-post {
  display: flex;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
  transition: var(--transition);
}
.sidebar .media-post:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.sidebar .media-post:hover { padding-left: 4px; }
.sidebar .media-post-thumb {
  width: 85px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  margin-right: 12px;
  flex-shrink: 0;
  background: var(--gray-100);
}
.sidebar .media-post-body { flex: 1; }
.sidebar .media-post-body h6 { font-size: 13px; font-weight: 600; margin: 0 0 4px; line-height: 1.4; }
.sidebar .media-post-body h6 a { color: var(--gray-700); }
.sidebar .media-post-body h6 a:hover { color: var(--primary); }
.sidebar .media-post-body .date { font-size: 11px; color: var(--gray-400); }
.sidebar .list-group-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm) !important;
  margin-bottom: 6px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--gray-700);
  transition: var(--transition);
}
.sidebar .list-group-item:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }

/* POPULAR POSTS NUMBERED */
.popular-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  margin-right: 10px;
  flex-shrink: 0;
}
.popular-number.gold { background: var(--accent); color: var(--dark); }

/* HEADMASTER SIDEBAR */
.headmaster-card { text-align: center; }
.headmaster-card .headmaster-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary);
  padding: 3px;
  margin-bottom: 12px;
  transition: var(--transition);
}
.headmaster-card .headmaster-photo:hover { border-color: var(--accent); }
.headmaster-card h6 { font-weight: 700; color: var(--gray-800); margin-bottom: 4px; }
.headmaster-card .headmaster-title { font-size: 12px; color: var(--gray-500); margin-bottom: 8px; }
.headmaster-card .headmaster-excerpt { font-size: 13px; color: var(--gray-500); line-height: 1.6; margin-bottom: 12px; }

/* SUBSCRIBE FORM */
.subscribe-form .input-group {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--gray-200);
  transition: var(--transition);
}
.subscribe-form .input-group:focus-within { border-color: var(--primary); }
.subscribe-form .form-control {
  border: none;
  padding: 10px 14px;
  font-size: 13px;
}
.subscribe-form .input-group-append .btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 0;
}

/* POST META */
.post-meta { font-size: 13px; color: var(--gray-400); }
.post-meta i { margin-right: 4px; color: var(--primary); }
.post-meta span { margin-right: 14px; }

/* SINGLE POST */
.single-post-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.single-post-card .post-header { padding: 32px 36px 0; }
.single-post-card .post-header h1 {
  font-size: 30px;
  font-weight: 800;
  color: var(--gray-800);
  line-height: 1.3;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.single-post-card .post-header .post-meta { margin-bottom: 20px; }
.single-post-card .post-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
}
.single-post-card .post-image-caption {
  font-size: 12px;
  color: var(--gray-500);
  padding: 10px 36px;
  background: var(--gray-50);
  font-style: italic;
  border-bottom: 1px solid var(--gray-100);
}
.single-post-card .post-body { padding: 28px 36px 36px; font-size: 16px; line-height: 1.9; color: var(--gray-700); }
.single-post-card .post-body p { margin-bottom: 18px; }
.single-post-card .post-body img { border-radius: var(--radius-sm); margin: 16px 0; }

/* SHARE BUTTONS */
.share-buttons {
  padding: 20px 36px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 8px;
}
.share-buttons span { font-size: 13px; font-weight: 600; color: var(--gray-600); margin-right: 4px; }
.share-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 15px;
  transition: var(--transition);
}
.share-btn:hover { transform: translateY(-2px); color: #fff; }
.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.telegram { background: #0088cc; }

/* AUTHOR BIO */
.author-bio {
  display: flex;
  align-items: flex-start;
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 0 36px 24px;
  border: 1px solid var(--gray-100);
}
.author-bio .author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 16px;
  flex-shrink: 0;
}
.author-bio .author-info h6 { font-size: 14px; font-weight: 700; color: var(--gray-800); margin-bottom: 4px; }
.author-bio .author-info p { font-size: 13px; color: var(--gray-500); margin: 0; line-height: 1.6; }

/* RELATED ARTICLES GRID */
.related-grid { padding: 0 36px 32px; }
.related-grid .related-card {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  background: #fff;
}
.related-grid .related-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.related-grid .related-card img { width: 100%; height: 140px; object-fit: cover; }
.related-grid .related-card .related-body { padding: 12px; }
.related-grid .related-card h6 { font-size: 13px; font-weight: 600; line-height: 1.4; margin: 0; }
.related-grid .related-card h6 a { color: var(--gray-700); }
.related-grid .related-card h6 a:hover { color: var(--primary); }

/* COMMENTS */
.comment-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  margin-bottom: 16px;
  border: 1px solid var(--gray-100);
}
.comment-card .comment-body { font-size: 14px; color: var(--gray-600); line-height: 1.7; }
.comment-card .comment-meta {
  font-size: 12px;
  color: var(--gray-400);
  border-top: 1px solid var(--gray-100);
  padding-top: 10px;
  margin-top: 10px;
}
.comment-card .comment-meta i { margin-right: 4px; color: var(--primary); }
.comment-card.ml-4 { margin-left: 24px; border-left: 3px solid var(--primary); }

/* BUTTONS */
.btn-modern {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-modern:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(10,92,60,0.3); }
.btn-modern-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-modern-outline:hover { background: var(--primary); color: #fff; transform: translateY(-1px); }

/* FOOTER */
.site-footer {
  background: var(--dark-2);
  color: var(--gray-400);
  font-size: 14px;
  border-top: 4px solid var(--primary);
}
.footer-main { padding: 56px 0 40px; }
.footer-brand img { margin-bottom: 16px; }
.footer-brand h5 { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.footer-brand p { font-size: 13px; color: var(--gray-400); line-height: 1.7; }
.footer-title {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  position: relative;
}
.footer-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--accent);
}
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { margin-bottom: 12px; display: flex; align-items: flex-start; }
.footer-contact li i { color: var(--accent); width: 20px; margin-right: 10px; margin-top: 4px; }
.footer-contact li a { color: var(--gray-400); }
.footer-contact li a:hover { color: var(--accent); }
.footer-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.footer-tags a {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(255,255,255,0.06);
  color: var(--gray-400);
  border-radius: 20px;
  font-size: 12px;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.06);
}
.footer-tags a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 18px 0;
  font-size: 13px;
  color: var(--gray-500);
}
.footer-bottom a { color: var(--gray-300); }
.footer-bottom a:hover { color: var(--accent); }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: var(--gray-400);
  margin-left: 6px;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; }

/* SEARCH OVERLAY */
#search_form {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(15,23,33,0.95);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}
#search_form.open { opacity: 1; visibility: visible; }
#search_form form { text-align: center; width: 100%; max-width: 640px; padding: 0 24px; }
#search_form input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 32px;
  font-weight: 300;
  padding: 14px 0;
  outline: none;
  text-align: center;
}
#search_form input::placeholder { color: rgba(255,255,255,0.3); }
#search_form input:focus { border-bottom-color: var(--accent); }
#search_form .btn-search {
  margin-top: 28px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 36px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
#search_form .btn-search:hover { background: var(--primary-dark); }
.search-close {
  position: absolute;
  top: 20px; right: 32px;
  font-size: 44px;
  color: rgba(255,255,255,0.4);
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}
.search-close:hover { color: #fff; }

/* BACK TO TOP */
#return-to-top {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 999;
  width: 44px; height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-decoration: none;
}
#return-to-top i { transition: var(--transition); }
#return-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* WHATSAPP FLOATING */
#sy-whatshelp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}
#sy-whatshelp a.sywh-open-services {
  background: #25d366;
  color: #fff;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  font-size: 28px;
  transition: var(--transition);
  text-decoration: none;
}
#sy-whatshelp a.sywh-open-services:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(37,211,102,0.4);
}

/* TOOLTIP */
a[data-tooltip] { position: relative; }
a[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  background: var(--gray-800);
  color: #fff;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  pointer-events: none;
  z-index: 100;
}
a[data-tooltip][data-placement="left"]::before {
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
  margin-right: 12px;
}
a[data-tooltip]:hover::before { opacity: 1; visibility: visible; }

/* PAGE TITLE */
.page-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-800);
  border-bottom: 3px solid var(--primary);
  padding-bottom: 10px;
  margin-bottom: 20px;
  position: relative;
}
.page-title::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent);
}

/* TABLE STYLING */
.table-modern { border: none; margin-bottom: 0; }
.table-modern thead th {
  border: none;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  padding: 12px 14px;
  letter-spacing: 0.3px;
}
.table-modern thead th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.table-modern thead th:last-child { border-radius: 0 var(--radius-sm) 0 0; }
.table-modern td { padding: 12px 14px; vertical-align: middle; border-color: var(--gray-100); font-size: 13px; }
.table-modern tbody tr:hover { background: var(--primary-light); }
.table-modern.table-striped tbody tr:nth-of-type(odd) { background: var(--gray-50); }
.table-modern.table-striped tbody tr:hover { background: var(--primary-light); }

/* FORM STYLING */
.form-modern .form-control {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 14px;
  transition: var(--transition);
}
.form-modern .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(10,92,60,0.12); }
.form-control-sm { font-size: 13px; padding: 8px 12px; border-radius: var(--radius-sm); border-color: var(--gray-200); }
.form-control-sm:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(10,92,60,0.12); }

/* ALERT */
.alert-info {
  background: var(--primary-light);
  border: 1px solid var(--primary);
  color: var(--primary-dark);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px;
}

/* INPUT GROUP */
.input-group .btn-outline-secondary {
  border-color: var(--gray-200);
  color: var(--gray-500);
}
.input-group .btn-outline-secondary:hover { background: var(--gray-100); }

/* TOAST OVERRIDES */
.toast-success { background-color: var(--primary) !important; }
.toast-error { background-color: #dc3545 !important; }
.toast-info { background-color: #0ea5e9 !important; }
.toast-warning { background-color: var(--accent) !important; }

/* RATIO UTILITY */
.ratio {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--gray-100);
}
.ratio::before { content: ""; display: block; padding-top: 56.25%; }
.ratio > img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

/* LOADING */
._HSpinner { border-color: var(--primary) !important; }

/* POLLING STYLES */
.form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
.form-check-input:focus { box-shadow: 0 0 0 0.2rem rgba(10,92,60,0.15); }

/* BADGE PRIMARY */
.badge-primary { background: var(--primary); }

/* RESPONSIVE */
@media (max-width: 1199.98px) {
  .hero-card-lg .hero-img, .hero-card-lg .hero-img img { height: 340px; }
}
@media (max-width: 991.98px) {
  .logo-text { display: none; }
  .header-date { display: none; }
  .hero-card-lg .hero-img, .hero-card-lg .hero-img img { height: 280px; }
  .hero-card-md .hero-img, .hero-card-md .hero-img img { height: 180px; }
  .hero-card-sm .hero-img, .hero-card-sm .hero-img img { height: 160px; }
  .single-post-card .post-header { padding: 24px 24px 0; }
  .single-post-card .post-body { padding: 20px 24px; }
  .share-buttons { padding: 16px 24px; }
  .author-bio { margin: 0 24px 20px; }
  .related-grid { padding: 0 24px 24px; }
  .footer-main .col-lg-4 { margin-bottom: 32px; }
}
@media (max-width: 767.98px) {
  .top-bar-info span { display: block; margin: 0 !important; }
  .org-name { font-size: 16px; }
  .breaking-news { display: none; }
  .hero-card-lg .hero-img, .hero-card-lg .hero-img img { height: 220px; }
  .hero-card-md .hero-img, .hero-card-md .hero-img img { height: 160px; }
  .hero-card-sm .hero-img, .hero-card-sm .hero-img img { height: 140px; }
  .single-post-card .post-header { padding: 20px 20px 0; }
  .single-post-card .post-header h1 { font-size: 22px; }
  .single-post-card .post-body { padding: 16px 20px; font-size: 15px; }
  .share-buttons { padding: 14px 20px; flex-wrap: wrap; }
  .author-bio { flex-direction: column; align-items: center; text-align: center; margin: 0 16px 16px; }
  .author-bio .author-avatar { margin-right: 0; margin-bottom: 12px; }
  .related-grid { padding: 0 16px 20px; }
  img.tengah { max-width: 200px; }
  .quote-card { padding: 24px 20px; }
  .quote-item blockquote { font-size: 15px; margin-left: 0; }
  .single-post-card .post-image-caption { padding: 8px 20px; }
  .comment-card.ml-4 { margin-left: 12px; }
  .hero-overlay h2 { font-size: 18px; }
}
@media (max-width: 575.98px) {
  .top-bar { display: none; }
  .hero-card-lg .hero-img, .hero-card-lg .hero-img img { height: 200px; }
  .hero-card-md .hero-img, .hero-card-md .hero-img img { height: 150px; }
  .hero-card-sm .hero-img, .hero-card-sm .hero-img img { height: 130px; }
  .hero-overlay { padding: 12px; }
  .hero-overlay h2 { font-size: 16px; }
  .hero-overlay h3 { font-size: 14px; }
  .hero-overlay h4 { font-size: 13px; }
}

/* CATEGORY TABS */
.tab-category {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 2px solid var(--gray-200);
  padding-bottom: 0;
}
.tab-btn {
  background: transparent;
  border: none;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  position: relative;
}
.tab-btn:hover { color: var(--primary); }
.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* SCROLL PROGRESS BAR */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 10000;
  transition: width 0.1s linear;
}

/* NAV SHRINK ON SCROLL */
.main-nav.nav-shrink {
  box-shadow: 0 4px 16px rgba(6, 78, 46, 0.3);
}

/* SLIDE-IN MOBILE MENU */
.nav-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.nav-overlay.open { opacity: 1; visibility: visible; }
.nav-drawer {
  position: fixed;
  top: 0; left: -280px;
  width: 280px; height: 100%;
  background: #fff;
  z-index: 9999;
  transition: left 0.3s ease;
  overflow-y: auto;
  box-shadow: 4px 0 20px rgba(0,0,0,0.1);
}
.nav-drawer.open { left: 0; }
.nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-200);
  background: var(--primary);
  color: #fff;
}
.nav-drawer-title { font-size: 16px; font-weight: 700; }
.nav-drawer-close {
  background: none; border: none;
  font-size: 28px; color: #fff;
  cursor: pointer; line-height: 1;
  opacity: 0.8;
}
.nav-drawer-close:hover { opacity: 1; }
.nav-drawer .sm-clean {
  background: #fff;
  padding: 0;
}
.nav-drawer .sm-clean a {
  color: var(--gray-700);
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 13px;
}
.nav-drawer .sm-clean a:hover { background: var(--primary-light); color: var(--primary); }
.nav-drawer .sm-clean ul { position: static; width: 100%; box-shadow: none; background: var(--gray-50); border-radius: 0; }
.nav-drawer .sm-clean ul a { padding-left: 36px; font-size: 12px; }
.nav-drawer .sm-clean li { border: none; }
.nav-drawer .sm-clean .sub-arrow { border-color: var(--gray-400) transparent transparent; }

@media (min-width: 992px) {
  .nav-drawer {
    position: static;
    width: auto; height: auto;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    left: auto;
    display: flex !important;
  }
  .nav-drawer-header, .nav-drawer-close, .nav-overlay { display: none !important; }
  .nav-drawer .sm-clean { background: transparent; }
  .nav-drawer .sm-clean a { color: rgba(255,255,255,0.85); border: none; }
  .nav-drawer .sm-clean a:hover { background: rgba(255,255,255,0.1); color: #fff; }
  .nav-drawer .sm-clean ul { position: absolute; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
  .nav-drawer .sm-clean ul a { color: var(--gray-700); padding: 10px 18px; }
  .nav-drawer .sm-clean ul a:hover { background: var(--primary-light); color: var(--primary); }
}
