/* ===== DESIGN SYSTEM & VARIABLES ===== */
:root {
  --salaf-green: #2E8B57;
  --salaf-green-dark: #1a6b3c;
  --salaf-green-light: #3da86d;
  --salaf-gold: #f4d03f;
  --salaf-gold-dark: #c19d2e;
  --salaf-brown: #8B4513;
  --salaf-cream: #F5F5DC;
  --salaf-dark: #0f1923;
  --salaf-dark-2: #162230;
  --bg-primary: #f8faf9;
  --bg-card: #ffffff;
  --bg-alt: #f0f4f1;
  --text-primary: #1a1a2e;
  --text-secondary: #555;
  --text-muted: #888;
  --border-color: #e0e5e2;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 0 30px rgba(46, 139, 87, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
  --max-width: 1200px;
  --content-width: 1200px;
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* ===== SCROLL REVEAL ===== */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-reveal="up"] {
  transform: translateY(40px);
}

[data-reveal="left"] {
  transform: translateX(-40px);
}

[data-reveal="right"] {
  transform: translateX(40px);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translate(0, 0);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.reveal-up {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0)
  }

  40% {
    transform: translateY(-16px)
  }

  60% {
    transform: translateY(-8px)
  }
}

@keyframes pulse {
  0% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.05)
  }

  100% {
    transform: scale(1)
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-12px)
  }
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0
  }

  10% {
    opacity: 1
  }

  90% {
    opacity: 0.5
  }

  100% {
    transform: translateY(-100vh) rotate(720deg);
    opacity: 0
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0
  }

  100% {
    background-position: 200% 0
  }
}

@keyframes geoFloat1 {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg)
  }

  50% {
    transform: translate(30px, -20px) rotate(45deg)
  }
}

@keyframes geoFloat2 {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg)
  }

  50% {
    transform: translate(-20px, 30px) rotate(-30deg)
  }
}

.pulse {
  animation: pulse 2.5s infinite;
}

/* ===== SECTION CONTAINER ===== */
.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  width: 100%;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  background: linear-gradient(135deg, var(--salaf-gold), var(--salaf-gold-dark));
  color: var(--salaf-dark);
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 208, 63, 0.35);
}

.btn-gold {
  background: linear-gradient(135deg, var(--salaf-gold), var(--salaf-gold-dark));
  color: var(--salaf-dark);
  padding: 14px 32px;
  font-size: 0.95rem;
  border-radius: 50px;
}

.btn-gold:hover {
  box-shadow: 0 8px 28px rgba(244, 208, 63, 0.4);
  transform: translateY(-3px);
}

.btn-green {
  background: linear-gradient(135deg, var(--salaf-green), var(--salaf-green-dark));
  color: #fff;
  padding: 14px 32px;
  font-size: 0.95rem;
  border-radius: 50px;
}

.btn-green:hover {
  box-shadow: 0 8px 28px rgba(46, 139, 87, 0.4);
  transform: translateY(-3px);
}

.btn-outline-hero {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
  padding: 14px 32px;
  font-size: 0.95rem;
  border-radius: 50px;
}

.btn-outline-hero:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 2px solid var(--salaf-green);
  color: var(--salaf-green);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  background: transparent;
}

.btn-outline:hover {
  background: var(--salaf-green);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 139, 87, 0.25);
}

.btn-outline-light {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.6);
  padding: 14px 32px;
  font-size: 0.95rem;
  border-radius: 50px;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: linear-gradient(90deg, var(--salaf-dark) 0%, #1a2d20 100%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.76rem;
  padding: 7px 0;
  transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
  overflow: hidden;
  max-height: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar.hidden {
  max-height: 0;
  padding: 0;
  opacity: 0;
}

.top-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  gap: 24px;
  align-items: center;
}

.top-bar-left span {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.top-bar-left i {
  color: var(--salaf-gold);
  font-size: 0.68rem;
}

.top-bar-right {
  display: flex;
  gap: 14px;
  align-items: center;
}

.top-bar-right a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.top-bar-right a:hover {
  color: var(--salaf-gold);
  background: rgba(255, 255, 255, 0.08);
}

/* ===== HEADER & NAVBAR ===== */
header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 1050;
  /* Harus lebih tinggi dari backdrop (999) */
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.09);
  border-bottom-color: var(--border-color);
  background: rgba(255, 255, 255, 0.99);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px clamp(20px, 4vw, 48px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

header.scrolled .header-inner {
  padding: 8px 24px;
}

/* ===== LOGO ===== */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
  transition: var(--transition);
}

.logo:hover {
  opacity: 0.88;
}

.logo-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  transition: var(--transition);
}

