/*--------------------------------------------------------------
# School Custom Styles - SMA Negeri Banyumas
# Tema: Teal Profesional + aksen Amber/Emas
--------------------------------------------------------------*/

/* ---- Google Fonts Override ---- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --school-primary:     #0F766E;  /* Teal tua */
  --school-secondary:   #14B8A6;  /* Teal cerah */
  --school-accent:      #F59E0B;  /* Amber/emas */
  --school-accent-dark: #D97706;  /* Amber hover */
  --school-green:       #059669;  /* Emerald (tombol download) */
  --school-light:       #F0FDFA;  /* Mint sangat muda */
  --school-light-2:     #CCFBF1;  /* Mint muda (gradien kartu) */
  --school-dark:        #134E4A;  /* Teal hampir hitam */
  --school-darker:      #0B3A37;  /* Teal terdalam */
  --school-text:        #1F2937;  /* Slate gelap */
  --school-muted:       #64748B;  /* Teks sekunder */
  --heading-font: 'Poppins', sans-serif;
  --default-font: 'Inter', sans-serif;
  /* Override variabel tema main.css (BootstrapMade) agar konsisten teal */
  --accent-color: #0F766E;
  --nav-color: #1F2937;
  --nav-hover-color: #0F766E;
  --heading-color: #0F766E;
}

body {
  font-family: var(--default-font);
  color: var(--school-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: var(--school-primary);
  letter-spacing: -0.01em;
}

/* Util: latar bernuansa teal lembut untuk section terang */
.bg-soft-teal {
  background:
    radial-gradient(900px 420px at 12% -10%, var(--school-light) 0%, rgba(240,253,250,0) 60%),
    radial-gradient(800px 420px at 100% 110%, var(--school-light-2) 0%, rgba(204,251,241,0) 55%),
    #ffffff;
}

/*--------------------------------------------------------------
# Topbar
--------------------------------------------------------------*/
#topbar {
  background: linear-gradient(90deg, var(--school-darker) 0%, var(--school-dark) 100%);
  color: #c8efe9;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 2px solid var(--school-accent);
}

#topbar a {
  color: #c8efe9;
  text-decoration: none;
  transition: color 0.2s;
}

#topbar a:hover {
  color: var(--school-accent);
}

#topbar .social-links a {
  font-size: 15px;
  margin-left: 10px;
  color: #c8efe9;
}

#topbar .social-links a:hover {
  color: var(--school-accent);
}

/*--------------------------------------------------------------
# Header / Navbar
--------------------------------------------------------------*/
#header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 4px 24px rgba(15, 118, 110, 0.10);
  padding: 10px 0;
  border-bottom: 3px solid var(--school-primary);
}

#header .logo img {
  max-height: 52px;
  width: auto;
  object-fit: contain;
}

#header .logo .sitename {
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 700;
  color: var(--school-primary);
  margin: 0 0 0 10px;
  line-height: 1.2;
}

.navmenu ul li a {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 14px;
  color: var(--school-text) !important;
  padding: 8px 14px;
  transition: color 0.2s;
}

.navmenu ul li a:hover,
.navmenu ul li a.active {
  color: var(--school-primary) !important;
}

.navmenu ul li a.active {
  border-bottom: 2px solid var(--school-accent);
}

/* Mobile nav fix: #header pakai backdrop-filter yang membuat stacking
   context + containing block, sehingga overlay .navmenu (position: fixed)
   terjebak di dalam header dan tertutup konten/tombol scroll-top
   (z-index 99999). Pada breakpoint mobile, matikan backdrop-filter dan
   naikkan z-index header saat menu aktif agar overlay menutupi semuanya. */
@media (max-width: 1199px) {
  body.mobile-nav-active #header {
    z-index: 100000;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/*--------------------------------------------------------------
# Page Title / Breadcrumb
--------------------------------------------------------------*/
.page-title {
  background: linear-gradient(135deg, var(--school-primary) 0%, var(--school-secondary) 100%);
  color: #fff;
  padding: 40px 0 30px;
  position: relative;
  overflow: hidden;
}

.page-title::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
}

.page-title::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.page-title h1 {
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 6px;
}

.page-title .breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.page-title .breadcrumbs ol li {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}

.page-title .breadcrumbs ol li a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}

