/* ==========================================
   DESA WONOWOSO - PROFESSIONAL CSS
   ========================================== */

/* ========== CSS Variables ========== */
:root {
  /* Colors */
  --primary: #1e8f4d;
  --primary-dark: #156b3a;
  --primary-light: #2cb665;
  --secondary: #2196f3;
  --accent: #ff9800;
  --success: #4caf50;
  --warning: #ffc107;
  --danger: #f44336;
  --info: #00bcd4;

  /* Neutrals */
  --dark: #1a1a2e;
  --gray-900: #212529;
  --gray-800: #343a40;
  --gray-700: #495057;
  --gray-600: #6c757d;
  --gray-500: #adb5bd;
  --gray-400: #ced4da;
  --gray-300: #dee2e6;
  --gray-200: #e9ecef;
  --gray-100: #f8f9fa;
  --white: #ffffff;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #1e8f4d 0%, #2cb665 100%);
  --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
  --gradient-hero: linear-gradient(135deg, rgba(30, 143, 77, 0.9) 0%, rgba(26, 26, 46, 0.8) 100%);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);

  /* Typography */
  --font-primary: 'Poppins', sans-serif;

  /* Transitions */
  --transition: all 0.3s ease;
  --transition-fast: all 0.15s ease;
  --transition-slow: all 0.5s ease;

  /* Border Radius */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--gray-100);
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-family: inherit;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 12px 16px;
  width: 100%;
  transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(30, 143, 77, 0.1);
}

