/* ==========================================================================
   MGMP PJOK SMK Kota Pekalongan - Landing Page Stylesheet
   Theme: Modern Sportive Bold (Deep Midnight Slate + Cyber Azure + Coral Orange)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Core Brand Colors */
  --primary: #1d4ed8;
  --primary-hover: #1e40af;
  --primary-light: #eff6ff;
  --primary-dark: #090d16;
  
  /* Sportive Accent Colors */
  --cyber-azure: #0284c7;
  --cyber-azure-light: #e0f2fe;
  --cyber-azure-glow: #38bdf8;
  --coral-orange: #f97316;
  --coral-orange-hover: #ea580c;
  --coral-orange-light: #fff7ed;
  
  /* Surface & Base */
  --sidebar-bg: #090d16;
  --sidebar-hover: #131d31;
  --sidebar-active: #1d4ed8;
  --text-main: #090d16;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  
  /* Shadows & Elevations */
  --shadow-sm: 0 1px 2px 0 rgb(9 13 22 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(9 13 22 / 0.07), 0 2px 4px -2px rgb(9 13 22 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(9 13 22 / 0.08), 0 4px 6px -4px rgb(9 13 22 / 0.04);
  --shadow-xl: 0 20px 25px -5px rgb(9 13 22 / 0.1), 0 8px 10px -6px rgb(9 13 22 / 0.06);
  --shadow-coral: 0 8px 20px -4px rgba(249, 115, 22, 0.4);
  --shadow-azure: 0 8px 20px -4px rgba(2, 132, 199, 0.35);
  
  /* Radii & Transitions */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-page);
}

body {
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

svg {
  flex-shrink: 0;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   Header / Navbar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(9, 13, 22, 0.04);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

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

.brand-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.brand-logo:hover .brand-icon {
  transform: scale(1.05);
}

.brand-text h1 {
  font-size: 1.18rem;
  font-weight: 900;
  color: #090d16;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.brand-text p {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyber-azure);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: #334155;
  position: relative;
  padding: 6px 0;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.nav-link:hover {
  color: var(--coral-orange);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 800;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--coral-orange) 100%);
  border-radius: var(--radius-full);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--cyber-azure) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-azure);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
  box-shadow: 0 6px 16px rgba(29, 78, 216, 0.4);
  transform: translateY(-2px);
}

.btn-coral {
  background: linear-gradient(135deg, var(--coral-orange) 0%, var(--coral-orange-hover) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-coral);
}

.btn-coral:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(249, 115, 22, 0.5);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary-light);
  color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
}

/* Gradient Text Highlight */
.gradient-text-accent {
  background: linear-gradient(135deg, #38bdf8 0%, #f97316 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 900;
}

/* Standardized Section CTA Buttons */
.btn-section-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.85rem 2.25rem;
  font-size: 0.96rem;
  font-weight: 700;
  border-radius: 9999px;
  background: #ffffff;
  color: #0f172a;
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.btn-section-cta:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.28);
}

.btn-section-cta svg {
  transition: transform 0.25s ease;
}

.btn-section-cta:hover svg {
  transform: translateX(4px);
}

.btn-section-cta-dark {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn-section-cta-dark:hover {
  background: #f97316;
  border-color: #f97316;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.4);
}

.header-action {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* User Profile Navigation Dropdown */
.user-nav-dropdown {
  position: relative;
}

.user-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  color: #090d16;
  box-shadow: 0 2px 6px rgba(9, 13, 22, 0.04);
}

.user-nav-btn:hover,
.user-nav-dropdown.active .user-nav-btn {
  border-color: var(--primary);
  background-color: var(--primary-light);
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.15);
}

.user-nav-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--cyber-azure) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.user-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 9px;
  height: 9px;
  background-color: #10b981;
  border: 2px solid #ffffff;
  border-radius: 50%;
}

.user-nav-name {
  font-size: 0.9rem;
  font-weight: 800;
  color: #090d16;
  white-space: nowrap;
}

.user-nav-chevron {
  color: #64748b;
  transition: transform 0.2s ease;
}

.user-nav-dropdown.active .user-nav-chevron {
  transform: rotate(180deg);
}