.page-title .breadcrumbs ol li a:hover {
  color: var(--school-accent);
}

.page-title .breadcrumbs ol li.current {
  color: var(--school-accent);
  font-weight: 600;
}

.page-title .breadcrumbs ol li + li::before {
  content: '›';
  margin-right: 4px;
  color: rgba(255,255,255,0.5);
}

/*--------------------------------------------------------------
# Section Titles
--------------------------------------------------------------*/
.section-title-school {
  text-align: center;
  padding-bottom: 30px;
}

.section-title-school .badge-label {
  display: inline-block;
  background: var(--school-light);
  color: var(--school-primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 12px;
  border: 1px solid rgba(15, 118, 110, 0.15);
}

.section-title-school h2 {
  font-family: var(--heading-font);
  font-size: 2rem;
  font-weight: 700;
  color: var(--school-primary);
  margin-bottom: 12px;
}

.section-title-school p {
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  font-size: 15px;
}

.section-title-school .title-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--school-primary), var(--school-accent));
  border-radius: 2px;
  margin: 14px auto 0;
}

/*--------------------------------------------------------------
# Hero / Slider
--------------------------------------------------------------*/
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--school-dark) 0%, var(--school-secondary) 100%);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(19,78,74,0.85) 0%, rgba(15,118,110,0.65) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

/*--------------------------------------------------------------
# Stats Counter
--------------------------------------------------------------*/
.stats-section {
  background: linear-gradient(135deg, var(--school-dark) 0%, var(--school-primary) 55%, var(--school-secondary) 100%);
  padding: 56px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.stats-section .container { position: relative; z-index: 1; }

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-item .stat-number {
  font-family: var(--heading-font);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--school-accent);
  line-height: 1;
  display: block;
}

.stat-item .stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-item .stat-icon {
  font-size: 2.5rem;
  color: rgba(255,255,255,0.3);
  margin-bottom: 8px;
}

.stat-divider {
  border-right: 1px solid rgba(255,255,255,0.2);
}

@media (max-width: 767px) {
  .stat-divider {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 20px;
    margin-bottom: 10px;
  }
}

/*--------------------------------------------------------------
# Feature Cards ("Mengapa Memilih Kami")
--------------------------------------------------------------*/
.feature-card {
  background: #fff;
  border: 1px solid rgba(15, 118, 110, 0.08);
  border-radius: 18px;
  padding: 32px 26px;
  height: 100%;
  text-align: center;
  box-shadow: 0 6px 22px rgba(15, 118, 110, 0.07);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), box-shadow 0.35s cubic-bezier(.4,0,.2,1), border-color 0.35s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--school-primary), var(--school-secondary), var(--school-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(15, 118, 110, 0.16);
  border-color: rgba(20, 184, 166, 0.3);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-card .feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #fff;
  background: linear-gradient(135deg, var(--school-primary) 0%, var(--school-secondary) 100%);
  box-shadow: 0 10px 24px rgba(15,118,110,0.30);
  transition: transform 0.35s ease;
}

.feature-card:hover .feature-icon {
  transform: rotate(-6deg) scale(1.06);
}

.feature-card h4 {
  font-family: var(--heading-font);
  font-size: 17px;
  font-weight: 700;
  color: var(--school-primary);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--school-muted);
  line-height: 1.7;
  margin: 0;
}

/*--------------------------------------------------------------
# News / Article Cards
--------------------------------------------------------------*/
.news-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15, 118, 110, 0.08);
  box-shadow: 0 6px 22px rgba(15, 118, 110, 0.07);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), box-shadow 0.35s cubic-bezier(.4,0,.2,1);
  height: 100%;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(15, 118, 110, 0.18);
  border-color: rgba(20, 184, 166, 0.25);
}

.news-card .card-img-wrapper {
  overflow: hidden;
  height: 210px;
  position: relative;
}

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

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

.news-card .card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, var(--school-primary) 0%, var(--school-secondary) 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(15,118,110,0.35);
}

.news-card .card-body-inner {
  padding: 20px;
}

.news-card .card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #888;
  margin-bottom: 10px;
}

.news-card .card-meta i {
  color: var(--school-secondary);
}