/* ========== Utility Classes ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(30, 143, 77, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 143, 77, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
}

.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
}

.btn-text {
  background: none;
  color: var(--primary);
  padding: 8px 0;
}

.btn-text:hover {
  color: var(--primary-dark);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

/* ========== Preloader ========== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: var(--transition-slow);
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  text-align: center;
}

.loader-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  animation: pulse 1.5s ease-in-out infinite;
}

.loader-icon i {
  font-size: 36px;
  color: var(--white);
}

.loader p {
  color: var(--gray-600);
  font-weight: 500;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

/* ========== Header ========== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: var(--transition);
}

header.scrolled {
  background: rgba(0, 0, 0, 0.2);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

header.scrolled .logo-text h1,
header.scrolled .logo-text span,
header.scrolled .nav-link {
  color: var(--white);
}

header.scrolled .nav-link:hover,
header.scrolled .nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-icon {
  width: 50px;
  height: 50px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon i {
  font-size: 32px;
  color: var(--white);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-text h1 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
}

.logo-text span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
}

#navbar {
  display: flex;
  gap: 8px;
}

.nav-link {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link i {
  font-size: 12px;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(255, 255, 255, 0.15);
}



.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  cursor: pointer;
  position: relative;
}

header.scrolled .user-info {
  background: var(--gray-100);
}

.user-info img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.user-info span {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
}

header.scrolled .user-info span {
  color: var(--gray-800);
}

.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}

.user-info:hover .user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: var(--gray-700);
  font-size: 14px;
}

.user-dropdown a:hover {
  background: var(--gray-100);
  color: var(--primary);
}

.user-dropdown a:first-child {
  border-radius: var(--radius) var(--radius) 0 0;
}

.user-dropdown a:last-child {
  border-radius: 0 0 var(--radius) var(--radius);
  color: var(--danger);
}

.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 20px;
}

header.scrolled .mobile-menu-btn {
  background: var(--gray-100);
  color: var(--gray-800);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: var(--white);
  z-index: 2000;
  transition: var(--transition);
  box-shadow: var(--shadow-xl);
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--gray-200);
}

.mobile-nav-header h3 {
  font-size: 18px;
  color: var(--gray-800);
}

.close-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: 18px;
}

.mobile-nav-links {
  padding: 20px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: var(--gray-700);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius);
  margin-bottom: 5px;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--gray-100);
  color: var(--primary);
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ========== Hero Section ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?w=1920') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-hero);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}

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

.hero-title {
  font-size: 56px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #ffd700, #ff9800);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 35px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  gap: 50px;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator i {
  font-size: 28px;
  color: var(--white);
}

@keyframes bounce {

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

  40% {
    transform: translateX(-50%) translateY(-15px);
  }

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

/* ========== Section Headers ========== */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-badge {
  display: inline-block;
  background: rgba(30, 143, 77, 0.1);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

/* ========== Services Section ========== */
.services-section {
  background: var(--white);
}

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

.service-card {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 35px 30px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.service-card:hover {
  background: var(--white);
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
  color: var(--white);
}

.service-icon.secondary {
  background: linear-gradient(135deg, #2196f3, #64b5f6);
}

.service-icon.tertiary {
  background: linear-gradient(135deg, #ff9800, #ffb74d);
}

.service-icon.quaternary {
  background: linear-gradient(135deg, #9c27b0, #ba68c8);
}

.service-icon.quinary {
  background: linear-gradient(135deg, #f44336, #e57373);
}

.service-icon.senary {
  background: linear-gradient(135deg, #00bcd4, #4dd0e1);
}

.service-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 15px;
}

.service-link {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.service-card:hover .service-link {
  opacity: 1;
  transform: translateY(0);
}

/* ========== News Section ========== */
.news-section {
  background: var(--gray-100);
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex !important;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

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

.news-card:active {
  transform: translateY(-2px) scale(0.98);
  /* Pressed effect */
  box-shadow: var(--shadow-md);
}

.news-card.featured {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
}

.news-card.featured .news-image {
  height: 300px;
}

.news-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.news-card:hover .news-image img {
  transform: scale(1.1);
}

.news-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary);
  color: var(--white);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}

.news-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 12px;
}

.news-meta span {
  font-size: 13px;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 5px;
}

.news-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-card.featured .news-content h3 {
  font-size: 24px;
}

.news-content p {
  font-size: 14px;
  color: var(--gray-600);
  flex: 1;
  margin-bottom: 15px;
}

.section-footer {
  text-align: center;
  margin-top: 40px;
}

/* ========== About Section ========== */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-img-secondary {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 5px solid var(--white);
  box-shadow: var(--shadow-lg);
}

.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-experience {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 25px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.exp-number {
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
}

.exp-text {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content .section-badge {
  text-align: left;
}

.about-content .section-title {
  text-align: left;
  font-size: 32px;
}

.about-text {
  color: var(--gray-600);
  margin-bottom: 15px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 25px 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
}

.feature-item i {
  color: var(--primary);
  font-size: 18px;
}

/* ========== Team Section ========== */
.team-section {
  background: var(--gray-100);
}

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

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  transition: var(--transition);
}

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

.team-image {
  position: relative;
  padding: 30px 30px 0;
}

.team-image img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto;
  object-fit: cover;
  border: 5px solid var(--gray-100);
}

.team-social {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  opacity: 0;
  transition: var(--transition);
}

.team-card:hover .team-social {
  opacity: 1;
}

.team-social a {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.team-social a:hover {
  background: var(--primary-dark);
}

.team-info {
  padding: 20px;
}

.team-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 5px;
}

.team-info span {
  font-size: 13px;
  color: var(--gray-500);
}

/* ========== CTA Section ========== */
.cta-section {
  background: var(--gradient-primary);
  padding: 80px 0;
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 15px;
}

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

/* ========== Page Header ========== */
.page-header {
  background: var(--gradient-primary);
  padding: 120px 0 60px;
  text-align: center;
}

.page-header h1 {
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 15px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
  color: var(--white);
}

/* ========== Profile Tabs ========== */
/* ========== Profile Tabs (Modern Redesign) ========== */
.profile-content {
  background: transparent;
  box-shadow: none;
}

.profile-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  background: transparent;
  border-bottom: none;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  flex: initial;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--white);
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.tab-btn i {
  margin-right: 8px;
  transition: var(--transition);
}

.tab-btn:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.tab-btn:active {
  transform: translateY(-1px);
}

.tab-btn.active {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(30, 143, 77, 0.3);
  transform: translateY(-3px);
}

.tab-btn.active i {
  color: var(--white);
}

/* Tab Content Animation */
.tab-content {
  display: none;
  padding: 0;
  animation: fadeUp 0.6s ease forwards;
}

.tab-content.active {
  display: block;
}

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

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

.content-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.content-text {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
}

.content-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.content-text h3 {
  font-size: 26px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 25px;
  background: linear-gradient(to right, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.content-text p {
  color: var(--gray-600);
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
}

.content-image {
  position: relative;
}

.content-image img {
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  transform: rotate(2deg);
  border: 8px solid var(--white);
  transition: var(--transition-slow);
}

.content-image:hover img {
  transform: rotate(0) scale(1.02);
}

/* Vision Mission Modern */
.vision-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.vision-card,
.mission-card {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.vision-card:hover,
.mission-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.vm-icon {
  width: 70px;
  height: 70px;
  background: rgba(30, 143, 77, 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: var(--transition);
}

.vision-card:hover .vm-icon,
.mission-card:hover .vm-icon {
  background: var(--gradient-primary);
  transform: rotate(10deg);
}

.vm-icon i {
  font-size: 32px;
  color: var(--primary);
  transition: var(--transition);
}

.vision-card:hover .vm-icon i,
.mission-card:hover .vm-icon i {
  color: var(--white);
}

.vision-card h3,
.mission-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--gray-900);
}

.vision-card p {
  color: var(--gray-600);
  font-style: italic;
  font-size: 18px;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.mission-card ul li {
  padding: 15px 0;
  padding-left: 35px;
  position: relative;
  color: var(--gray-700);
  border-bottom: 1px dashed var(--gray-200);
  transition: var(--transition);
}

.mission-card ul li:hover {
  padding-left: 45px;
  color: var(--primary);
}

.mission-card ul li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 15px;
  color: var(--primary);
  font-size: 18px;
  transition: var(--transition);
}

/* Geographic Modern */
.geo-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  background: var(--white);
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.geo-info h3,
.geo-info h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

.geo-info h3::after,
.geo-info h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary);
  border-radius: var(--radius-full);
}

.info-list {
  background: transparent;
  border-radius: 0;
}

.info-item {
  padding: 15px 0;
  border-bottom: 1px solid var(--gray-100);
  align-items: center;
}

.info-label {
  color: var(--gray-500);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-value {
  color: var(--gray-800);
  font-weight: 600;
  font-size: 16px;
  text-align: right;
}

.geo-map iframe {
  width: 100%;
  height: 500px;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
}

/* Demographics Modern */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 50px;
}

.demo-card {
  background: var(--white);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}

.demo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gray-200);
  transition: var(--transition);
}

.demo-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.demo-card:hover::before {
  background: var(--primary);
}

.demo-card i {
  width: 60px;
  height: 60px;
  background: rgba(30, 143, 77, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
  transition: var(--transition);
}

.demo-card:hover i {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

.demo-card h4 {
  font-size: 14px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.demo-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--gray-900);
  display: block;
}

.demo-chart {
  background: var(--white);
  padding: 50px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.layanan-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.layanan-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.layanan-icon i {
  font-size: 20px;
  color: var(--white);
}

.layanan-icon.secondary {
  background: linear-gradient(135deg, #2196f3, #64b5f6);
}

.layanan-icon.tertiary {
  background: linear-gradient(135deg, #ff9800, #ffb74d);
}

.layanan-icon.quaternary {
  background: linear-gradient(135deg, #e91e63, #f48fb1);
}

.layanan-icon.quinary {
  background: linear-gradient(135deg, #9c27b0, #ba68c8);
}

.layanan-icon.senary {
  background: linear-gradient(135deg, #00bcd4, #4dd0e1);
}

.layanan-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
}

.layanan-card>p {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 20px;
}

.layanan-requirements h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 10px;
}

.layanan-requirements ul {
  margin-bottom: 20px;
}

.layanan-requirements li {
  font-size: 13px;
  color: var(--gray-600);
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
}

.layanan-requirements li::before {
  content: '•';
  position: absolute;
  left: 5px;
  color: var(--primary);
}

/* Status Section */
.status-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
}

.status-section h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-table-wrapper {
  overflow-x: auto;
}

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

.status-table th,
.status-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.status-table th {
  background: var(--gray-100);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-table td {
  font-size: 14px;
  color: var(--gray-600);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}

.status-badge.pending {
  background: rgba(255, 193, 7, 0.15);
  color: #f57c00;
}

.status-badge.process {
  background: rgba(33, 150, 243, 0.15);
  color: #1976d2;
}

.status-badge.done {
  background: rgba(76, 175, 80, 0.15);
  color: #388e3c;
}

.empty-state {
  text-align: center;
  padding: 50px;
  color: var(--gray-500);
}

.empty-state i {
  font-size: 48px;
  margin-bottom: 15px;
  opacity: 0.5;
}

/* ========== Berita Page ========== */
.berita-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.filter-btn {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-full);
  color: var(--gray-600);
  background: var(--white);
  border: 2px solid var(--gray-200);
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(30, 143, 77, 0.05);
}

.berita-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.berita-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.page-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--gray-600);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.page-btn:hover,
.page-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ========== Galeri Page ========== */
.galeri-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.galeri-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.galeri-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.galeri-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.galeri-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 143, 77, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: var(--transition);
}

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

.galeri-item:hover img {
  transform: scale(1.1);
}

.galeri-overlay i {
  font-size: 32px;
  color: var(--white);
}

.galeri-overlay span {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
}

/* ========== Kontak Page ========== */
.kontak-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.kontak-info {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.kontak-info h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.kontak-info>p {
  color: var(--gray-600);
  margin-bottom: 30px;
}

.kontak-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.kontak-icon {
  width: 50px;
  height: 50px;
  background: rgba(30, 143, 77, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kontak-icon i {
  font-size: 20px;
  color: var(--primary);
}

.kontak-detail h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 5px;
}

.kontak-detail p {
  font-size: 14px;
  color: var(--gray-600);
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  transition: var(--transition);
}

.social-link:hover {
  transform: translateY(-3px);
}

.social-link.facebook {
  background: #1877f2;
}

.social-link.instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link.twitter {
  background: #1da1f2;
}

.social-link.youtube {
  background: #ff0000;
}

.social-link.whatsapp {
  background: #25d366;
}

.kontak-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.kontak-form h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.map-section {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.map-section h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  border: none;
}

/* ========== User Profile ========== */
.user-profile-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.user-profile-header {
  background: var(--gradient-primary);
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 25px;
}

.user-profile-header img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, 0.3);
}

.user-profile-info h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.user-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  color: var(--white);
  margin-bottom: 8px;
}

.user-profile-info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.user-profile-body {
  padding: 40px;
}

.user-profile-body h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 25px;
}

/* ========== Footer ========== */
footer {
  background: var(--gray-900);
  color: var(--white);
}

.footer-main {
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo i {
  font-size: 28px;
  color: var(--primary);
}

.footer-logo .logo-text h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.footer-logo .logo-text span {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  display: block;
  margin-top: 2px;
}

.footer-about p {
  color: var(--white);
  opacity: 0.7;
  margin-bottom: 20px;
  line-height: 1.7;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
}

.footer-links h4,
.footer-contact h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li,
.footer-contact ul li {
  margin-bottom: 15px;
  line-height: 1.6;
}

.footer-links a,
.footer-links span {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact ul li {
  font-size: 14px;
  color: var(--gray-500);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact i {
  color: var(--primary);
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--gray-500);
}

.footer-bottom .fa-heart {
  color: #e91e63;
}

/* ========== Back to Top ========== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
}

/* ========== Modal ========== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 20px;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(-30px);
  transition: var(--transition);
}

.modal.active .modal-content {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 25px;
  border-bottom: 1px solid var(--gray-200);
}

.modal-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-header i {
  color: var(--primary);
}

.modal-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--gray-200);
}

.modal-body {
  padding: 25px;
}

.file-upload {
  position: relative;
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.file-upload:hover {
  border-color: var(--primary);
}

.file-upload input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-label i {
  font-size: 36px;
  color: var(--gray-400);
  margin-bottom: 10px;
}

.file-upload-label span {
  display: block;
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 5px;
}

.file-upload-label small {
  color: var(--gray-500);
  font-size: 12px;
}

/* ========== Toast ========== */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--gray-900);
  color: var(--white);
  padding: 15px 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 5000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast-content i {
  color: var(--success);
  font-size: 20px;
}

/* ========== Login Page ========== */
.login-page {
  min-height: 100vh;
  background: var(--gray-100);
}

.login-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.login-left {
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.login-left::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  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.05'%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");
}

.login-left-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 400px;
}

.login-logo {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.login-logo i {
  font-size: 48px;
  color: var(--white);
}

.login-left-content h1 {
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 15px;
}

.login-left-content>p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
}

.login-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.login-features .feature {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.15);
  padding: 15px 20px;
  border-radius: var(--radius);
}

.login-features .feature i {
  font-size: 20px;
  color: var(--white);
}

.login-features .feature span {
  font-size: 14px;
  color: var(--white);
}

.login-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.login-box {
  max-width: 420px;
  width: 100%;
}

.login-header {
  margin-bottom: 35px;
}

.login-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

/* ===============================
   INTERACTION ONLY (NO DESIGN CHANGE)
================================ */

/* Button click feedback */
button.clicked {
  transform: scale(0.97);
}

/* Cursor clickable */
button,
a,
.nav-link,
.btn,
.btn-social {
  cursor: pointer;
}

/* Active nav */
.nav-link.active {
  opacity: 1;
}

/* Disable accidental text select */
button,
.nav-link {
  user-select: none;
}

/* Input focus (tanpa ubah warna utama) */
input:focus {
  outline: none;
}

/* Logo Desa (gambar) */
.logo-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
}

