/* ============================================================
   Digital Service Portal — Main Stylesheet
   ============================================================ */

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

:root {
  --primary:        #1e40af;
  --primary-dark:   #1e3a8a;
  --primary-light:  #3b82f6;
  --primary-50:     #eff6ff;
  --secondary:      #f59e0b;
  --secondary-dark: #d97706;
  --gold:           #fbbf24;
  --gold-light:     #fef3c7;
  --text-1:         #0f172a;
  --text-2:         #334155;
  --text-3:         #64748b;
  --text-4:         #94a3b8;
  --bg:             #f8fafc;
  --bg-2:           #f1f5f9;
  --card:           #ffffff;
  --border:         #e2e8f0;
  --border-2:       #cbd5e1;
  --success:        #10b981;
  --success-bg:     #d1fae5;
  --error:          #ef4444;
  --error-bg:       #fee2e2;
  --warning:        #f59e0b;
  --warning-bg:     #fef3c7;
  --info:           #3b82f6;
  --info-bg:        #dbeafe;
  --shadow-sm:      0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:         0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-md:      0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
  --shadow-lg:      0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);
  --shadow-xl:      0 25px 50px -12px rgba(0,0,0,.25);
  --radius-sm:      6px;
  --radius:         12px;
  --radius-lg:      16px;
  --radius-xl:      24px;
  --radius-full:    9999px;
  --transition:     0.2s cubic-bezier(0.4,0,0.2,1);
  --transition-slow:0.4s cubic-bezier(0.4,0,0.2,1);
}

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

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

body {
  font-family: 'Inter', 'Noto Sans Devanagari', sans-serif;
  color: var(--text-1);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.25; color: var(--text-1); }