header.scrolled .logo-img {
  width: 38px;
  height: 38px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text h1 {
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-muted);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin: 0;
}

.logo-subtitle {
  font-size: 1rem;
  font-weight: 700;
  color: var(--salaf-green);
  line-height: 1.3;
  display: block;
  letter-spacing: -0.2px;
}

/* ===== NAVIGATION ===== */
nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 0;
  align-items: center;
  margin: 0;
  padding: 0;
}

nav>ul>li {
  position: relative;
}

nav>ul>li>a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px 9px;
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}

nav>ul>li>a:hover,
nav>ul>li>a.active-nav {
  color: var(--salaf-green);
  background: rgba(46, 139, 87, 0.07);
}

nav>ul>li>a.active-nav::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2.5px;
  background: var(--salaf-green);
  border-radius: 2px;
}

/* Nav CTA — Pendaftaran */
.nav-cta-btn {
  background: linear-gradient(135deg, var(--salaf-green), var(--salaf-green-dark)) !important;
  color: #fff !important;
  border-radius: 50px !important;
  padding: 7px 14px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  margin-left: 2px;
  box-shadow: 0 2px 10px rgba(46, 139, 87, 0.18);
}

.nav-cta-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 18px rgba(46, 139, 87, 0.32) !important;
  background: linear-gradient(135deg, var(--salaf-green-light), var(--salaf-green)) !important;
}

/* Nav Login Button */
.nav-login-btn {
  background: transparent !important;
  color: var(--salaf-green-dark) !important;
  border: 1.5px solid rgba(46, 139, 87, 0.5) !important;
  border-radius: 50px !important;
  padding: 6px 12px !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  transition: all 0.25s ease !important;
  margin-left: 2px;
  white-space: nowrap;
}

.nav-login-btn:hover {
  background: var(--salaf-green) !important;
  color: #fff !important;
  border-color: var(--salaf-green) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 14px rgba(46, 139, 87, 0.28) !important;
}

.nav-login-btn i {
  font-size: 0.7rem;
}

/* ===== DROPDOWN ===== */
nav ul li ul {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px) scale(0.97);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  min-width: 210px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  z-index: 999;
  overflow: hidden;
  border: 1px solid var(--border-color);
  /* Use opacity + pointer-events instead of display:none to allow smooth transition */
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.18s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Invisible bridge — fills the gap between nav item and dropdown so mouse can travel down */
nav>ul>li::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -10px;
  right: -10px;
  height: 16px;
  /* covers the 6px CSS gap + pseudo-arrow + some buffer */
  background: transparent;
  pointer-events: none;
  /* only active when li is .open */
}

nav>ul>li.open::after {
  pointer-events: auto;
}

/* Dropdown arrow pointer */
nav ul li ul::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-left: 1px solid var(--border-color);
  transform: translateX(-50%) rotate(45deg);
}