.news-card .card-title {
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 600;
  color: var(--school-primary);
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card .card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.news-card .card-title a:hover {
  color: var(--school-secondary);
}

.news-card .btn-read-more {
  background: transparent;
  border: 2px solid var(--school-primary);
  color: var(--school-primary);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-block;
}

.news-card .btn-read-more:hover {
  background: var(--school-primary);
  color: #fff;
  box-shadow: 0 8px 18px rgba(15,118,110,0.30);
  transform: translateY(-1px);
}

/*--------------------------------------------------------------
# Gallery
--------------------------------------------------------------*/
.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s;
}

.gallery-item:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(19,78,74,0.85) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h5 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

.gallery-zoom-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,0.95);
  color: var(--school-primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  opacity: 0;
  transition: opacity 0.3s;
  text-decoration: none;
}

.gallery-item:hover .gallery-zoom-btn {
  opacity: 1;
}

.gallery-zoom-btn:hover {
  background: var(--school-accent);
  color: #fff;
}

/*--------------------------------------------------------------
# Team Cards
--------------------------------------------------------------*/
.team-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(15, 118, 110, 0.08);
  box-shadow: 0 6px 22px rgba(15, 118, 110, 0.08);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), box-shadow 0.35s cubic-bezier(.4,0,.2,1);
  padding-bottom: 20px;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(15, 118, 110, 0.18);
  border-color: rgba(20, 184, 166, 0.25);
}

.team-card .team-img-wrap {
  background: linear-gradient(135deg, var(--school-light) 0%, var(--school-light-2) 100%);
  padding: 28px 28px 0;
  margin-bottom: 16px;
}

.team-card .team-img-wrap img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.2);
}

.team-card .team-name {
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 700;
  color: var(--school-primary);
  margin: 0 16px 4px;
}

.team-card .team-role {
  display: inline-block;
  background: var(--school-light);
  color: var(--school-secondary);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.team-card .team-nip {
  font-size: 12px;
  color: #888;
  margin: 0 16px 8px;
}

.team-card .team-bio {
  font-size: 13px;
  color: #666;
  padding: 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about-info-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(15, 118, 110, 0.08);
  border-left: 4px solid var(--school-primary);
  transition: transform 0.2s, box-shadow 0.2s;
  margin-bottom: 16px;
}

.about-info-card:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 30px rgba(15, 118, 110, 0.14);
}

.about-info-card .info-icon {
  width: 48px;
  height: 48px;
  background: var(--school-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--school-primary);
  flex-shrink: 0;
}

.about-info-card .info-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #888;
  margin-bottom: 2px;
}

.about-info-card .info-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--school-primary);
}

.vision-mission-card {
  background: linear-gradient(135deg, var(--school-primary) 0%, var(--school-secondary) 100%);
  color: #fff;
  border-radius: 14px;
  padding: 32px;
  height: 100%;
}

.vision-mission-card h3 {
  color: var(--school-accent);
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.vision-mission-card p, .vision-mission-card li {
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  line-height: 1.7;
}

.vision-mission-card ul {
  padding-left: 18px;
}

.vision-mission-card.light {
  background: #fff;
  border: 2px solid var(--school-light);
  box-shadow: 0 4px 20px rgba(15, 118, 110, 0.08);
}

.vision-mission-card.light h3 {
  color: var(--school-primary);
}

.vision-mission-card.light p, .vision-mission-card.light li {
  color: var(--school-text);
}

/*--------------------------------------------------------------
# File Download Table
--------------------------------------------------------------*/
.download-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(15, 118, 110, 0.08);
  overflow: hidden;
}

.download-card .card-header-school {
  background: linear-gradient(135deg, var(--school-primary) 0%, var(--school-secondary) 100%);
  color: #fff;
  padding: 18px 24px;
}

.download-card .card-header-school h5 {
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 600;
  margin: 0;
  font-size: 16px;
}

.download-table thead th {
  background: var(--school-light);
  color: var(--school-primary);
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  padding: 14px 16px;
}

.download-table tbody tr {
  transition: background 0.2s;
  border-bottom: 1px solid #f0f4f8;
}

.download-table tbody tr:hover {
  background: var(--school-light);
}

.download-table tbody td {
  padding: 14px 16px;
  vertical-align: middle;
  font-size: 14px;
  color: var(--school-text);
  border: none;
}