/* ===== CONTACT PANEL ===== */
.contact-panel {
  position: fixed;
  top: 80px;
  right: 30px;
  width: 360px;
  z-index: 3000;
  display: none;
}

.contact-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 25px;
  box-shadow: var(--shadow-xl);
  animation: fadeSlide 0.3s ease;
}

.contact-box h3 {
  margin-bottom: 15px;
  color: var(--primary);
}

.contact-box h4 {
  margin-top: 20px;
  margin-bottom: 10px;
  color: var(--gray-800);
}

.contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--gray-700);
}

.contact-item i {
  color: var(--primary);
  font-size: 18px;
  margin-top: 2px;
}

/* Jam Operasional Table */
.jam-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 14px;
}

.jam-table td {
  padding: 8px 6px;
  border-bottom: 1px solid var(--gray-200);
}

.jam-table tr:hover {
  background: var(--gray-100);
}

.jam-table .libur {
  color: var(--danger);
  font-weight: 600;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }

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

/* ==========================================
   SERVICE DETAIL PAGE STYLES (NEW)
   ========================================== */

/* Hero Section */
.detail-hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
  background: var(--dark);
  color: var(--white);
  margin-bottom: -150px;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.3);
  /* Pull content up */
}

.detail-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 143, 77, 0.96) 0%, rgba(21, 107, 58, 0.92) 100%),
    url('https://images.unsplash.com/photo-1595842845943-7f722360bcf7?auto=format&fit=crop&q=80') center/cover;
  opacity: 1;
  z-index: 0;
  filter: saturate(0.92) brightness(0.85);
}