.user-nav-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 260px;
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 16px 36px -6px rgba(9, 13, 22, 0.18), 0 4px 10px rgba(9, 13, 22, 0.06);
  padding: 10px;
  display: none;
  z-index: 1050;
  animation: dropdown-fade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.user-nav-dropdown.active .user-nav-menu {
  display: block;
}

@keyframes dropdown-fade {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.user-nav-header {
  padding: 10px 12px;
}

.user-nav-fullname {
  font-size: 0.95rem;
  font-weight: 800;
  color: #090d16;
  margin-bottom: 6px;
  line-height: 1.3;
}

.user-nav-school {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 6px;
  line-height: 1.4;
}

.user-nav-divider {
  height: 1px;
  background-color: var(--border-color);
  margin: 6px 0;
}

.user-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
  transition: var(--transition);
}

.user-nav-link:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  transform: translateX(3px);
}

.user-nav-logout {
  color: #dc2626;
}

.user-nav-logout:hover {
  background-color: #fef2f2;
  color: #b91c1c;
}

.mobile-toggle {
  display: none !important;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: #0f172a;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

/* ==========================================================================
   Hero Section - Panorama Card Concept
   ========================================================================== */
.hero-section {
  padding: 2rem 0 0;
  background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%);
  position: relative;
}

.hero-panorama-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 540px;
  display: flex;
  align-items: center;
  box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.6);
  background-color: #0f172a;
}

.hero-panorama-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: right 30% center;
  background-repeat: no-repeat;
  z-index: 1;
  transform: scale(1.02);
  transition: transform 0.8s ease-out;
}

.hero-panorama-card:hover .hero-panorama-bg {
  transform: scale(1.05);
}

.hero-panorama-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    95deg,
    rgba(15, 23, 42, 0.96) 0%,
    rgba(15, 23, 42, 0.88) 45%,
    rgba(15, 23, 42, 0.45) 75%,
    rgba(15, 23, 42, 0.15) 100%
  );
}

.hero-panorama-content {
  position: relative;
  z-index: 3;
  max-width: 680px;
  padding: 4.5rem 3.5rem;
  color: #ffffff;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #93c5fd;
  margin-bottom: 1.25rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.25); }
}

.hero-panorama-title {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 0.25rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero-panorama-sub {
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  font-weight: 800;
  background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-panorama-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #e2e8f0;
  margin-bottom: 2rem;
  max-width: 580px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-panorama-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 2.25rem;
}

.btn-hero-glow {
  background: linear-gradient(135deg, var(--coral-orange) 0%, var(--coral-orange-hover) 100%);
  color: #ffffff !important;
  padding: 0.85rem 1.9rem;
  font-size: 0.98rem;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(249, 115, 22, 0.45);
  font-weight: 800;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-hero-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.6);
}

.btn-hero-glass {
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
  padding: 0.85rem 1.65rem;
  font-size: 0.98rem;
  border-radius: 12px;
  font-weight: 700;
  transition: var(--transition);
}

.btn-hero-glass:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #38bdf8;
  color: #38bdf8 !important;
  transform: translateY(-2px);
}

.hero-stats-row {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 12px 24px;
  background: rgba(9, 13, 22, 0.75);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.hero-stat-pill {
  display: flex;
  flex-direction: column;
}

.hero-stat-pill strong {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--cyber-azure-glow);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.hero-stat-pill span {
  font-size: 0.8rem;
  color: #cbd5e1;
  font-weight: 600;
}

.hero-stat-divider {
  width: 1px;
  height: 32px;
  background-color: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   4 Pillars / Features Section (Overlapping)
   ========================================================================== */
.features-section {
  padding: 0 0 4rem;
  margin-top: -3rem;
  position: relative;
  z-index: 10;
}

.features-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: 0 15px 35px -8px rgba(9, 13, 22, 0.08), 0 4px 6px -2px rgba(9, 13, 22, 0.03);
  padding: 2rem 2.25rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-right: 1rem;
  position: relative;
  transition: transform 0.2s ease;
}

.feature-item:hover {
  transform: translateY(-2px);
}

.feature-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background-color: var(--border-color);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon-box {
  transform: scale(1.08);
}

/* Dynamic Pillar Colors */
.feature-item:nth-child(1) .feature-icon-box {
  color: var(--cyber-azure);
  background-color: var(--cyber-azure-light);
}

.feature-item:nth-child(2) .feature-icon-box {
  color: var(--coral-orange);
  background-color: var(--coral-orange-light);
}

.feature-item:nth-child(3) .feature-icon-box {
  color: #16a34a;
  background-color: #dcfce7;
}

.feature-item:nth-child(4) .feature-icon-box {
  color: var(--primary);
  background-color: var(--primary-light);
}

.feature-info h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #090d16;
  margin-bottom: 4px;
}