/* Open state — triggered by JS adding .open class to the li */
nav ul li.open>ul {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* Chevron rotation */
nav ul li .dropdown-toggle .fa-chevron-down {
  transition: transform 0.2s ease;
  display: inline-block;
}

nav ul li.open>a .fa-chevron-down {
  transform: rotate(180deg);
}

nav ul li ul li {
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

nav ul li ul li:last-child {
  border-bottom: none;
}

nav ul li ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

nav ul li ul li a i {
  color: var(--salaf-green);
  font-size: 0.78rem;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

nav ul li ul li a:hover {
  background: rgba(46, 139, 87, 0.06);
  color: var(--salaf-green);
  padding-left: 22px;
}

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  outline: none;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}

.hamburger:hover {
  background: rgba(46, 139, 87, 0.08);
}

.bar {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #1a1a2e;
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  opacity: 1;
}

/* ===== HERO SECTION ===== */
.hero {
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(135deg, rgba(15, 25, 35, 0.88), rgba(46, 139, 87, 0.55)), url('img/5.jpeg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 0 20px;
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  bottom: -10px;
  background: rgba(244, 208, 63, 0.4);
  border-radius: 50%;
  animation: particleFloat linear infinite;
}

.hero-geometric {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.geo-shape {
  position: absolute;
  border: 1px solid rgba(244, 208, 63, 0.12);
  border-radius: var(--radius-lg);
}

.geo-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  right: 10%;
  animation: geoFloat1 12s ease-in-out infinite;
}

.geo-2 {
  width: 150px;
  height: 150px;
  bottom: 15%;
  left: 8%;
  animation: geoFloat2 10s ease-in-out infinite;
}

.geo-3 {
  width: 100px;
  height: 100px;
  top: 50%;
  left: 50%;
  animation: geoFloat1 8s ease-in-out infinite reverse;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-badge i {
  color: var(--salaf-gold);
}

.hero-content h2 {
  font-size: 3.2rem;
  font-weight: 700;
  font-family: 'Amiri', serif;
  margin-bottom: 16px;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-content>p {
  font-size: 1.15rem;
  margin-bottom: 32px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-hijri {
  margin-top: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-hijri i {
  color: var(--salaf-gold);
  font-size: 0.9rem;
}

.scroll-down {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-down a {
  color: rgba(255, 255, 255, 0.7);
}

.bounce {
  animation: bounce 2s infinite;
  font-size: 1.5rem;
  display: block;
}

/* ===== QUICK STATS BAR ===== */
.quick-stats {
  background: transparent;
  padding: 0 20px;
  position: relative;
  z-index: 10;
  margin-top: -56px;
}

.quick-stats-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: #fff;
  border-radius: 20px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.06);
  padding: 0;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.quick-stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  justify-content: center;
  padding: 28px 24px;
  position: relative;
  transition: background 0.2s ease;
}

.quick-stat-item:hover {
  background: rgba(46, 139, 87, 0.03);
}

.quick-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(46, 139, 87, 0.1), rgba(46, 139, 87, 0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(46, 139, 87, 0.12);
}

.quick-stat-icon i {
  font-size: 1.1rem;
  color: var(--salaf-green);
}

.quick-stat-info {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  column-gap: 2px;
  row-gap: 3px;
}

.quick-stat-info h4 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--salaf-green);
  line-height: 1;
  letter-spacing: -0.5px;
}

.quick-stat-info span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--salaf-green);
  line-height: 1;
  align-self: flex-start;
  padding-top: 2px;
}

.quick-stat-info p {
  grid-column: 1 / -1;
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.quick-stat-divider {
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.08) 30%, rgba(0, 0, 0, 0.08) 70%, transparent);
  flex-shrink: 0;
  align-self: stretch;
  margin: 0;
}

/* ===== SECTION COMMON ===== */
section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(46, 139, 87, 0.08);
  color: var(--salaf-green);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.section-header h2 {
  font-size: 2.4rem;
  font-family: 'Amiri', serif;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.section-header h2 span {
  color: var(--salaf-green);
}

.section-title {
  font-size: 2.2rem;
  font-family: 'Amiri', serif;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.section-title span {
  color: var(--salaf-green);
}

.underline {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--salaf-green), var(--salaf-gold));
  margin: 0 auto;
  border-radius: 2px;
}

.underline-left {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--salaf-green), var(--salaf-gold));
  border-radius: 2px;
  margin-bottom: 20px;
}

/* ===== PROFIL SECTION ===== */
.profil {
  background: var(--bg-primary);
  padding: 100px 0 80px;
}

.profil-content {
  display: flex;
  gap: 60px;
  align-items: center;
}

.profil-text,
.profil-image {
  flex: 1;
  min-width: 0;
}

.profil-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--salaf-green-dark);
  font-family: 'Amiri', serif;
}

.profil-text>p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.profil-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.profil-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.feature-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(46, 139, 87, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon i {
  color: var(--salaf-green);
  font-size: 0.7rem;
}

.image-frame-pro {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.image-frame-pro img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.image-frame-pro:hover img {
  transform: scale(1.04);
}

.image-float-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--salaf-green-dark);
  box-shadow: var(--shadow-md);
}

.image-float-badge i {
  color: var(--salaf-gold);
}

/* Keep old image-frame for internal pages */
.image-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(46, 139, 87, 0.15);
  position: relative;
}

.image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.image-frame:hover img {
  transform: scale(1.04);
}

/* Stats Row (used in profile page) */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--salaf-green), var(--salaf-gold));
  opacity: 0;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(46, 139, 87, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.stat-icon i {
  font-size: 1.2rem;
  color: var(--salaf-green);
}

.stat-card h4 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--salaf-green);
  display: inline;
}

.stat-card span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--salaf-green);
}

.stat-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== KEUNGGULAN SECTION ===== */
.keunggulan {
  background: var(--bg-alt);
}

.keunggulan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.keunggulan-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.keunggulan-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--salaf-green), var(--salaf-gold));
  transform: scaleX(0);
  transition: var(--transition);
}

.keunggulan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

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

.keunggulan-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  transition: var(--transition);
}

.keunggulan-card:hover .keunggulan-icon-wrap {
  transform: scale(1.1);
}

.keunggulan-icon-wrap.green {
  background: rgba(46, 139, 87, 0.1);
  color: var(--salaf-green);
}

