@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');
 
:root {
    --primary: #2563eb; /* Brand Blue */
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --secondary: #3b82f6; /* Lighter Blue */
    --accent: #ff9933; /* Brand Saffron */
    --dark: #0f172a;
    --dark-light: #1e293b;
    --light: #f8fafc;
    --border: #e2e8f0;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    /* Blue-only — blending straight into saffron would pass through a muddy
       gray-brown mid-tone; saffron stays a separate standalone accent. */
    --gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}
 
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}
 
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}
 
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
 
/* Header - Glassmorphism Effect */
.main-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
 
.nav-link {
    font-weight: 500;
    color: #475569;
    transition: all 0.2s;
    position: relative;
}
 
.nav-link:hover { 
    color: var(--primary); 
}
 
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s;
}
 
.nav-link:hover::after {
    width: 100%;
}
 
/* Buttons - Gradient + Glow */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-size: 0.95rem;
}
 
.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.4);
}
 
.btn-primary:hover { 
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(37, 99, 235, 0.5);
}
 
.btn-secondary {
    background: white;
    color: var(--dark);
    border: 2px solid var(--border);
}
 
.btn-secondary:hover { 
    background: var(--light);
    border-color: var(--primary);
    color: var(--primary);
}
 
.btn-success {
    background: var(--success);
    color: white;
}
 
.btn-danger {
    background: var(--danger);
    color: white;
}
 
/* Card - Modern with Hover */
.card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.3s;
}
 
.card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}
 
/* Form - Better Focus */
.form-group { 
    margin-bottom: 1.5rem; 
}
 
.form-label { 
    display: block; 
    font-weight: 600; 
    margin-bottom: 0.5rem;
    color: var(--dark-light);
}
 
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.2s;
    font-family: 'Poppins', sans-serif;
}
 
.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}
 
/* Table - Colorful Header */
.table { 
    width: 100%; 
    border-collapse: collapse;
    border-radius: 0.75rem;
    overflow: hidden;
}
 
.table th, .table td { 
    padding: 1rem; 
    text-align: left; 
    border-bottom: 1px solid var(--border); 
}
 
.table th { 
    font-weight: 700; 
    background: var(--gradient);
    color: white;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
 
.table tbody tr:hover {
    background: var(--primary-light);
}
 
/* Dashboard Specific */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
 
.stat-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
 
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
}
 
.stat-card h3 { 
    font-size: 2.5rem; 
    font-weight: 800; 
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
 
.stat-card p { 
    color: #64748B;
    font-weight: 500;
    margin-top: 0.5rem;
}
 
/* Footer */
.main-footer {
    background: var(--dark);
    color: #94a3b8;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}
 
.main-footer a {
    color: #cbd5e1;
    text-decoration: none;
}
 
.main-footer a:hover {
    color: white;
}
 
/* Utilities */
.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
 
.shadow-glow {
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
}

/* FOOTER */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: white; }
.footer-bottom {
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.5;
}

/* BTN SECONDARY */
.btn-secondary {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: white;
  color: #2563eb;
  border: 2px solid #2563eb;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  text-align: center;
}
.btn-secondary:hover { background: #2563eb; color: white; }

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .how-card { margin-bottom: 0; }
  .grid.grid-cols-2 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .grid.grid-cols-2 { grid-template-columns: 1fr; }
}
