@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&display=swap');

:root {
  /* Official KASOSA Color Palette */
  --primary-color: #064e3b;       /* Deep Forest Green */
  --primary-hover: #022c22;       /* Ultra Dark Green */
  --primary-accent: #047857;      /* Rich Emerald */
  --primary-soft: #ecfdf5;       /* Soft Emerald Tint */
  --primary-light: #10b981;      /* Bright Emerald */

  --secondary-color: #b45309;     /* Warm Amber Bronze */
  --secondary-hover: #92400e;     /* Deep Amber */
  --secondary-soft: #fef3c7;      /* Warm Gold Cream */
  --secondary-light: #d97706;     /* Gold Accent */

  /* Neutral Surface & Typography */
  --bg-color: #f8fafc;
  --surface-color: #ffffff;
  --surface-muted: #f1f5f9;
  --text-main: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --border-focus: #10b981;

  /* Shadows & Elevation (Clean & Natural) */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.08), 0 1px 2px -1px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -4px rgba(0, 0, 0, 0.07);
  --shadow-card: 0 12px 30px -10px rgba(6, 78, 59, 0.08);

  /* Radii */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.25s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--primary-hover);
  line-height: 1.25;
  font-weight: 700;
}

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

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

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

/* Header Top Bar */
.top-bar {
  background: var(--primary-hover);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  padding: 0.5rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-bar-contact a {
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-contact a:hover {
  color: var(--secondary-light);
}

.top-bar-tag {
  background: rgba(180, 83, 9, 0.35);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fef3c7;
  padding: 0.15rem 0.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-xs);
  padding: 0.85rem 1.5rem;
}

.navbar-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-brand-logo {
  height: 42px;
  width: 42px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-brand-title {
  line-height: 1.1;
  font-size: 1.25rem;
  color: var(--primary-color);
}

.nav-brand-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  color: var(--secondary-color);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.nav-link {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  padding: 0.35rem 0;
  position: relative;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-color);
  border-radius: 2px;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-main);
  font-size: 1.25rem;
  line-height: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white !important;
  border-color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}

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

.btn-secondary {
  background-color: var(--secondary-color);
  color: white !important;
  border-color: var(--secondary-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  border-color: var(--secondary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background-color: var(--surface-muted);
  border-color: var(--text-muted);
}

.btn-outline-white {
  background-color: rgba(255, 255, 255, 0.12);
  color: white !important;
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* Main Content Area */
.main-content {
  min-height: calc(100vh - 280px);
}

/* Clean Hero Section */
.hero-clean {
  background: linear-gradient(135deg, #f8fafc 0%, #edf4f1 100%);
  border-bottom: 1px solid var(--border-color);
  padding: 4.5rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero-clean-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-soft);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--primary-accent);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-clean h1 {
  font-size: 3.25rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--primary-hover);
}

.hero-clean h1 span {
  color: var(--secondary-color);
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2.25rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats-row {
  display: flex;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  flex-wrap: wrap;
}

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

.hero-stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  font-family: 'Playfair Display', serif;
}

.hero-stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.25rem;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(6, 78, 59, 0.15);
  background: white;
}

.hero-image-card img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(2, 44, 34, 0.88) 0%, rgba(2, 44, 34, 0) 100%);
  padding: 2rem 1.5rem 1.25rem;
  color: white;
}

.hero-image-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--secondary-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-image-caption {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-top: 0.25rem;
}

/* Member Schools Section */
.section {
  padding: 4.5rem 1.5rem;
}

.section-alt {
  background-color: var(--surface-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
}

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

.section-tag {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 0.85rem;
}

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

/* Schools Grid */
.schools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.school-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

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

.school-icon-box {
  width: 44px;
  height: 44px;
  background: var(--primary-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-color);
  font-size: 1.25rem;
}

.school-card-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.school-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--secondary-color);
  background: var(--secondary-soft);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

/* Content Feature Row (Alternating with image) */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4.5rem;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse > * {
  direction: ltr;
}

.feature-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.feature-image-wrapper img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.feature-content h2 {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
}

.feature-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.feature-list-item-icon {
  width: 22px;
  height: 22px;
  background: var(--primary-soft);
  color: var(--primary-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: bold;
  margin-top: 0.15rem;
}

/* Exco Grid */
.exco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}