h1 { font-size: clamp(2rem,5vw,3.5rem); }
h2 { font-size: clamp(1.6rem,3.5vw,2.5rem); }
h3 { font-size: clamp(1.3rem,2.5vw,1.8rem); }
h4 { font-size: 1.25rem; }
p  { color: var(--text-2); line-height: 1.75; }
a  { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

.marathi { font-family: 'Noto Sans Devanagari', sans-serif; }

/* ── Layout ── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-xl { max-width: 1400px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

/* ── Navbar ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226,232,240,0.8);
  transition: all var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.navbar-brand {
  display: flex; align-items: center; gap: 0.75rem;
  font-weight: 800; font-size: 1.25rem; color: var(--primary-dark);
}
.navbar-brand .logo-icon {
  width: 42px; height: 42px; background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem;
}
.navbar-brand span { color: var(--secondary); }
.navbar-nav { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.navbar-nav a {
  padding: 0.5rem 0.875rem; border-radius: var(--radius-sm);
  font-weight: 500; color: var(--text-2); font-size: 0.9rem;
  transition: all var(--transition);
}
.navbar-nav a:hover, .navbar-nav a.active { color: var(--primary); background: var(--primary-50); }
.navbar-actions { display: flex; align-items: center; gap: 0.75rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 0.5rem; }
.hamburger span { width: 24px; height: 2px; background: var(--text-1); border-radius: 2px; transition: all var(--transition); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.625rem 1.5rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.9rem; cursor: pointer;
  border: 2px solid transparent; transition: all var(--transition);
  text-decoration: none; white-space: nowrap; line-height: 1;
}
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-sm { padding: 0.4rem 1rem; font-size: 0.8rem; }
.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; border-radius: var(--radius); }
.btn-xl { padding: 1rem 2.5rem; font-size: 1.05rem; border-radius: var(--radius-lg); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(30,64,175,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30,64,175,0.4);
  color: #fff;
}
.btn-primary:active { transform: translateY(0); }

.btn-gold {
  background: linear-gradient(135deg, var(--secondary), var(--gold));
  color: #fff; border-color: var(--secondary);
  box-shadow: 0 4px 14px rgba(245,158,11,0.3);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(245,158,11,0.4); color: #fff; }

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

.btn-outline-white {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); color: #fff; border-color: #fff; }

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

.btn-danger { background: var(--error); color: #fff; border-color: var(--error); }
.btn-success { background: var(--success); color: #fff; border-color: var(--success); }

/* Loading spinner on button */
.btn.loading { pointer-events: none; opacity: 0.8; }
.btn.loading::after {
  content: ''; width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff;
  border-radius: 50%; animation: spin 0.7s linear infinite;
}

/* ── Hero Section ── */
.hero {
  min-height: 100vh; padding-top: 70px;
  background: linear-gradient(135deg, #0d1b4b 0%, #1e40af 50%, #1d4ed8 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%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");
}
.hero-particles {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: var(--gold); padding: 0.375rem 1rem; border-radius: var(--radius-full);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}
.hero h1 { color: #fff; font-size: clamp(2.2rem,5vw,3.8rem); margin-bottom: 1.25rem; }
.hero h1 span { color: var(--gold); }
.hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 600px; margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 3.5rem; flex-wrap: wrap;
}
.hero-stat { color: #fff; }
.hero-stat .num { font-size: 2rem; font-weight: 800; color: var(--gold); display: block; }
.hero-stat .label { font-size: 0.85rem; color: rgba(255,255,255,0.7); }

.hero-visual {
  position: relative; z-index: 2;
}
.hero-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-xl);
  padding: 2rem;
  color: #fff;
}
.hero-card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.hero-card-icon {
  width: 48px; height: 48px; background: rgba(255,255,255,0.15);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: var(--gold);
}
.hero-service-list { display: flex; flex-direction: column; gap: 0.875rem; }
.hero-service-item {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(255,255,255,0.08); border-radius: var(--radius-sm); padding: 0.875rem 1rem;
  border: 1px solid rgba(255,255,255,0.1); transition: all var(--transition);
}
.hero-service-item:hover { background: rgba(255,255,255,0.15); }
.hero-service-item .icon {
  width: 36px; height: 36px; background: linear-gradient(135deg, var(--secondary), var(--gold));
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; flex-shrink: 0;
}
.hero-service-item .info { flex: 1; }
.hero-service-item .name { font-size: 0.875rem; font-weight: 600; }
.hero-service-item .fee  { font-size: 0.75rem; color: var(--gold); }
.floating-badge {
  position: absolute; background: #fff; border-radius: var(--radius-lg);
  padding: 0.75rem 1rem; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 600; color: var(--text-1);
  animation: float 3s ease-in-out infinite;
}
.floating-badge.top-right { top: -1rem; right: -1rem; animation-delay: 0.5s; }
.floating-badge.bottom-left { bottom: -1rem; left: -1rem; animation-delay: 1s; }
.floating-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); animation: pulse-dot 2s infinite; }

/* ── Services Section ── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 1.5rem; }
.service-card {
  background: var(--card); border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 2rem;
  transition: all var(--transition); cursor: pointer;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition-slow);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--primary-50), #dbeafe);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--primary); margin-bottom: 1.25rem;
}
.service-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.service-card p  { font-size: 0.875rem; color: var(--text-3); margin-bottom: 1.5rem; }
.service-fee {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.875rem 1rem; background: var(--bg-2); border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}
.service-fee .govt  { font-size: 0.8rem; color: var(--text-3); }
.service-fee .total { font-weight: 700; color: var(--primary); font-size: 1.1rem; }

/* ── Feature Cards ── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1.5rem; }
.feature-card {
  background: var(--card); border-radius: var(--radius-lg); padding: 1.75rem;
  border: 1px solid var(--border); text-align: center;
  transition: all var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 60px; height: 60px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin: 0 auto 1rem;
}
.feature-icon.blue   { background: var(--primary-50); color: var(--primary); }
.feature-icon.gold   { background: var(--gold-light); color: var(--secondary-dark); }
.feature-icon.green  { background: var(--success-bg); color: var(--success); }
.feature-icon.purple { background: #f3e8ff; color: #7c3aed; }

/* ── Section Headings ── */
.section-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--primary-50); color: var(--primary);
  padding: 0.375rem 1rem; border-radius: var(--radius-full);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-title { font-size: clamp(1.75rem,3.5vw,2.5rem); margin-bottom: 1rem; }
