:root {
  --primary: #10b981;
  --primary-glow: rgba(16, 185, 129, 0.4);
  --secondary: #059669;
  --dark: #0f172a;
  --text-main: #334155;
  --text-muted: #64748b;
  --light: #f0fdf4;
  --surface: #ffffff;
  --border-light: rgba(16, 185, 129, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Outfit", sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: #fafcfb;
  color: var(--text-main);
  background-image: radial-gradient(rgba(16, 185, 129, 0.08) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent;
  padding: 24px 0;
  z-index: 1000;
  transition: all 0.4s ease;
  border-bottom: 1px solid transparent;
}

nav.nav-scrolled {
  background: var(--primary);
  backdrop-filter: blur(12px);
  padding: 16px 0;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav.nav-scrolled .logo,
nav.nav-scrolled .logo i,
nav.nav-scrolled .nav-links a,
nav.nav-scrolled .mobile-menu-btn {
  color: #fff;
}

nav.nav-scrolled .nav-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

nav.nav-scrolled .btn-register {
  background: #fff;
  color: var(--primary) !important;
}

nav.nav-scrolled .btn-register:hover {
  background: rgba(255, 255, 255, 0.9);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 700;
  font-size: 1.25rem;
}

.logo i {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.9rem;
  transition: 0.3s;
}

.nav-links a:hover {
  color: var(--primary);
}

.btn-register {
  background: var(--primary);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 600 !important;
  font-size: 0.9rem;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
  background: none;
  border: none;
}

/* Hero Section */
.hero-section {
  padding: 180px 0 120px;
  position: relative;
  overflow: hidden;
  background: 
    radial-gradient(circle at 15% 50%, rgba(16, 185, 129, 0.08), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(5, 150, 105, 0.05), transparent 25%),
    var(--surface);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.badge-pill {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 24px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--dark);
  letter-spacing: -1px;
}

.text-primary {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.btn-primary {
  padding: 18px 36px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1.05rem;
  box-shadow: 0 10px 25px var(--primary-glow);
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px var(--primary-glow);
}

.btn-outline {
  padding: 18px 36px;
  border: 1px solid #e2e8f0;
  color: var(--dark);
  text-decoration: none;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1.05rem;
  display: inline-block;
  transition: all 0.3s ease;
  background: var(--surface);
}

.btn-outline:hover {
  background: var(--light);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.hero-image-wrapper {
  position: relative;
}

.hero-image {
  width: 100%;
  height: 560px;
  background: #e2e8f0;
  border-radius: 280px 280px 40px 40px; /* Modern arch shape */
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.15);
  border: 12px solid var(--surface);
  transition: all 0.5s ease;
}

.swiper-slide-active .hero-image {
  animation: floatImage 8s ease-in-out infinite;
}

@keyframes floatImage {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.hero-img-content {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 3rem;
}

.floating-badge {
  position: absolute;
  bottom: 40px;
  left: -40px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 24px;
  border-radius: 20px;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 16px;
  animation: float 6s ease-in-out infinite;
  z-index: 10;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

.check-icon-circle {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.badge-text h4 {
  font-size: 1.1rem;
  font-weight: 700;
}

.badge-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Swiper Styling */
.heroSwiper {
  width: 100%;
  height: 100%;
  padding-bottom: 60px; /* Space for pagination */
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #cbd5e1;
  opacity: 1;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  width: 32px;
  border-radius: 8px;
  background: var(--primary);
}

.swiper-slide {
  opacity: 0 !important;
  transition: opacity 1s ease;
}

.swiper-slide-active {
  opacity: 1 !important;
}

/* Fix AOS within Swiper */
.swiper-slide:not(.swiper-slide-active) [data-aos] {
    opacity: 0 !important;
    transform: translateY(30px) !important;
}
.swiper-slide.swiper-slide-active [data-aos] {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition-duration: 0.8s;
}

/* Stats Section */
.stats-section {
  padding: 60px 0;
  background: var(--light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  color: var(--primary);
}

.stat-label {
  color: var(--text-muted);
}

/* Features Section */
.features-section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  padding: 48px 40px;
  background: var(--surface);
  border-radius: 32px;
  border: 1px solid var(--border-light);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.feature-card:hover {
  transform: translateY(-12px);
  border-color: rgba(16, 185, 129, 0.2);
  box-shadow: 0 30px 60px -10px rgba(16, 185, 129, 0.08), 0 10px 20px -5px rgba(0, 0, 0, 0.04);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.icon-green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary);
}
.icon-blue {
  background: rgba(52, 152, 219, 0.1);
  color: #3498db;
}
.icon-yellow {
  background: rgba(241, 196, 15, 0.1);
  color: #f1c40f;
}

.feature-card h3 {
  margin-bottom: 16px;
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Latest Information Section */
.info-section {
  padding: 100px 0;
  background: #fff;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}

.announcement-box {
  background: var(--light);
  padding: 40px;
  border-radius: 32px;
  height: 100%;
}

.box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.box-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
}

.view-all {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.announcement-card {
  background: var(--surface);
  padding: 32px;
  border-radius: 24px;
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.announcement-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.date-badge {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 12px;
}

.announcement-title {
  font-size: 1.25rem;
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--dark);
}

.announcement-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.empty-state {
  text-align: center;
  padding: 40px;
  background: #fff;
  border-radius: 20px;
  color: var(--text-muted);
}

.empty-news {
  text-align: center;
  padding: 60px;
  background: var(--light);
  border-radius: 24px;
  border: 2px dashed #e2e8f0;
}

.news-card {
  background: var(--surface);
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 340px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.news-image {
  height: 100%;
  background: #f1f5f9;
  position: relative;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  background: #f8fafc;
}

.news-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-label {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-title {
  font-size: 1.3rem;
  margin-bottom: 16px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
}

.news-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.read-more {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Footer */
footer {
  background: var(--primary);
  color: #fff;
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  color: #fff;
  margin-bottom: 24px;
  display: flex;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
}

.footer-about h3 {
  margin-bottom: 20px;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.footer-links h4 {
  margin-bottom: 24px;
  font-size: 1.1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  transition: 0.3s;
}

.footer-links a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.contact-info {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.copyright {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* Page Template Styles */
.page-header {
    padding: 180px 0 100px;
    background:
        radial-gradient(circle at 80% 0%, rgba(16, 185, 129, 0.05), transparent 40%),
        var(--light);
}

.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
    color: var(--dark);
    letter-spacing: -1px;
}

.page-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 60px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.content-box {
    background: var(--surface);
    padding: 64px;
    border-radius: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.03);
    position: relative;
    z-index: 10;
    border: 1px solid var(--border-light);
}

.premium-card {
    background: var(--surface);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.premium-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.06);
    border-color: rgba(16, 185, 129, 0.2);
}

.history-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 80px;
}

.history-title {
  font-size: 1.8rem;
  margin-bottom: 24px;
  color: var(--dark);
}

.history-text {
  line-height: 1.8;
  color: var(--text-muted);
  white-space: pre-line;
}

.history-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.history-image img {
  width: 100%;
  height: auto;
}

.history-placeholder {
  width: 100%;
  height: 400px;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.card-box {
  padding: 40px;
  background: var(--light);
  border-radius: 24px;
}

.card-title {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-text {
  line-height: 1.7;
  color: var(--text-muted);
}

/* Berita Page Styles */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.news-item {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

.news-item:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
  border-color: rgba(16, 185, 129, 0.2);
}

.news-thumb {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-item:hover .news-thumb img {
  transform: scale(1.08);
}

.news-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--primary);
  color: #fff;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

.news-body {
  padding: 30px;
}

.news-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 12px;
}

.news-item-title {
  font-size: 1.25rem;
  margin-bottom: 16px;
  line-height: 1.4;
  color: var(--dark);
  font-weight: 700;
}

.news-item-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.empty-news-full {
  grid-column: 1 / -1;
  text-align: center;
  padding: 100px;
  background: #fff;
  border-radius: 24px;
  border: 1px dashed #cbd5e1;
}

/* Pendaftaran Page Styles */
.form-container {
  max-width: 800px;
  margin: 0 auto;
}

.form-box {
  background: #fff;
  padding: 48px;
  border-radius: 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 10;
}

.form-section-title {
  font-size: 1.25rem;
  margin-bottom: 24px;
  color: var(--dark);
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 12px;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  outline: none;
  font-size: 1rem;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.btn-submit {
  width: 100%;
  padding: 18px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(46, 204, 113, 0.2);
  transition: 0.3s;
}

.alert-success {
  background: rgba(46, 204, 113, 0.1);
  color: var(--primary);
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 32px;
  text-align: center;
  border: 1px solid rgba(46, 204, 113, 0.2);
}

/* Pengumuman List Card */
.announcement-list {
  display: grid;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.announcement-list-card {
  background: var(--surface);
  border-radius: 32px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  border: 1px solid var(--border-light);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.announcement-list-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.06);
  border-color: rgba(16, 185, 129, 0.2);
}

.announcement-header {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  align-items: center;
}

.announcement-date-box {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 15px 30px var(--primary-glow);
  flex-shrink: 0;
}

.announcement-date-day {
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 4px;
}

.announcement-date-month {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.announcement-meta-title {
  font-size: 1.6rem;
  color: var(--dark);
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.announcement-meta-time {
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.announcement-content {
  line-height: 1.8;
  color: var(--text-main);
  font-size: 1.1rem;
}

/* Gallery Styles */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 40px;
}

.gallery-item {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  aspect-ratio: 4/3;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  background: #f1f5f9;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 50%, transparent 100%);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: all 0.4s ease;
  backdrop-filter: blur(2px);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-category {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary);
  color: #fff;
  border-radius: 50px;
  font-size: 0.85rem;
  margin-bottom: 16px;
  align-self: flex-start;
  font-weight: 600;
  box-shadow: 0 8px 16px var(--primary-glow);
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
}

.gallery-title {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
  opacity: 0;
}

.gallery-date {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
  opacity: 0;
}

.gallery-item:hover .gallery-category,
.gallery-item:hover .gallery-title,
.gallery-item:hover .gallery-date {
  transform: translateY(0);
  opacity: 1;
}

/* MEDIA QUERIES FOR MOBILE */
@media (max-width: 991px) {
  .container {
    padding: 0 20px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-grid {
    gap: 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Navbar Mobile Trigger at 991px */
  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease-in-out;
    gap: 20px;
    align-items: flex-start;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 10px 0;
    font-size: 1.1rem;
  }

  .btn-register {
    display: inline-block;
    width: auto;
    margin-top: 10px;
    padding: 10px 24px;
  }
}

@media (max-width: 768px) {
  /* Hero */
  .hero-section {
    padding: 100px 0 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-grid > div:first-child {
    order: 1;
  }

  .hero-grid > div:last-child {
    order: 2;
  }

  .hero-image {
    height: 300px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .floating-badge {
    bottom: 20px;
    left: 20px;
    right: 20px;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 20px;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Info Section */
  .info-grid {
    grid-template-columns: 1fr;
  }

  .news-card {
    grid-template-columns: 1fr;
    height: auto;
  }

  .news-image {
    height: 200px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Profil Page Mobile */
  .content-box {
    padding: 30px;
  }

  .history-grid,
  .vision-mission-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .history-placeholder {
    height: 250px;
  }

  /* Berita Page Mobile */
  .news-grid {
    grid-template-columns: 1fr;
  }

  /* Pendaftaran Page Mobile */
  .form-box {
    padding: 24px;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