.keunggulan-icon-wrap.gold {
  background: rgba(244, 208, 63, 0.15);
  color: var(--salaf-gold-dark);
}

.keunggulan-icon-wrap.emerald {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.keunggulan-icon-wrap.teal {
  background: rgba(26, 188, 156, 0.1);
  color: #1abc9c;
}

/* Legacy support */
.keunggulan-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
}

.keunggulan-icon.green {
  background: rgba(46, 139, 87, 0.1);
  color: var(--salaf-green);
}

.keunggulan-icon.gold {
  background: rgba(244, 208, 63, 0.15);
  color: var(--salaf-gold-dark);
}

.keunggulan-icon.brown {
  background: rgba(139, 69, 19, 0.1);
  color: var(--salaf-brown);
}

.keunggulan-icon.teal {
  background: rgba(26, 188, 156, 0.1);
  color: #1abc9c;
}

.keunggulan-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.keunggulan-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== SANAD SECTION ===== */
.sanad {
  background: linear-gradient(135deg, var(--salaf-dark) 0%, #0d2b1a 100%);
  color: white;
}

.sanad .section-tag {
  background: rgba(244, 208, 63, 0.15);
  color: var(--salaf-gold);
}

.sanad .section-header h2 {
  color: white;
}

.sanad .section-header h2 span {
  color: var(--salaf-gold);
}

.sanad .underline {
  background: linear-gradient(90deg, var(--salaf-gold), var(--salaf-brown));
}

.sanad-chain {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.chain-item {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  min-width: 200px;
  flex: 1;
  transition: var(--transition);
}

.chain-item:hover,
.chain-item.active-chain {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.chain-item.active-chain {
  border-color: var(--salaf-gold);
  box-shadow: 0 0 20px rgba(244, 208, 63, 0.15);
}

.chain-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(244, 208, 63, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.chain-icon i {
  font-size: 1.5rem;
  color: var(--salaf-gold);
}

.chain-item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.chain-item p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.chain-arrow {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

/* ===== KITAB SECTION ===== */
.kitab {
  background: var(--bg-primary);
}

.kitab-levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.level {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
  transition: var(--transition);
}

.level:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.level.featured {
  border: 2px solid var(--salaf-green);
  box-shadow: var(--shadow-md), 0 0 0 4px rgba(46, 139, 87, 0.08);
}

.level-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.3rem;
}

.level-badge.ibtida {
  background: rgba(46, 139, 87, 0.1);
  color: var(--salaf-green);
}

.level-badge.tsanawi {
  background: rgba(244, 208, 63, 0.15);
  color: var(--salaf-gold-dark);
}

.level-badge.aliyah {
  background: rgba(139, 69, 19, 0.1);
  color: var(--salaf-brown);
}

.level-popular {
  position: absolute;
  top: -12px;
  right: 20px;
  padding: 4px 16px;
  background: var(--salaf-green);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
}

.level h3 {
  text-align: center;
  color: var(--text-primary);
  margin-bottom: 20px;
  font-size: 1.1rem;
  font-weight: 600;
}

.level ul {
  list-style: none;
}

.level li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
}

.level li:last-child {
  border-bottom: none;
}

.level li i {
  color: var(--salaf-gold);
  font-size: 0.85rem;
}

/* ===== TRADISI SECTION ===== */
.tradisi {
  background: var(--bg-alt);
}

.tradisi-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.jadwal,
.acara {
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.card-header-accent {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 28px;
  background: linear-gradient(135deg, rgba(46, 139, 87, 0.06), rgba(244, 208, 63, 0.04));
  border-bottom: 1px solid var(--border-color);
}

.card-header-accent i {
  font-size: 1.1rem;
  color: var(--salaf-green);
}

.card-header-accent h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

.jadwal-list,
.acara-list {
  padding: 8px 28px 20px;
}

.card-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 28px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--salaf-green);
  border-top: 1px solid var(--border-color);
  transition: var(--transition);
}

.card-link:hover {
  background: rgba(46, 139, 87, 0.04);
  gap: 10px;
}

.jadwal-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.jadwal-item:last-child {
  border-bottom: none;
}

.waktu {
  font-weight: 700;
  font-size: 0.88rem;
  min-width: 56px;
  color: var(--salaf-green);
  font-family: 'Poppins', sans-serif;
}

.kegiatan {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.kegiatan i {
  color: var(--salaf-gold);
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.highlight {
  background: rgba(46, 139, 87, 0.04);
  border-radius: var(--radius-sm);
  padding: 12px 14px !important;
  border: 1px solid rgba(46, 139, 87, 0.08) !important;
  border-bottom: 1px solid rgba(46, 139, 87, 0.08) !important;
}

.acara-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
}

.acara-item:last-child {
  border-bottom: none;
}

.acara-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(244, 208, 63, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.acara-icon i {
  font-size: 0.85rem;
  color: var(--salaf-gold-dark);
}

.acara-item h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.acara-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ===== ARTIKEL SECTION ===== */
.artikel {
  background: var(--bg-primary);
  padding: 80px 5%;
}

.artikel-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.artikel-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.artikel-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.artikel-image {
  height: 200px;
  overflow: hidden;
}

.artikel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.artikel-card:hover .artikel-image img {
  transform: scale(1.08);
}

.artikel-content {
  padding: 20px 24px 24px;
}

.artikel-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.artikel-meta i {
  color: var(--salaf-green);
  font-size: 0.75rem;
}

.artikel-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.artikel-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.artikel-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--salaf-green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.artikel-link:hover {
  gap: 10px;
  color: var(--salaf-green-dark);
}

.artikel-link i {
  font-size: 0.75rem;
}

.lihat-semua {
  text-align: center;
  margin-top: 40px;
}

.artikel-loading {
  grid-column: 1/-1;
  text-align: center;
  padding: 48px 20px;
}

.artikel-loading p {
  margin-top: 12px;
  color: var(--text-muted);
}

/* ===== FAQ SECTION ===== */
.faq-section {
  background: var(--bg-alt);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--salaf-green);
}

.faq-question i {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--salaf-green);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.faq-answer a {
  color: var(--salaf-green);
  font-weight: 500;
}

.faq-answer a:hover {
  text-decoration: underline;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--salaf-green) 0%, var(--salaf-green-dark) 100%);
  padding: 60px 5%;
  position: relative;
  overflow: hidden;
}

.cta-bg-pattern {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(244, 208, 63, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-text h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  font-family: 'Amiri', serif;
}

.cta-text p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ===== PORTAL SECTION ===== */
.portal {
  background: var(--bg-primary);
}

.portal-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portal-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
}

.portal-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.portal-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.portal-icon-wrap.green {
  background: rgba(46, 139, 87, 0.1);
  color: var(--salaf-green);
}

.portal-icon-wrap.gold {
  background: rgba(244, 208, 63, 0.15);
  color: var(--salaf-gold-dark);
}

.portal-icon-wrap.brown {
  background: rgba(139, 69, 19, 0.1);
  color: var(--salaf-brown);
}

.portal-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.portal-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.portal-card .btn {
  width: 100%;
  justify-content: center;
}

/* ===== LOKASI SECTION ===== */
.lokasi-section {
  background: var(--bg-alt);
}

.lokasi-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
}