.btn-download {
  background: linear-gradient(135deg, var(--school-green) 0%, #1e8449 100%);
  color: #fff !important;
  border: none;
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(39, 174, 96, 0.35);
  color: #fff !important;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: var(--school-dark);
  color: rgba(255,255,255,0.75);
  padding: 50px 0 0;
}

#footer .footer-brand img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
}

#footer .footer-brand h4 {
  color: #fff;
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 4px;
}

#footer .footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

#footer .footer-heading {
  color: var(--school-accent);
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(245,158,11,0.3);
}

#footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer ul li {
  margin-bottom: 10px;
}

#footer ul li a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.2s, padding-left 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

#footer ul li a::before {
  content: '›';
  color: var(--school-accent);
  font-size: 16px;
  line-height: 1;
}

#footer ul li a:hover {
  color: var(--school-accent);
  padding-left: 4px;
}

#footer .footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 13.5px;
}

#footer .footer-contact-item i {
  color: var(--school-accent);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

#footer .footer-contact-item span {
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

#footer .footer-news-item {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

#footer .footer-news-item:last-child {
  border-bottom: none;
}

#footer .footer-news-item a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 13.5px;
  line-height: 1.5;
  display: block;
  margin-bottom: 4px;
  transition: color 0.2s;
}

#footer .footer-news-item a:hover {
  color: var(--school-accent);
}

#footer .footer-news-item .news-date {
  font-size: 11.5px;
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  gap: 4px;
}

#footer .social-links-footer {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

#footer .social-links-footer a {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  text-decoration: none;
  transition: all 0.25s;
}

#footer .social-links-footer a.wa   { background: #25d366; color: #fff; }
#footer .social-links-footer a.ig   { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff; }
#footer .social-links-footer a.fb   { background: #1877f2; color: #fff; }
#footer .social-links-footer a.tw   { background: #000; color: #fff; }
#footer .social-links-footer a.yt   { background: #ff0000; color: #fff; }

#footer .social-links-footer a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

#footer .footer-bottom {
  background: var(--school-darker);
  margin-top: 40px;
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  border-top: 1px solid rgba(255,255,255,0.06);
}

#footer .footer-bottom a {
  color: var(--school-accent);
  text-decoration: none;
}

/*--------------------------------------------------------------
# Welcome / Hero Banner
--------------------------------------------------------------*/
.welcome-hero {
  position: relative;
  background: var(--school-dark);
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Pola titik halus di atas hero untuk tekstur */
.welcome-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.welcome-hero .hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.25;
}

.welcome-hero .hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(19,78,74,0.92) 0%, rgba(15,118,110,0.75) 100%);
}

.welcome-hero .hero-text {
  position: relative;
  z-index: 2;
  color: #fff;
}

.welcome-hero .hero-text .badge-hero {
  display: inline-block;
  background: rgba(245,158,11,0.2);
  border: 1px solid var(--school-accent);
  color: var(--school-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.welcome-hero .hero-text h1 {
  font-family: var(--heading-font);
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}

.welcome-hero .hero-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  max-width: 550px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.welcome-hero .hero-text .btn-hero-primary {
  background: var(--school-accent);
  color: var(--school-dark);
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.25s;
  display: inline-block;
  margin-right: 10px;
}

.welcome-hero .hero-text .btn-hero-primary:hover {
  background: var(--school-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245,158,11,0.4);
}

.welcome-hero .hero-text .btn-hero-outline {
  background: transparent;
  color: #fff;
  font-weight: 600;
  padding: 11px 26px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.5);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.25s;
  display: inline-block;
}

.welcome-hero .hero-text .btn-hero-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}

.welcome-hero .hero-slider-col {
  position: relative;
  z-index: 2;
}

.welcome-hero .swiper-slide img {
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  width: 100%;
  height: 380px;
  object-fit: cover;
}

@media (max-width: 991px) {
  .welcome-hero .hero-text h1 { font-size: 2rem; }
  .welcome-hero { min-height: 400px; }
  .welcome-hero .swiper-slide img { height: 250px; }
}