.exco-card {
  background: var(--surface-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

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

.exco-photo-wrapper {
  width: 110px;
  height: 110px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--surface-muted);
  box-shadow: var(--shadow-xs);
  background: var(--surface-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.exco-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exco-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.exco-card .exco-role {
  color: var(--secondary-color);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.exco-card .exco-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  background: var(--surface-muted);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
}

.exco-card .exco-contact:hover {
  color: var(--primary-color);
  background: var(--primary-soft);
}

/* Call to Action Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
  color: white;
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Forms System */
.form-shell {
  max-width: 840px;
  margin: 3.5rem auto;
  background: var(--surface-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.form-shell-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
  color: white;
  padding: 2.5rem 2rem;
  text-align: center;
}

.form-shell-header h2 {
  color: white;
  font-size: 1.85rem;
  margin-bottom: 0.5rem;
}

.form-shell-header p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.form-shell-body {
  padding: 2.5rem;
}

.form-section-title {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--border-color);
  margin: 2rem 0 1.5rem;
}

.form-section-title:first-child {
  margin-top: 0;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-group label .required-star {
  color: #dc2626;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-main);
  background-color: var(--bg-color);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  background-color: white;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.form-help {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.form-error {
  color: #dc2626;
  font-size: 0.8125rem;
  margin-top: 0.35rem;
}

/* Alerts */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.alert-success {
  background-color: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.alert-error {
  background-color: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* Professional ID Card Styles */
.id-card-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin: 2rem 0;
}

.id-card {
  width: 440px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(6, 78, 59, 0.12), 0 2px 6px rgba(0,0,0,0.04);
  border: 1px solid #d1d5db;
  overflow: hidden;
  position: relative;
  font-family: 'Inter', sans-serif;
  text-align: left;
}

.id-card-header {
  background: linear-gradient(135deg, #064e3b 0%, #022c22 100%);
  color: white;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.id-card-header-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--secondary-light);
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-bottom-left-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.id-card-logo {
  height: 44px;
  width: 44px;
  border-radius: 8px;
  background: white;
  object-fit: contain;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.id-card-org-title {
  margin: 0;
  color: white;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
}

.id-card-org-sub {
  margin: 0.15rem 0 0;
  font-size: 0.65rem;
  color: #cbd5e1;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.id-card-body {
  padding: 1.5rem 1.5rem 1.25rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: #ffffff;
}

.id-card-photo-box {
  width: 110px;
  height: 130px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  background: #f8fafc;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.id-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.id-card-details {
  flex-grow: 1;
}

.id-card-name {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.id-card-number-box {
  margin-bottom: 0.85rem;
  background: #ecfdf5;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  display: inline-block;
  border: 1px solid #a7f3d0;
}

.id-card-number-label {
  font-size: 0.55rem;
  text-transform: uppercase;
  color: #047857;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.id-card-number-val {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.95rem;
  font-weight: 800;
  color: #064e3b;
}

.id-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.id-card-field-title {
  font-size: 0.6rem;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.id-card-field-val {
  font-size: 0.78rem;
  color: #1e293b;
  font-weight: 600;
  line-height: 1.25;
}

.id-card-footer {
  background: #f8fafc;
  padding: 0.6rem 1.5rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.65rem;
  color: #64748b;
  font-weight: 500;
}

.id-status-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
}

.id-status-graduated {
  background: #dcfce7;
  color: #15803d;
}

.id-status-undergrad {
  background: #e0f2fe;
  color: #0369a1;
}

/* Dashboard Styles */
.dashboard-container {
  max-width: 1400px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.dashboard-header-title h1 {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.dashboard-header-title p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.dashboard-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Analytics Cards */
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.metric-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.metric-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.metric-total { background: var(--primary-soft); color: var(--primary-color); }
.metric-grad { background: #dcfce7; color: #16a34a; }
.metric-undergrad { background: #e0f2fe; color: #0284c7; }
.metric-schools { background: var(--secondary-soft); color: var(--secondary-color); }

.metric-data h4 {
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
}

.metric-data span {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Dashboard Filter Bar */
.filter-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
  margin-bottom: 2rem;
}

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

.filter-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

/* Data Table Container */
.table-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th {
  background: var(--surface-muted);
  padding: 1rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.data-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
  font-size: 0.9375rem;
}

.data-table tr:hover td {
  background-color: #fafbfc;
}

.member-cell {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.member-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-muted);
  border: 1px solid var(--border-color);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1rem;
}

.member-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.member-id-pill {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-accent);
}

/* Status Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge-graduated {
  background: #dcfce7;
  color: #15803d;
}

.badge-undergraduate {
  background: #e0f2fe;
  color: #0369a1;
}

/* Pagination */
.pagination-bar {
  padding: 1rem 1.5rem;
  background: var(--surface-muted);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.pagination-controls {
  display: flex;
  gap: 0.35rem;
}

.page-btn {
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  background: white;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.8125rem;
}

.page-btn:hover {
  background: var(--surface-muted);
}

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

/* Mobile cards for members (fallback on small screens) */
.mobile-members-cards {
  display: none;
}

.member-mobile-card {
  background: var(--surface-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem;
}

/* Footer */
.footer-clean {
  background: var(--primary-hover);
  color: rgba(255, 255, 255, 0.8);
  padding: 4.5rem 1.5rem 2rem;
  border-top: 4px solid var(--secondary-color);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
}

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

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
}

/* Print Styles */
@media print {
  body * {
    visibility: hidden;
  }
  .navbar, .top-bar, .footer-clean, .btn, .no-print, .form-shell, .dashboard-header {
    display: none !important;
  }
  #printable-id, #printable-id * {
    visibility: visible;
  }
  #printable-id {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: none !important;
    border: 1px solid #aaa !important;
    margin: 0 !important;
  }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-clean-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-image-card img {
    height: 360px;
  }
  .feature-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .feature-row.reverse {
    direction: ltr;
  }
  .filter-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-color);
    gap: 1rem;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
  .hero-clean h1 {
    font-size: 2.35rem;
  }
  .hero-clean {
    padding: 3rem 1rem;
  }
  .form-grid-2, .form-grid-3 {
    grid-template-columns: 1fr;
  }
  .form-shell-body {
    padding: 1.5rem;
  }
  .id-card {
    width: 100%;
    max-width: 380px;
  }
  .filter-grid {
    grid-template-columns: 1fr;
  }
  /* Table vs Mobile Card switcher */
  .table-responsive {
    display: none;
  }
  .mobile-members-cards {
    display: block;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