.lokasi-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lokasi-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.lokasi-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(46, 139, 87, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lokasi-icon i {
  color: var(--salaf-green);
  font-size: 1rem;
}

.lokasi-item h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.lokasi-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.lokasi-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 320px;
  border: 1px solid var(--border-color);
}

.lokasi-map iframe {
  display: block;
}

/* ===== FOOTER ===== */
footer {
  background: var(--salaf-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 0;
  position: relative;
}

.footer-wave {
  color: var(--salaf-dark);
  position: relative;
  top: 1px;
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: 60px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 40px 5% 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--salaf-gold);
  border-radius: 1px;
}

.footer-about p {
  font-size: 0.88rem;
  margin-top: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo .logo-img {
  width: 44px;
  height: 44px;
  border: none;
}

.footer-logo h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  font-size: 0.9rem;
}

.footer-social a:hover {
  background: var(--salaf-green);
  color: white;
  transform: translateY(-2px);
}

.footer-col ul {
  list-style: none;
}

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

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--salaf-gold);
  padding-left: 4px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-info p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin: 0;
}

.footer-info p i {
  color: var(--salaf-gold);
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

.footer-info p a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-info p a:hover {
  color: var(--salaf-gold);
}

.copyright {
  padding: 20px 5%;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.copyright p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ===== FLOATING BUTTONS ===== */
.fab-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

.fab-whatsapp.visible {
  opacity: 1;
  transform: translateY(0);
}

.fab-whatsapp:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}

.fab-tooltip {
  position: absolute;
  right: 68px;
  background: var(--salaf-dark);
  color: white;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.fab-whatsapp:hover .fab-tooltip {
  opacity: 1;
}

.btn-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 999;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

.btn-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.btn-top:hover {
  background: var(--salaf-green);
  color: white;
  border-color: var(--salaf-green);
  transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width:1024px) {
  .keunggulan-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .cta-content {
    flex-direction: column;
    text-align: center;
  }

  .cta-actions {
    justify-content: center;
  }

  .quick-stats {
    margin-top: -40px;
    padding: 0 16px;
  }

  .quick-stats-inner {
    gap: 0;
    padding: 0;
    border-radius: 16px;
  }

  .quick-stat-divider {
    display: block;
    width: 1px;
    height: auto;
    align-self: stretch;
    margin: 12px 0;
  }

  .quick-stat-item {
    flex: 1;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 20px 12px;
  }

  .quick-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .quick-stat-info {
    justify-items: center;
    justify-content: center;
  }

  .quick-stat-info h4 {
    font-size: 1.5rem;
  }

  .quick-stat-info span {
    font-size: 0.95rem;
  }

  .quick-stat-info p {
    font-size: 0.68rem;
    text-align: center;
  }

  .top-bar-left span:nth-child(3) {
    display: none;
  }
}

@media (max-width:992px) {

  /* ===== MOBILE NAV DRAWER ===== */
  nav ul {
    position: fixed;
    top: 0;
    left: -100%;
    background: #fff;
    width: min(320px, 92vw);
    height: auto;
    max-height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding-top: 0;
    padding-bottom: 16px;
    transition: left 0.38s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.38s ease;
    box-shadow: none;
    overflow-y: auto;
    overflow-x: hidden;
    gap: 0;
    z-index: 1060;
    border-right: none;
    border-bottom-right-radius: 16px;
    scrollbar-width: thin;
    scrollbar-color: rgba(46, 139, 87, 0.3) transparent;
  }

  nav ul.active {
    left: 0;
    box-shadow: 8px 0 60px rgba(0, 0, 0, 0.35);
  }

  /* Green header area inside drawer */
  nav ul::before {
    content: 'Menu Utama';
    display: block;
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 58px 20px 10px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    background: linear-gradient(160deg, #0d1f14 0%, #1a3324 70%, #1e3d28 100%);
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  /* Mobile nav backdrop overlay */
  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.38s ease;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  .nav-backdrop.active {
    display: block;
    opacity: 1;
  }

  nav>ul>li {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
  }

  /* Colored left border indicator on hover/active */
  nav>ul>li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--salaf-green);
    border-radius: 0 2px 2px 0;
    opacity: 0;
    transform: scaleY(0);
    transition: opacity 0.2s, transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
  }

  nav>ul>li:hover::before,
  nav>ul>li.open::before {
    opacity: 1;
    transform: scaleY(1);
  }

  nav>ul>li>a {
    padding: 11px 20px 11px 18px;
    font-size: 0.9rem;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
  }

  nav>ul>li>a:hover,
  nav>ul>li>a.active-nav {
    background: rgba(46, 139, 87, 0.07);
    color: var(--salaf-green);
    padding-left: 24px;
  }

  nav>ul>li>a.active-nav::after {
    display: none;
  }

  /* ===== MOBILE DROPDOWN FIX ===== */
  nav ul li ul {
    position: static !important;
    box-shadow: none !important;
    border: none !important;
    border-top: 1px solid rgba(46, 139, 87, 0.08) !important;
    background: rgba(46, 139, 87, 0.03) !important;
    border-radius: 0 !important;
    /* Override desktop hidden state — use display toggle */
    display: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    min-width: 0 !important;
    width: 100% !important;
    left: auto !important;
    /* Smooth accordion */
    overflow: hidden;
    transition: none;
  }

  nav ul li ul::before {
    display: none !important;
  }

  nav ul li.open>ul {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  nav ul li ul li {
    border-bottom: 1px solid rgba(46, 139, 87, 0.06);
    width: 100%;
  }

  nav ul li ul li:last-child {
    border-bottom: none;
  }

  nav ul li ul li a {
    padding: 10px 16px 10px 40px !important;
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 0;
    transition: background 0.2s, color 0.2s, padding-left 0.2s;
  }

  nav ul li ul li a i {
    color: var(--salaf-green);
    opacity: 0.8;
  }

  nav ul li ul li a:hover {
    background: rgba(46, 139, 87, 0.08);
    color: var(--salaf-green);
    padding-left: 46px !important;
  }

  /* Dropdown toggle chevron */
  nav ul li .dropdown-toggle {
    justify-content: space-between;
  }

  nav ul li .dropdown-toggle .fa-chevron-down {
    margin-left: auto;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  }

  nav ul li.open>a .fa-chevron-down {
    transform: rotate(180deg);
  }

  /* Nav action buttons in mobile */
  .nav-cta-btn {
    margin: 12px 16px 6px !important;
    width: calc(100% - 32px) !important;
    justify-content: center !important;
    text-align: center !important;
    border-radius: 10px !important;
    padding: 11px 20px !important;
    font-size: 0.88rem !important;
    box-shadow: 0 4px 16px rgba(46, 139, 87, 0.2) !important;
  }

  .nav-login-btn {
    margin: 4px 16px 16px !important;
    width: calc(100% - 32px) !important;
    justify-content: center !important;
    border-radius: 10px !important;
    padding: 10px 20px !important;
    font-size: 0.88rem !important;
    border-color: var(--salaf-green) !important;
  }

  /* ===== HAMBURGER BUTTON ===== */
  .hamburger {
    display: flex;
    width: 42px;
    height: 42px;
    padding: 9px;
    border-radius: 10px;
    background: rgba(46, 139, 87, 0.07);
    border: 1.5px solid rgba(46, 139, 87, 0.15);
    transition: background 0.2s, border-color 0.2s;
  }

  .hamburger:hover {
    background: rgba(46, 139, 87, 0.13);
    border-color: rgba(46, 139, 87, 0.3);
  }

  .hamburger.active {
    background: var(--salaf-green);
    border-color: var(--salaf-green);
  }

  .hamburger.active .bar {
    background: #fff;
  }

  /* Hamburger → X animation */
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }

  .sanad-chain {
    flex-direction: column;
    gap: 16px;
  }

  .chain-arrow {
    transform: rotate(90deg);
  }

  .chain-item {
    width: 100%;
    max-width: 400px;
  }

  .top-bar {
    display: none;
  }
}

@media (max-width:768px) {
  section {
    padding: 60px 4%;
  }

  .hero-content h2 {
    font-size: 2.2rem;
  }

  .hero-content>p {
    font-size: 1rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .profil-content {
    flex-direction: column;
    gap: 32px;
  }

  .profil-features {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .keunggulan-grid {
    grid-template-columns: 1fr;
  }

  .kitab-levels {
    grid-template-columns: 1fr;
  }

  .tradisi-content {
    grid-template-columns: 1fr;
  }

  .portal-cards {
    grid-template-columns: 1fr;
  }

  .lokasi-content {
    grid-template-columns: 1fr;
  }

  .lokasi-map {
    min-height: 260px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 5% 32px;
  }

  .footer-col h4::after {
    left: 0;
  }

  .logo-text h1 {
    font-size: 0.75rem;
  }

  .logo-subtitle {
    font-size: 0.9rem;
  }

  .artikel-container {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .quick-stats {
    margin-top: -30px;
    padding: 0 14px;
  }

  .quick-stats-inner {
    flex-direction: row;
    gap: 0;
    padding: 0;
    border-radius: 14px;
  }

  .quick-stat-divider {
    display: block;
    width: 1px;
    height: auto;
    align-self: stretch;
    margin: 10px 0;
  }

  .quick-stat-item {
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    padding: 16px 8px;
    width: 0;
  }

  .quick-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }

  .quick-stat-icon i {
    font-size: 0.9rem;
  }

  .quick-stat-info {
    align-items: center;
  }

  .quick-stat-info h4 {
    font-size: 1.3rem;
    letter-spacing: -0.5px;
  }

  .quick-stat-info span {
    font-size: 0.9rem;
  }

  .quick-stat-info p {
    font-size: 0.62rem;
    margin-top: 2px;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }
}

@media (max-width:480px) {
  .hero-content h2 {
    font-size: 1.8rem;
  }

  .section-header h2 {
    font-size: 1.7rem;
  }

  .logo-img {
    width: 36px;
    height: 36px;
  }

  .fab-whatsapp {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
    bottom: 16px;
    right: 16px;
  }

  .btn-top {
    width: 40px;
    height: 40px;
    bottom: 76px;
    right: 16px;
  }
}

/* ===== INTERNAL PAGES ===== */
.hero-small {
  height: 45vh;
  min-height: 350px;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(46, 139, 87, 0.7)), url('img/1.jpeg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-top: 0;
  padding-top: 60px;
  position: relative;
}

.hero-small::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('img/pattern.png');
  opacity: 0.1;
  pointer-events: none;
}

.hero-small h2 {
  font-size: 2.8rem;
  font-family: 'Amiri', serif;
  margin-bottom: 12px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-small p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Data Tables */
.table-responsive {
  overflow-x: auto;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

th {
  background: rgba(46, 139, 87, 0.08);
  color: var(--salaf-green-dark);
  font-weight: 600;
  white-space: nowrap;
}

tr:hover td {
  background: var(--bg-alt);
}

/* Button Groups */
.btn-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  justify-content: center;
}

.btn-group button {
  padding: 10px 24px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  font-size: 0.9rem;
}

.btn-group button:hover,
.btn-group button.active {
  background: var(--salaf-green);
  color: white;
  border-color: var(--salaf-green);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

/* Article Detail */
.article-detail {
  max-width: 900px;
  margin: -60px auto 0;
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 10;
}

.article-header {
  margin-bottom: 24px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
}

.article-header h1 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  color: var(--text-primary);
  font-weight: 700;
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-meta i {
  color: var(--salaf-green);
}

.article-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: var(--shadow-md);
}

.article-body {
  line-height: 1.8;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

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

.breadcrumb {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 0.85rem;
  opacity: 0.8;
}

.breadcrumb a {
  color: white;
  text-decoration: underline;
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.6);
}

/* Profil Page */
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.program {
  background: var(--bg-alt);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.program:hover {
  background: white;
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.program h5 {
  color: var(--salaf-green);
  font-size: 1.1rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.program ul {
  list-style: none;
  margin-top: 12px;
}

.program li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.program li::before {
  content: '•';
  color: var(--salaf-gold);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.struktur-content {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.pengasuh-item {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  width: 300px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border-top: 4px solid var(--salaf-green);
}

.pengasuh-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.pengasuh-icon {
  width: 80px;
  height: 80px;
  background: rgba(46, 139, 87, 0.1);
  color: var(--salaf-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

.pengasuh-item h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.pengasuh-item p {
  color: var(--salaf-gold-dark);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.pengasuh-desc {
  font-weight: 400 !important;
  color: var(--text-muted) !important;
  font-size: 0.85rem !important;
  line-height: 1.6;
}

/* ===== JADWAL SECTION ===== */
.jadwal-section {
  padding: 60px 0;
  background: var(--bg-primary);
}

.jadwal-section .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

/* Improved Table Responsive Wrapper */
.table-responsive {
  overflow-x: auto;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
  margin-top: 8px;
  -webkit-overflow-scrolling: touch;
}

table#jadwalTable,
table#dataTable {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

table#jadwalTable th,
table#jadwalTable td,
table#dataTable th,
table#dataTable td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

table#jadwalTable th,
table#dataTable th {
  background: rgba(46, 139, 87, 0.09);
  color: var(--salaf-green-dark);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

table#jadwalTable td,
table#dataTable td {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

table#jadwalTable tr:last-child td,
table#dataTable tr:last-child td {
  border-bottom: none;
}

table#jadwalTable tbody tr:hover td,
table#dataTable tbody tr:hover td {
  background: rgba(46, 139, 87, 0.04);
}

/* ===== PROFIL SECTION – layout responsive ===== */
.profil {
  padding: 60px 0;
  background: var(--salaf-cream);
}

.profil .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

.profil-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.profil-text {
  background: #fff;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-left: 5px solid var(--salaf-gold);
}

.profil-image {
  position: sticky;
  top: 100px;
}

/* Visi Misi */
.visi-misi {
  padding: 60px 0;
}

.visi-misi .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

.tradisi-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* Struktur */
.struktur {
  padding: 60px 0;
}

.struktur .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

/* Program Section */
.program-section {
  padding: 60px 0;
}

.program-section .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

/* Artikel page container */
.artikel .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

/* Stats row */
.stats-row {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.stat-card {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.stat-card h4 {
  font-size: 1.8rem;
  color: var(--salaf-brown);
  font-weight: 700;
}

.stat-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width:768px) {
  .hero-small {
    height: 35vh;
    min-height: 280px;
    padding-top: 80px;
  }

  .hero-small h2 {
    font-size: 2rem;
  }

  .program-grid,
  .struktur-content {
    grid-template-columns: 1fr;
  }

  .pengasuh-item {
    width: 100%;
  }

  .article-detail {
    padding: 24px 16px;
    margin-top: -40px;
  }

  .article-header h1 {
    font-size: 1.6rem;
  }

  .btn-group {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
  }

  .btn-group button {
    flex-shrink: 0;
  }

  /* Jadwal & Data Santri mobile */
  .jadwal-section {
    padding: 40px 0;
  }

  table#jadwalTable th,
  table#jadwalTable td,
  table#dataTable th,
  table#dataTable td {
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  /* Profil mobile */
  .profil-content {
    grid-template-columns: 1fr;
  }

  .tradisi-content {
    grid-template-columns: 1fr;
  }

  .profil-image {
    position: static;
  }
}

@media (max-width: 480px) {

  table#jadwalTable th,
  table#jadwalTable td,
  table#dataTable th,
  table#dataTable td {
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  .profil-text {
    padding: 1.2rem;
  }
}