:root {
  /* College Brand Colors */
  --primary: #122147;      /* NEEL */
  --primary-dark: #0a1329; /* Darker NEEL for hovers */
  --secondary: #7B1436;    /* KUMKUM */
  --accent: #C59048;       /* CHANDAN */
  
  /* Base Colors */
  --bg-color: #f4f7f6;
  --text-main: #333;
  --text-muted: #666;
  --white: #ffffff;
  --border-color: #ddd;
  
  /* Status Colors */
  --status-pending: #f59e0b;
  --status-review: #3b82f6;
  --status-resolved: #10b981;
  --status-closed: #6b7280;

  /* Typography */
  --font-main: 'Inter', sans-serif;
  --font-headings: 'Poppins', sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  
  /* Radii */
  --radius-md: 8px;
  --radius-lg: 12px;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

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

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

main {
  flex: 1;
  padding: 2rem 0;
}

/* --- Navigation --- */
.main-nav {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  border-top: 5px solid var(--primary);
  border-image: linear-gradient(to right, var(--secondary) 0%, var(--primary) 50%, var(--accent) 100%) 1;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--primary);
}

.nav-logo {
  font-size: 1.5rem;
  background: var(--primary);
  color: var(--white);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
}

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

.nav-college {
  font-family: var(--font-headings);
  font-size: 1.2rem;
  line-height: 1.2;
}

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

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  color: var(--text-main);
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  transition: all 0.2s;
}

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

.nav-link-officer {
  border: 1px solid var(--primary);
  color: var(--primary);
}

.nav-link-officer:hover {
  background-color: var(--primary);
  color: var(--white);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-main);
  margin-bottom: 5px;
  transition: 0.3s;
}

/* --- Forms --- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2rem;
  margin-bottom: 2rem;
  border-top: 5px solid var(--primary);
  border-image: linear-gradient(to right, var(--secondary) 0%, var(--primary) 50%, var(--accent) 100%) 1;
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

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

.form-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  display: block;
}

.invalid-feedback {
  display: none;
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.form-control.is-invalid {
  border-color: #dc3545;
}

.form-control.is-invalid ~ .invalid-feedback {
  display: block;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-main);
  font-weight: 600;
  text-align: center;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
}

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

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

.btn-block {
  display: block;
  width: 100%;
}

/* --- Badges --- */
.badge {
  display: inline-block;
  padding: 0.25em 0.6em;
  font-size: 0.75em;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
  color: #fff;
}

.bg-pending { background-color: var(--status-pending); }
.bg-review { background-color: var(--status-review); }
.bg-resolved { background-color: var(--status-resolved); }
.bg-closed { background-color: var(--status-closed); }

/* --- Footer --- */
.site-footer {
  background-color: #1f2937;
  color: #f9fafb;
  padding: 3rem 0 0 0;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .footer-logo {
  font-size: 1.5rem;
  font-family: var(--font-headings);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-tagline {
  color: #9ca3af;
  margin-bottom: 1rem;
}

.footer-links ul, .footer-contact ul {
  list-style: none;
  padding: 0;
}

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

.footer-links a, .footer-contact a {
  color: #d1d5db;
}

.footer-links a:hover, .footer-contact a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.875rem;
  color: #9ca3af;
}

/* --- Utilities --- */
.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
  }
  .nav-links.show {
    display: flex;
  }
  
  .card {
    padding: 1.5rem;
  }
}