.detail-hero h1 {
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.detail-hero .lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.03rem;
  max-width: 720px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.22);
}

/* Icon Circle in Hero */
.icon-circle-lg {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-left: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 4px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.icon-circle-lg i {
  font-size: 2.4rem;
}

.icon-circle-lg::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
  opacity: 0.5;
  transform: rotate(45deg);
}

/* Breadcrumb Override */
.breadcrumb-dark .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb-dark .breadcrumb-item a:hover {
  color: var(--white);
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.breadcrumb-dark .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-dark .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.4);
}

/* Icon Circle in Hero */
.icon-circle-lg {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-left: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 4px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.icon-circle-lg i {
  font-size: 2.4rem;
}

.icon-circle-lg::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
  opacity: 0.5;
  transform: rotate(45deg);
}

.bg-white-20 {
  background: rgba(255, 255, 255, 0.15);
}

.backdrop-blur {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Content Section Layout */
.detail-content-section {
  position: relative;
  z-index: 10;
  padding-top: 40px;
  padding-bottom: 80px;
}

.detail-content-section .card {
  margin-bottom: 1.75rem;
}

.detail-content-section .card-body {
  padding: 2rem 1.75rem;
}

.detail-content-section .card-header {
  padding: 1.5rem 1.75rem 0.75rem;
}

.detail-content-section .form-control {
  width: 100%;
  display: block;
  box-sizing: border-box;
  padding: 14px 16px;
  border-radius: 14px;
  background-color: #f8f9fa;
  border: 1px solid #e2e8f0;
  min-height: 48px;
}

.detail-content-section textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.detail-content-section .form-label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-700);
}