/*--------------------------------------------------------------
# CTA Section
--------------------------------------------------------------*/
.cta-section {
  background: linear-gradient(135deg, var(--school-accent) 0%, var(--school-accent-dark) 100%);
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -90px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -110px; left: -50px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

.cta-section .container { position: relative; z-index: 1; }

.cta-section h2 {
  color: #fff;
  font-family: var(--heading-font);
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  margin-bottom: 24px;
}

.cta-section .btn-cta {
  background: var(--school-dark);
  color: #fff;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.25s;
  display: inline-block;
}

.cta-section .btn-cta:hover {
  background: var(--school-darker);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  color: #fff;
}

/*--------------------------------------------------------------
# Blog Detail Article
--------------------------------------------------------------*/
.article-detail {
  background: #fff;
  border-radius: 18px;
  padding: 36px;
  border: 1px solid rgba(15, 118, 110, 0.08);
  box-shadow: 0 6px 22px rgba(15, 118, 110, 0.07);
}

.article-detail .article-title {
  font-family: var(--heading-font);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--school-primary);
  line-height: 1.35;
  margin-bottom: 16px;
}

.article-detail .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--school-light);
}

.article-detail .article-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #666;
}

.article-detail .article-meta .meta-item i {
  color: var(--school-secondary);
  font-size: 15px;
}

.article-detail .article-img {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
}

.article-detail .article-img img {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
}

.article-detail .article-body {
  font-size: 15.5px;
  line-height: 1.85;
  color: #444;
}

.article-detail .article-body p {
  margin-bottom: 16px;
}

.article-detail .article-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 2px solid var(--school-light);
  flex-wrap: wrap;
}

.article-detail .article-tags a {
  background: var(--school-light);
  color: var(--school-primary);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s;
}

.article-detail .article-tags a:hover {
  background: var(--school-primary);
  color: #fff;
}

.sidebar-widget {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(15, 118, 110, 0.08);
  box-shadow: 0 6px 22px rgba(15, 118, 110, 0.07);
  margin-bottom: 24px;
}

.sidebar-widget .widget-title {
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 700;
  color: var(--school-primary);
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--school-light);
  position: relative;
}

.sidebar-widget .widget-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--school-accent);
}

.sidebar-news-item {
  display: flex;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #f0f4f8;
}

.sidebar-news-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.sidebar-news-item .news-number {
  width: 32px;
  height: 32px;
  background: var(--school-light);
  color: var(--school-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.sidebar-news-item a {
  font-size: 13px;
  color: var(--school-text);
  text-decoration: none;
  line-height: 1.5;
  font-weight: 500;
  transition: color 0.2s;
  display: block;
  margin-bottom: 3px;
}

.sidebar-news-item a:hover {
  color: var(--school-secondary);
}

.sidebar-news-item .news-date {
  font-size: 11px;
  color: #aaa;
}

.category-tag-link {
  display: inline-block;
  background: var(--school-light);
  color: var(--school-primary);
  border: 1px solid rgba(15,118,110,0.15);
  font-size: 12.5px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 6px;
  text-decoration: none;
  margin: 4px;
  transition: all 0.2s;
}

.category-tag-link:hover {
  background: var(--school-primary);
  color: #fff;
  border-color: var(--school-primary);
}

/*--------------------------------------------------------------
# Scroll Top
--------------------------------------------------------------*/
.scroll-top {
  background: var(--school-primary) !important;
  border-radius: 8px !important;
}

.scroll-top:hover {
  background: var(--school-secondary) !important;
}

/*--------------------------------------------------------------
# Pagination
--------------------------------------------------------------*/
.pagination .page-link {
  color: var(--school-primary);
  border-color: #dee2e6;
  font-weight: 500;
  border-radius: 6px !important;
  margin: 0 3px;
  transition: all 0.2s;
}

.pagination .page-item.active .page-link {
  background: var(--school-primary);
  border-color: var(--school-primary);
  color: #fff;
}

.pagination .page-link:hover {
  background: var(--school-light);
  border-color: var(--school-secondary);
  color: var(--school-primary);
}

/* Preloader */
#preloader {
  background: var(--school-dark);
}

/* DataTables overrides */
.dataTables_wrapper .dataTables_filter input {
  border-radius: 6px;
  border: 1.5px solid #dee2e6;
  padding: 6px 12px;
}

.dataTables_wrapper .dataTables_filter input:focus {
  border-color: var(--school-secondary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(20,184,166,0.15);
}