.section-title span { color: var(--primary); }
.section-subtitle { color: var(--text-3); font-size: 1.05rem; max-width: 600px; }
.text-center .section-subtitle { margin: 0 auto; }

/* ── Cards ── */
.card {
  background: var(--card); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden;
}
.card-header {
  padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.card-body   { padding: 1.5rem; }
.card-footer { padding: 1.25rem 1.5rem; border-top: 1px solid var(--border); background: var(--bg-2); }

/* ── Forms ── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block; font-size: 0.875rem; font-weight: 600;
  color: var(--text-1); margin-bottom: 0.5rem;
}
.form-label .required { color: var(--error); margin-left: 2px; }
.form-control {
  width: 100%; padding: 0.75rem 1rem;
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  font-size: 0.9rem; color: var(--text-1); background: var(--card);
  transition: all var(--transition); outline: none;
  font-family: inherit;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(30,64,175,0.1); }
.form-control:disabled { background: var(--bg-2); cursor: not-allowed; color: var(--text-3); }
.form-control.is-error  { border-color: var(--error); }
.form-control.is-valid  { border-color: var(--success); }
.form-hint  { font-size: 0.78rem; color: var(--text-3); margin-top: 0.35rem; }
.form-error { font-size: 0.78rem; color: var(--error); margin-top: 0.35rem; }

.input-group { position: relative; }
.input-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--text-3); }
.input-group .form-control { padding-left: 2.75rem; }
.input-group .input-icon-right { left: auto; right: 1rem; cursor: pointer; }

/* File Upload */
.file-upload {
  border: 2px dashed var(--border-2); border-radius: var(--radius);
  padding: 2rem; text-align: center; cursor: pointer;
  transition: all var(--transition); background: var(--bg-2);
  position: relative;
}
.file-upload:hover, .file-upload.dragover {
  border-color: var(--primary); background: var(--primary-50);
}
.file-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-upload .upload-icon { font-size: 2rem; color: var(--text-4); margin-bottom: 0.75rem; }
.file-upload .upload-text { font-size: 0.875rem; color: var(--text-3); }
.file-upload .upload-hint { font-size: 0.78rem; color: var(--text-4); margin-top: 0.25rem; }
.file-upload.has-file { border-color: var(--success); background: var(--success-bg); }
.file-preview {
  display: flex; align-items: center; gap: 0.75rem; margin-top: 0.75rem;
  padding: 0.625rem 0.875rem; background: var(--card); border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.file-preview .file-icon { color: var(--primary); }
.file-preview .file-name { font-size: 0.8rem; color: var(--text-2); flex: 1; }
.file-preview .file-remove { color: var(--error); cursor: pointer; }

/* ── Badges ── */
.badge {
  display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 0.25rem 0.625rem; border-radius: var(--radius-full);
  font-size: 0.73rem; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase;
}
.badge-success  { background: var(--success-bg); color: #065f46; }
.badge-error    { background: var(--error-bg); color: #991b1b; }
.badge-warning  { background: var(--warning-bg); color: #92400e; }
.badge-info     { background: var(--info-bg); color: #1e40af; }
.badge-gray     { background: #f1f5f9; color: var(--text-2); }
.badge-primary  { background: var(--primary); color: #fff; }

.status-dot {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.8rem; font-weight: 500;
}
.status-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.status-dot.active::before   { background: var(--success); box-shadow: 0 0 0 3px rgba(16,185,129,0.2); }
.status-dot.pending::before  { background: var(--warning); box-shadow: 0 0 0 3px rgba(245,158,11,0.2); }
.status-dot.rejected::before { background: var(--error); }

/* ── Toast Notifications ── */
#toast-container {
  position: fixed; top: 1.5rem; right: 1.5rem; z-index: 9999;
  display: flex; flex-direction: column; gap: 0.75rem; max-width: 380px;
}
.toast {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 1rem 1.25rem;
  border-left: 4px solid var(--primary);
  display: flex; align-items: flex-start; gap: 0.875rem;
  animation: slideInRight 0.3s var(--transition);
  transition: all var(--transition);
}
.toast.success { border-color: var(--success); }
.toast.error   { border-color: var(--error); }
.toast.warning { border-color: var(--warning); }
.toast-icon { font-size: 1.1rem; margin-top: 1px; flex-shrink: 0; }
.toast.success .toast-icon { color: var(--success); }
.toast.error   .toast-icon { color: var(--error); }
.toast.warning .toast-icon { color: var(--warning); }
.toast-body { flex: 1; }
.toast-title   { font-weight: 600; font-size: 0.875rem; margin-bottom: 0.1rem; }
.toast-message { font-size: 0.8rem; color: var(--text-3); }
.toast-close { cursor: pointer; color: var(--text-4); font-size: 0.875rem; padding: 0.1rem; }
.toast.hide { animation: slideOutRight 0.3s forwards; }

/* ── Modal ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(15,23,42,0.6); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 1.5rem;
  animation: fadeIn 0.2s;
}
.modal {
  background: var(--card); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl); width: 100%; max-width: 560px;
  max-height: 90vh; overflow-y: auto;
  animation: scaleIn 0.2s var(--transition);
}
.modal-header {
  padding: 1.5rem 2rem; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: var(--card);
}
.modal-title { font-size: 1.1rem; font-weight: 700; }
.modal-close {
  width: 32px; height: 32px; border-radius: 50%; border: none;
  background: var(--bg-2); cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--text-2); transition: all var(--transition);
}
.modal-close:hover { background: var(--error-bg); color: var(--error); }
.modal-body   { padding: 1.5rem 2rem; }
.modal-footer { padding: 1.25rem 2rem; border-top: 1px solid var(--border); display: flex; gap: 0.75rem; justify-content: flex-end; }

/* ── Stats Cards ── */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 1.25rem; }
.stat-card {
  background: var(--card); border-radius: var(--radius-lg); padding: 1.5rem;
  border: 1px solid var(--border); position: relative; overflow: hidden;
  transition: all var(--transition);
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.stat-card-glow {
  position: absolute; top: -30px; right: -30px; width: 120px; height: 120px;
  border-radius: 50%; opacity: 0.06;
}
.stat-card.blue   .stat-card-glow { background: var(--primary); }
.stat-card.gold   .stat-card-glow { background: var(--secondary); }
.stat-card.green  .stat-card-glow { background: var(--success); }
.stat-card.red    .stat-card-glow { background: var(--error); }
.stat-card-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; margin-bottom: 1rem;
}
.stat-card.blue  .stat-card-icon { background: var(--primary-50); color: var(--primary); }
.stat-card.gold  .stat-card-icon { background: var(--gold-light); color: var(--secondary-dark); }
.stat-card.green .stat-card-icon { background: var(--success-bg); color: var(--success); }
.stat-card.red   .stat-card-icon { background: var(--error-bg); color: var(--error); }
.stat-card .value { font-size: 1.75rem; font-weight: 800; color: var(--text-1); line-height: 1; margin-bottom: 0.25rem; }
.stat-card .label { font-size: 0.8rem; color: var(--text-3); font-weight: 500; }
.stat-card .change {
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.75rem; font-weight: 600; margin-top: 0.5rem;
}
.stat-card .change.up   { color: var(--success); }
.stat-card .change.down { color: var(--error); }

/* ── Tables ── */
.table-wrapper { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
thead th {
  background: var(--bg-2); padding: 0.875rem 1rem;
  text-align: left; font-weight: 600; color: var(--text-2);
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border); white-space: nowrap;
}
tbody td { padding: 1rem; border-bottom: 1px solid var(--border); color: var(--text-2); vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--bg-2); }

/* ── Contact & About ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: start; }
.contact-info-item {
  display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.75rem;
}
.contact-icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem; flex-shrink: 0;
}
.contact-icon.gold { background: linear-gradient(135deg, var(--secondary), var(--gold)); }

/* ── Footer ── */
footer {
  background: #0d1b4b; color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
.footer-brand { margin-bottom: 1rem; }
.footer-brand a { display: flex; align-items: center; gap: 0.75rem; font-size: 1.15rem; font-weight: 800; color: #fff; }
.footer-desc { font-size: 0.875rem; line-height: 1.7; }
.footer-heading { font-size: 0.875rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1.25rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.875rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); margin-top: 3rem; padding-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.8rem;
}
.social-links { display: flex; gap: 0.75rem; }
.social-links a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.social-links a:hover { background: var(--secondary); color: #fff; transform: translateY(-2px); }

/* ── Page Header ── */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 5rem 0 3.5rem; margin-top: 70px;
  position: relative; overflow: hidden;
}
.page-header::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 60px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-header h1 { color: #fff; margin-bottom: 0.5rem; }
.page-header p  { color: rgba(255,255,255,0.75); }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; list-style: none; font-size: 0.85rem; margin-top: 1rem; }
.breadcrumb li { color: rgba(255,255,255,0.6); }
.breadcrumb li.active { color: var(--gold); }
.breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 0.5rem; }

/* ── Utility Classes ── */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.p-0 { padding: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.hidden { display: none !important; }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0; }

.divider { height: 1px; background: var(--border); margin: 1.5rem 0; }
.glass {
  background: rgba(255,255,255,0.7); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
}
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* Loader */
.page-loader {
  position: fixed; inset: 0; z-index: 99999;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem;
}
.page-loader .logo { font-size: 2rem; font-weight: 900; color: #fff; }
.page-loader .logo span { color: var(--gold); }
.loader-bar { width: 200px; height: 3px; background: rgba(255,255,255,0.2); border-radius: 3px; overflow: hidden; }
.loader-bar-fill { height: 100%; background: var(--gold); border-radius: 3px; animation: loadBar 1.5s ease-in-out forwards; }

/* ── Animations ── */
@keyframes spin     { to { transform: rotate(360deg); } }
@keyframes float    { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse-dot{ 0%,100%{ box-shadow: 0 0 0 3px rgba(16,185,129,0.3); } 50%{ box-shadow: 0 0 0 6px rgba(16,185,129,0.1); } }
@keyframes fadeIn   { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn  { from { opacity:0; transform:scale(0.95); } to { opacity:1; transform:scale(1); } }
@keyframes slideInRight  { from { opacity:0; transform:translateX(100%); } to { opacity:1; transform:translateX(0); } }
@keyframes slideOutRight { from { opacity:1; transform:translateX(0); } to { opacity:0; transform:translateX(100%); } }
@keyframes loadBar  { 0% { width: 0%; } 100% { width: 100%; } }
@keyframes shimmer  { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

.animate-fade-in { animation: fadeIn 0.5s both; }
.animate-slide-up { animation: slideUp 0.5s both; }
@keyframes slideUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }

/* AOS-like animation */
[data-aos] { opacity: 0; transform: translateY(30px); transition: all 0.6s var(--transition); }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="fade-left"].aos-animate { transform: translateX(0); }

/* Skeleton loader */
.skeleton {
  background: linear-gradient(90deg, var(--bg-2) 25%, var(--border) 50%, var(--bg-2) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .navbar-nav, .navbar-actions .btn:not(.btn-primary) { display: none; }
  .hamburger { display: flex; }
  .navbar-nav.open {
    display: flex; flex-direction: column;
    position: fixed; top: 70px; left: 0; right: 0;
    background: var(--card); padding: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md); z-index: 999;
    gap: 0.25rem;
  }
  .navbar-nav.open a { padding: 0.75rem 1rem; border-radius: var(--radius-sm); }
  .hero { padding-top: 100px; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 3.5rem 0; }
  #toast-container { left: 1rem; right: 1rem; max-width: none; }
}
@media (max-width: 480px) {
  .btn-xl { padding: 0.875rem 1.75rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