.detail-content-section .mb-4 {
  margin-bottom: 1.75rem !important;
}

.detail-content-section .mb-4 .mb-3 {
  margin-bottom: 1rem !important;
}

.detail-content-section .file-upload-modern {
  padding: 24px;
  border-radius: 18px;
}

.detail-content-section .file-upload-modern p {
  margin-bottom: 0.5rem;
}

.detail-content-section .btn {
  padding: 14px 18px;
}

/* Remove floating label behaviour for this page to avoid overlap issues */
.form-floating {
  display: block;
}

.form-floating>.form-control,
.form-floating>textarea.form-control {
  min-height: 3.75rem;
  height: auto;
  line-height: 1.4;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background-color: #f8f9fa;
  border: 1px solid #e2e8f0;
}

.form-floating>label {
  display: none;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Cards & Shadows */
.card {
  border: none;
  background: var(--white);
  transition: var(--transition);
}

.overflow-hidden {
  overflow: hidden;
}

.shadow-lg {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

.shadow-xl {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12) !important;
}

.rounded-lg {
  border-radius: 20px !important;
}

/* Section Titles */
.section-title-sm {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.icon-wrapper {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.icon-wrapper-sm {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.bg-primary-light {
  background: #e8f5e9;
  color: var(--primary);
}

.bg-info-light {
  background: #e1f5fe;
  color: var(--info);
}

.bg-success {
  background: var(--success);
}

/* Description Text */
.leading-relaxed {
  line-height: 1.8;
  font-size: 1.05rem;
  color: var(--gray-700);
}

/* Requirements Grid */
.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.requirement-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.requirement-item:hover {
  border-color: var(--primary-light);
  background: #fdfdfd;
  box-shadow: 0 4px 12px rgba(30, 143, 77, 0.08);
  transform: translateY(-2px);
}

.requirement-item span {
  font-size: 0.95rem;
  color: var(--gray-800);
  line-height: 1.4;
  font-weight: 500;
}

.requirement-item i {
  margin-top: 3px;
  font-size: 1.1rem;
}

/* Template Download Card */
.template-card {
  background: linear-gradient(to right, #f8fbff, #f0f7ff);
  border: 1px solid #dbeafe;
  border-radius: 16px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.template-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100%;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.5), transparent);
}

.file-icon {
  width: 56px;
  height: 56px;
  background: var(--white);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 16px rgba(33, 150, 243, 0.1);
  color: #2196f3;
}

/* Floating Form Styles */
.form-floating>.form-control {
  height: 3.5rem;
  line-height: 1.25;
  border-radius: 10px;
  background-color: #f8f9fa;
  border: 1px solid transparent;
  padding-left: 1rem;
}

.form-floating>.form-control:focus {
  background-color: var(--white);
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(30, 143, 77, 0.1);
}

.form-floating>label {
  padding: 1rem;
  color: var(--gray-600);
  font-size: 0.9rem;
}

.input-group-text {
  border: none;
  background: transparent;
}

/* Modern File Upload */
.file-upload-modern {
  border: 2px dashed #cbd5e1;
  background: #f8f9fa;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.file-upload-modern:hover {
  border-color: var(--primary);
  background: #f0fdf4;
}

.file-upload-modern box-icon {
  fill: var(--gray-500);
  transition: fill 0.3s ease;
}

.file-upload-modern:hover box-icon {
  fill: var(--primary);
}

#uploadPlaceholder p {
  margin-top: 8px;
}

/* Buttons */
.btn-primary {
  background: var(--gradient-primary);
  border: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 143, 77, 0.3);
}

.hvr-grow:hover {
  transform: scale(1.02);
}

/* Typography Helpers */
.text-xs {
  font-size: 0.75rem;
}

.fw-bold {
  font-weight: 700 !important;
}

.text-justify {
  text-align: justify;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .detail-hero {
    padding: 100px 0 80px;
    margin-bottom: -40px;
  }

  .detail-content-section {
    padding-top: 40px;
  }

  .col-lg-4.text-end {
    display: none !important;
  }

  .sticky-top {
    position: relative !important;
    top: 0 !important;
    z-index: 1 !important;
    margin-top: 2rem;
  }

  .card-header h5 {
    font-size: 1.1rem;
  }
}

/* ==========================================
   SERVICE LIST MODERN REDESIGN (AESTHETIC)
   ========================================== */

.layanan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

.layanan-card {
  background: var(--white);
  border-radius: 20px;
  padding: 35px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0, 0, 0, 0.04);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.layanan-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.layanan-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.layanan-card:hover::after {
  opacity: 1;
}

.layanan-header {
  margin-bottom: 25px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.layanan-icon {
  width: 54px;
  height: 54px;
  min-width: 54px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  color: var(--primary);
  font-size: 22px;
}

.layanan-card:hover .layanan-icon {
  background: var(--primary);
  color: var(--white);
  transform: rotate(-10deg) scale(1.1);
  box-shadow: 0 10px 20px rgba(30, 143, 77, 0.2);
}

.layanan-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-top: 5px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.layanan-card:hover .layanan-header h3 {
  color: var(--primary);
}

.layanan-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Requirements List Styling */
.layanan-requirements {
  background: #f8fafc;
  padding: 20px;
  border-radius: 14px;
  margin-bottom: 25px;
}

.layanan-requirements h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-500);
  margin-bottom: 12px;
  font-weight: 700;
}

.layanan-requirements ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.layanan-requirements ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.layanan-requirements ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--success);
  font-size: 0.8rem;
}

/* Button Styling */
.layanan-card .btn {
  width: 100%;
  border-radius: 12px;
  padding: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  box-shadow: none;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary-light);
  transition: all 0.3s ease;
}

.layanan-card:hover .btn {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(30, 143, 77, 0.25);
}

/* Dropdown Menu Styles */
.nav-item.dropdown {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1001;
}

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

.dropdown-item {
  display: block;
  padding: 10px 20px;
  color: var(--gray-700);
  font-size: 14px;
  transition: var(--transition);
  text-decoration: none;
  font-weight: 500;
}

.dropdown-item:hover {
  background: var(--gray-100);
  color: var(--primary);
}

/* Mobile Submenu Tweaks */
.mobile-nav-group {
  display: flex;
  flex-direction: column;
}

.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: var(--gray-50);
}

.mobile-submenu.active {
  max-height: 300px;
}

.mobile-nav-link.sub-link {
  padding-left: 40px;
  font-size: 14px;
}