/* ==============================================================================
   DPD AELI DAERAH ISTIMEWA YOGYAKARTA - FRONTEND STYLESHEET
   Palet Warna Resmi:
   - Primary White: #FFFFFF
   - Secondary Sky Blue: #22B1CE
   - Dark Charcoal: #414243
   ============================================================================== */

:root {
  --primary: #22B1CE;
  --primary-hover: #1793ac;
  --primary-light: #e8f8fb;
  --primary-rgb: 34, 177, 206;
  --dark: #414243;
  --dark-light: #5a5c5e;
  --white: #FFFFFF;
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --border-color: #e2e8f0;
  --text-main: #334155;
  --text-muted: #64748b;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.09), 0 4px 6px -2px rgba(0,0,0,0.03);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

/* ==============================================================================
   TOPBAR & HEADER NAVIGATION
   ============================================================================== */

.topbar {
  background: var(--dark);
  color: #cbd5e1;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar-info {
  display: flex;
  gap: 20px;
  align-items: center;
}

.topbar-info a {
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-info a:hover {
  color: var(--primary);
}

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

.topbar-social a {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.topbar-social a:hover {
  color: var(--primary);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.navbar-brand img {
  height: 52px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

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

.btn-nav-cta {
  background-color: var(--primary);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 9px 15px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

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

.btn-nav-cta {
  background-color: var(--primary);
  color: var(--white) !important;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
  margin-left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-nav-cta:hover {
  background-color: var(--primary-hover);
  color: var(--white);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark);
  cursor: pointer;
  padding: 8px;
}

/* ==============================================================================
   BUTTONS & BADGES
   ============================================================================== */

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

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.25);
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.35);
}

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

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

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

.btn-dark:hover {
  background: #2b2c2d;
  color: var(--white);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.85rem;
}

.btn-whatsapp {
  background: #25D366;
  color: #fff !important;
  font-weight: 600;
}

.btn-whatsapp:hover {
  background: #1ebd57;
  color: #fff;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-active { background: #dcfce7; color: #15803d; }
.badge-pending { background: #fef3c7; color: #b45309; }
.badge-inactive { background: #f1f5f9; color: #64748b; }
.badge-rejected { background: #fee2e2; color: #b91c1c; }

.badge-plan { background: #e0f2fe; color: #0369a1; }
.badge-ongoing { background: #fef3c7; color: #b45309; }
.badge-completed { background: #dcfce7; color: #15803d; }

/* ==============================================================================
   HERO SECTION
   ============================================================================== */

.hero {
  position: relative;
  background: linear-gradient(135deg, #18232c 0%, #293845 100%);
  color: var(--white);
  padding: 90px 0 100px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.25) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 177, 206, 0.18);
  border: 1px solid rgba(34, 177, 206, 0.4);
  color: #7dd3fc;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero-title span {
  color: var(--primary);
}

.hero-desc {
  font-size: 1.125rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 35px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-media {
  position: relative;
}

.hero-card-visual {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.hero-card-visual img {
  border-radius: var(--radius-md);
  width: 100%;
  box-shadow: var(--shadow-md);
}

.hero-stats-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--white);
  color: var(--dark);
  padding: 16px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  border-left: 4px solid var(--primary);
}

.hero-stats-badge .num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.hero-stats-badge .lbl {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* ==============================================================================
   SECTION HEADERS
   ============================================================================== */

.section {
  padding: 80px 0;
}

.section-bg-white {
  background: var(--white);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.section-eyebrow {
  display: inline-block;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ==============================================================================
   STATISTICS COUNTER BAR
   ============================================================================== */

.stats-bar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 35px 20px;
  margin-top: -50px;
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item {
  position: relative;
}

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

.stat-num {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
}

.stat-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==============================================================================
   CARD GRIDS & COMPONENT STYLING
   ============================================================================== */

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

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

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--primary-rgb), 0.4);
}

.card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.card-title a {
  color: var(--dark);
}

.card-title a:hover {
  color: var(--primary);
}

/* Feature Icon Card (Mengapa Bergabung) */
.feature-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 58px;
  height: 58px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==============================================================================
   PROGRAM KERJA CARDS
   ============================================================================== */

.program-card .program-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  background: #f1f5f9;
}

.program-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.program-dept {
  font-weight: 700;
  color: var(--primary);
}

.program-date-loc {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
}

/* ==============================================================================
   ORGANIZATIONAL CHART / STRUKTUR PENGURUS
   ============================================================================== */

.org-tree {
  margin-top: 30px;
}

.org-level-title {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin: 30px 0 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.org-level-title::before,
.org-level-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-color);
  margin: 0 15px;
}

.org-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.org-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.org-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 3px solid var(--primary-light);
}

.org-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.org-pos {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.org-dept {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.org-num {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.72rem;
  background: var(--bg-page);
  padding: 3px 8px;
  border-radius: 4px;
  color: #64748b;
  font-family: monospace;
}

/* ==============================================================================
   DIREKTORI KEANGGOTAAN (PERORANGAN & LEMBAGA)
   ============================================================================== */

.dir-controls {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 35px;
  box-shadow: var(--shadow-sm);
}

.dir-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
}

.dir-tab-btn {
  padding: 10px 20px;
  border-radius: var(--radius-md);
  background: #f1f5f9;
  color: var(--dark);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

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

.dir-search-form {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.search-input-wrap {
  flex: 1;
  min-width: 250px;
  position: relative;
}

.form-control,
.form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--dark);
  transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

.member-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.member-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--primary-rgb), 0.4);
}

.member-card-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.member-avatar {
  width: 65px;
  height: 65px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: #f1f5f9;
}

.member-number-badge {
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
  background: var(--primary-light);
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 4px;
}

.member-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
}

.member-competence {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.member-card-body {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.member-card-footer {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

/* ==============================================================================
   FORMULIR PENDAFTARAN ANGGOTA
   ============================================================================== */

.reg-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  padding: 40px;
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.required {
  color: var(--danger);
}

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

/* ==============================================================================
   PUSAT PENGETAHUAN & ARTIKEL
   ============================================================================== */

.article-card .article-thumb {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.article-card .category-badge {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 10px;
}

.article-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
}

.article-content p {
  margin-bottom: 1.4rem;
}

.article-content h2,
.article-content h3 {
  color: var(--dark);
  margin: 1.8rem 0 0.8rem;
}

.article-content ol,
.article-content ul {
  margin: 0 0 1.4rem 1.4rem;
}

.share-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin: 40px 0;
}

/* ==============================================================================
   GALERI DOKUMENTASI
   ============================================================================== */

.album-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--white);
  border: 1px solid var(--border-color);
}

.album-thumb-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.album-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.album-card:hover .album-thumb-wrap img {
  transform: scale(1.05);
}

.album-photo-count {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 700;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.92);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* ==============================================================================
   CTA FOOTER & SITE FOOTER
   ============================================================================== */

.cta-banner {
  background: linear-gradient(135deg, var(--dark) 0%, #1a2228 100%);
  color: var(--white);
  padding: 70px 0;
  text-align: center;
  position: relative;
  border-top: 4px solid var(--primary);
}

.cta-banner-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-banner-desc {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 650px;
  margin: 0 auto 30px;
}

.site-footer {
  background: #1e252b;
  color: #94a3b8;
  padding: 70px 0 25px;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col-title {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--primary);
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.85rem;
}

/* Alerts */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  font-size: 0.95rem;
}
.alert-success { background: #dcfce7; border: 1px solid #bbf7d0; color: #166534; }
.alert-danger { background: #fee2e2; border: 1px solid #fecaca; color: #991b1b; }
.alert-info { background: #e0f2fe; border: 1px solid #bae6fd; color: #075985; }

/* ==============================================================================
   RESPONSIVE MEDIA QUERIES
   ============================================================================== */

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-media { display: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  .mobile-toggle { display: block; }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 12px;
    overflow-y: auto;
    transition: left 0.3s ease;
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-link { width: 100%; text-align: left; }
  .btn-nav-cta { width: 100%; margin-left: 0; justify-content: center; }
  .hero-title { font-size: 2.1rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
  .stat-item:not(:last-child)::after { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
