/* Global Themes & Variables */
:root {
  /* Jadavpur University palette — Maroon primary, warm cream secondary */
  --primary-color: #7b1113;        /* JU Maroon */
  --secondary-color: #c4893a;      /* Warm Antique Gold */
  --accent-color: #2d0507;         /* Deep Maroon (footer/dark areas) */
  
  --bg-color: #faf8f5;             /* Warm off-white */
  --surface-color: #ffffff;
  --text-dark: #1a1212;            /* Warm near-black */
  --text-light: #6b5c5c;           /* Warm muted text */
  
  --glass-bg: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(123, 17, 19, 0.12);
  --glass-shadow: 0 8px 32px 0 rgba(45, 5, 7, 0.06);
  
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 15px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-lift {
  transition: var(--transition);
}
.shadow-lift:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Reset & Scaffolding */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.75rem; margin-bottom: 1rem; }
p { margin-bottom: 1rem; color: var(--text-light); }

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

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

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

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
}

.section {
  padding: 5rem 0;
}

.section-light {
  background-color: var(--surface-color);
}

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

.section-dark h2, .section-dark p {
  color: white;
}

/* Grid Utilities */
.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }

/* Text Alignment */
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Flex Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* Micro-animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Background Gradients */
.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

main {
  flex: 1; /* Push footer down */
}
.footer-social-link {
    color: #94a3b8;
    margin-left: 0.6rem;
    transition: color 0.2s, transform 0.2s;
    display: inline-block;
}
.footer-social-link:hover {
    color: #fff;
    transform: translateY(-2px);
}