.feature-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Content Sections (Profil, Kegiatan, Berita, etc.)
   ========================================================================== */
.section {
  padding: 5rem 0;
  position: relative;
  background-color: #ffffff;
}

.section.section-alt,
.section-alt {
  background-color: #f8fafc;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

.section-dark {
  background: linear-gradient(180deg, #090d16 0%, #0d172a 100%);
  color: #ffffff;
  border-top: 1px solid rgba(56, 189, 248, 0.15);
  border-bottom: 1px solid rgba(56, 189, 248, 0.15);
  position: relative;
}

.section-dark .section-title {
  color: #ffffff;
}

.section-dark .section-subtitle {
  color: #94a3b8;
}

.section-dark .section-badge {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.35);
}

.section-dark .post-card {
  background: #0f1d33;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.section-dark .post-card:hover {
  border-color: #38bdf8;
  box-shadow: 0 16px 32px -8px rgba(56, 189, 248, 0.25);
  transform: translateY(-5px);
}

.section-dark .post-title {
  color: #ffffff;
}

.section-dark .post-excerpt {
  color: #cbd5e1;
}

.section-dark .post-footer {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.section-dark .resource-item {
  background-color: #0f1d33;
  border-color: rgba(255, 255, 255, 0.1);
}

.section-dark .resource-item:hover {
  border-color: #38bdf8;
  box-shadow: 0 10px 24px -4px rgba(56, 189, 248, 0.2);
}

.section-dark .resource-info h4 {
  color: #ffffff;
}

.section-dark .resource-info p {
  color: #94a3b8;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3.5rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid #bfdbfe;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 900;
  color: #090d16;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Badges & Chips */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.badge-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--cyber-azure) 100%);
  color: #ffffff;
}

.badge-coral {
  background: linear-gradient(135deg, var(--coral-orange) 0%, var(--coral-orange-hover) 100%);
  color: #ffffff;
}

.badge-warning {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
}

.badge-success {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.badge-cyan {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

/* Feature & Profil Card Highlights */
.card-visi {
  border-top: 4px solid var(--cyber-azure) !important;
}

.card-misi {
  border-top: 4px solid var(--coral-orange) !important;
}

.card-anggota {
  border-top: 4px solid #16a34a !important;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.post-card {
  background-color: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(9, 13, 22, 0.04);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -8px rgba(2, 132, 199, 0.15);
  border-color: #7dd3fc;
}

.post-thumb {
  height: 210px;
  width: 100%;
  position: relative;
  background-color: #f1f5f9;
  overflow: hidden;
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-card:hover .post-thumb img {
  transform: scale(1.06);
}

.post-category {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.74rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--cyber-azure) 100%);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.post-body {
  padding: 1.6rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.post-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #090d16;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.post-title a:hover {
  color: var(--coral-orange);
}

.post-excerpt {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.read-more {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.read-more:hover {
  color: var(--coral-orange);
  gap: 10px;
}

/* Download / Resource List */
.resource-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.resource-item {
  background-color: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.resource-item:hover {
  border-color: #7dd3fc;
  box-shadow: 0 10px 24px -4px rgba(2, 132, 199, 0.12);
  transform: translateY(-2px);
}

.resource-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.resource-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--cyber-azure-light);
  color: var(--cyber-azure);
  display: flex;
  align-items: center;
  justify-content: center;
}

.resource-info h4 {
  font-size: 1.02rem;
  font-weight: 800;
  color: #090d16;
  margin-bottom: 3px;
}

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

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.gallery-card {
  position: relative;
  height: 230px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: block;
  text-decoration: none;
  cursor: pointer;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9, 13, 22, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: var(--transition);
}

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

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

.gallery-title {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 800;
}

.gallery-date {
  color: var(--cyber-azure-glow);
  font-size: 0.78rem;
  font-weight: 600;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: linear-gradient(180deg, #090d16 0%, #05070c 100%);
  color: #f8fafc;
  padding: 4.5rem 0 2.5rem;
  border-top: 1px solid rgba(56, 189, 248, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-size: 1.35rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.footer-brand p {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 28px;
  height: 3px;
  background: var(--coral-orange);
  border-radius: var(--radius-full);
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: var(--cyber-azure-glow);
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #64748b;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
/* ==========================================================================
   Responsive Breakpoints & Mobile-Friendly Optimizations
   ========================================================================== */
@media (max-width: 1200px) {
  .nav-menu {
    gap: 0.9rem;
  }
  .nav-link {
    font-size: 0.86rem;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-cta {
    justify-content: center;
  }
  .features-card {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-item:nth-child(2)::after {
    display: none;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.landing-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.65);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.landing-mobile-overlay.show {
  display: block;
  opacity: 1;
}

@media (max-width: 992px) {
  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    transition: background-color 0.2s ease;
  }
  .mobile-toggle:hover {
    background-color: #f1f5f9;
  }
  .user-nav-name {
    display: none !important;
  }
  .user-nav-btn {
    padding: 5px 8px !important;
    gap: 5px !important;
  }
  .brand-text h1 {
    font-size: 1.12rem;
  }
  .brand-text p {
    font-size: 0.72rem;
  }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 310px;
    max-width: 85%;
    height: calc(100vh - 80px);
    background-color: #ffffff;
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.75rem;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 6px 0 25px rgba(15, 23, 42, 0.15);
    z-index: 999;
    overflow-y: auto;
  }
  .nav-menu .nav-link {
    width: 100%;
    padding: 11px 16px;
    border-radius: 10px;
    font-size: 0.95rem;
  }
  .nav-menu .nav-link:hover {
    background-color: #f8fafc;
  }
  .nav-menu .nav-link.active {
    background-color: var(--primary-light);
  }
  .nav-menu .nav-link.active::after {
    display: none;
  }
  .nav-menu.open {
    left: 0;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 1rem 0 0;
  }
  .hero-panorama-card {
    border-radius: 18px;
    min-height: 480px;
  }
  .hero-panorama-content {
    padding: 2.25rem 1.4rem;
  }
  .hero-title-main {
    font-size: 2.05rem;
    line-height: 1.25;
  }
  .hero-title-sub {
    font-size: 1.35rem;
    line-height: 1.35;
  }
  .hero-desc {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }
  .hero-panorama-cta {
    gap: 12px;
    margin-bottom: 1.75rem;
  }
  .section {
    padding: 3.5rem 0;
  }
  .section-title {
    font-size: 1.65rem;
  }
  .section-subtitle {
    font-size: 0.92rem;
    margin-bottom: 2rem;
  }
  .features-section {
    margin-top: -2rem;
    padding-bottom: 2.5rem;
  }
  .features-card {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 1rem;
  }
  .feature-item::after {
    display: none !important;
  }
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .post-card {
    padding: 1.5rem !important;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .resource-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.4rem !important;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.85rem;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .hero-stats-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    padding: 14px 18px;
  }
  .hero-stat-divider {
    width: 100%;
    height: 1px;
  }
  .btn-section-cta {
    width: 100%;
    padding: 0.85rem 1.5rem;
    font-size: 0.92rem;
  }
  .post-thumb {
    min-height: 160px;
  }
  .gallery-card {
    min-height: 160px;
  }
}

@media (max-width: 480px) {
  .navbar {
    height: 70px;
  }
  .nav-menu {
    top: 70px;
    height: calc(100vh - 70px);
  }
  .hero-title-main {
    font-size: 1.68rem;
  }
  .hero-title-sub {
    font-size: 1.18rem;
  }
  .hero-desc {
    font-size: 0.88rem;
    line-height: 1.55;
  }
  .hero-panorama-cta {
    flex-direction: column;
    width: 100%;
  }
  .hero-panorama-cta .btn {
    width: 100%;
    text-align: center;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Floating WhatsApp Button */
.floating-wa-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: #25d366;
  color: #ffffff;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.floating-wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.55);
  color: #ffffff;
}

.floating-wa-btn:active {
  transform: scale(0.95);
}

@media (max-width: 640px) {
  .floating-wa-btn {
    bottom: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
  }
}
