/* ==========================================================================
   BUREAUCRATS HIVE - REALISTIC DESIGN SYSTEM (CALIBRATED FROM LOGO)
   Colors: Deep Slate Midnight Navy (#0E1624 / #131E31), Metallic 3D Gold (#D4AF37 / #F3D279 / #8C6318)
   ========================================================================== */

:root {
  /* Brand Backgrounds - Prestigious White & Ivory Luxury Theme */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #F1F5F9;
  --bg-surface-glass: rgba(255, 255, 255, 0.94);
  --bg-card-hover: rgba(255, 255, 255, 1);

  /* Gold Metallic Accents - Calibrated for High-Contrast on White */
  --gold-primary: #C59325;
  --gold-light: #9B6F12;
  --gold-lighter: #FFF9E6;
  --gold-dark: #7A5308;
  --gold-deep: #4E3403;
  --gold-muted: rgba(197, 147, 37, 0.12);
  --gold-border: rgba(197, 147, 37, 0.32);
  --gold-border-glow: rgba(197, 147, 37, 0.6);
  
  /* 3D Metallic Gradients */
  --gold-gradient: linear-gradient(135deg, #FFF0B8 0%, #ECC359 30%, #C59325 68%, #93670F 100%);
  --gold-gradient-hover: linear-gradient(135deg, #FFFFFF 0%, #FFEBA3 25%, #DFB448 60%, #B07F19 100%);
  --gold-text-gradient: linear-gradient(135deg, #875C0B 0%, #C59325 50%, #6E4904 100%);
  --gold-border-gradient: linear-gradient(135deg, rgba(197, 147, 37, 0.6) 0%, rgba(243, 210, 121, 0.35) 45%, rgba(140, 99, 24, 0.5) 100%);

  /* Text Colors - High Contrast for Crisp Readability on White */
  --text-white: #0F172A;
  --text-ivory: #1E293B;
  --text-slate: #475569;
  --text-muted: #64748B;
  --text-gold: #9E7012;

  /* Modern EdTech Tokens (Inspired by Smriti Shah) */
  --ink: #101A4F;
  --blue: #2455F5;
  --blue-dark: #173FD2;
  --blue-pale: #EDF2FF;
  --coral: #FF6257;
  --green: #10A36B;
  --ed-muted: #5F6989;
  --ed-line: #E4E8F3;

  /* State & Status Colors */
  --color-success: #059669;
  --color-success-bg: rgba(5, 150, 105, 0.12);
  --color-warning: #D97706;
  --color-info: #0284C7;
  --color-danger: #DC2626;

  /* Typography */
  --font-heading: 'Cinzel', 'Montserrat', serif, sans-serif;
  --font-subheading: 'Montserrat', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Realistic 3D Shadows, Bevels & Glows - Crisp for Light Theme */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.08), 0 0 1px 1px rgba(197, 147, 37, 0.16);
  --shadow-lg: 0 20px 40px -8px rgba(15, 23, 42, 0.12), 0 0 1px 1px rgba(197, 147, 37, 0.22);
  --shadow-gold: 0 8px 24px rgba(197, 147, 37, 0.25);
  --shadow-gold-lg: 0 14px 40px rgba(197, 147, 37, 0.35);
  --shadow-inner-gold: inset 0 1px 1px rgba(255, 255, 255, 0.8), inset 0 -1px 1px rgba(197, 147, 37, 0.2);
  --shadow-btn-gold: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 -2px 0 rgba(122, 83, 8, 0.5), 0 4px 16px rgba(197, 147, 37, 0.35);

  /* Borders & Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --border-glass: 1px solid rgba(15, 23, 42, 0.08);
  --border-gold: 1px solid var(--gold-border);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  background-color: var(--bg-primary);
  color: var(--text-ivory);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ambient Background Canvas / Subtle Warm Gold Luster */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    radial-gradient(circle at 18% 12%, rgba(212, 175, 55, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 82% 28%, rgba(226, 232, 240, 0.7) 0%, transparent 50%),
    radial-gradient(circle at 50% 85%, rgba(212, 175, 55, 0.05) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 50%, transparent 60%, rgba(241, 245, 249, 0.8) 100%);
  pointer-events: none;
  z-index: -1;
}

/* Realistic Honeycomb Pattern Overlay Matching Logo Hive */
.bg-honeycomb-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 66L0 50L0 17L28 1L56 17L56 50L28 66L28 97' fill='none' stroke='rgba(180,130,24,0.06)' stroke-width='1.2'/%3E%3Cpath d='M28 0L28 33L56 49L56 82L28 98L0 82L0 49L28 33' fill='none' stroke='rgba(180,130,24,0.06)' stroke-width='1.2'/%3E%3C/svg%3E");
  background-size: 56px 97px;
  opacity: 0.65;
  pointer-events: none;
  z-index: 0;
}

/* Typography Helpers */
h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
  color: var(--text-white);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

p {
  color: var(--text-slate);
  font-size: 1.05rem;
}

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

ul {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

/* Gold Text Gradient Utility */
.gold-text {
  background: var(--gold-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gold-glow {
  text-shadow: 0 0 20px rgba(245, 197, 66, 0.4);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
  border-top: 1px solid rgba(197, 147, 37, 0.15);
  border-bottom: 1px solid rgba(197, 147, 37, 0.15);
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3.75rem auto;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(254, 249, 235, 0.95) 100%);
  border: 1.5px solid rgba(197, 147, 37, 0.45);
  color: #8A6008;
  padding: 0.42rem 1.25rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
  box-shadow: 0 2px 12px rgba(197, 147, 37, 0.12);
  transition: all 0.25s ease;
}

.section-tag::before {
  content: '✦';
  font-size: 0.72rem;
  color: var(--gold-primary);
}

.section-tag:hover {
  transform: translateY(-1px);
  border-color: var(--gold-primary);
  box-shadow: 0 4px 16px rgba(197, 147, 37, 0.22);
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.section-header::after {
  content: '';
  display: block;
  width: 46px;
  height: 3px;
  background: linear-gradient(90deg, #ECC359 0%, #C59325 50%, #93670F 100%);
  border-radius: 3px;
  margin: 1.25rem auto 0 auto;
  box-shadow: 0 1px 6px rgba(197, 147, 37, 0.35);
}

.section-subtitle {
  margin-top: 1.15rem;
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.65;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* Glassmorphism Card Base - 3D Beveled Gold Trim */
.glass-card {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: 
    0 10px 30px -6px rgba(15, 23, 42, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    inset 0 0 20px rgba(197, 147, 37, 0.04);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-gradient);
  opacity: 0.8;
  transition: opacity var(--transition-normal);
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-border-glow);
  box-shadow: 
    0 18px 45px -8px rgba(15, 23, 42, 0.14),
    0 0 22px rgba(197, 147, 37, 0.22),
    inset 0 1px 2px rgba(255, 255, 255, 1);
}

.glass-card:hover::before {
  opacity: 1;
}

/* 3D Embossed Metallic Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-subheading);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #120D04;
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  box-shadow: var(--shadow-btn-gold);
  border: 1px solid rgba(255, 246, 205, 0.6);
}

.btn-gold:hover {
  background: var(--gold-gradient-hover);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -2px 0 rgba(94, 65, 11, 0.7),
    0 8px 30px rgba(197, 147, 37, 0.5);
  transform: translateY(-2px);
  color: #0A0702;
}

.btn-outline-gold {
  background: #FFFFFF;
  border: 1.5px solid var(--gold-primary);
  color: var(--gold-light);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8), 0 2px 8px rgba(197, 147, 37, 0.12);
}

.btn-outline-gold:hover {
  background: var(--gold-muted);
  border-color: var(--gold-light);
  color: var(--gold-dark);
  box-shadow: var(--shadow-gold), inset 0 1px 2px rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: #FFFFFF;
  border: 1.5px solid rgba(15, 23, 42, 0.15);
  color: var(--text-ivory);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 2px 8px rgba(15, 23, 42, 0.06);
}

.btn-secondary:hover {
  background: #F8FAFC;
  border-color: var(--gold-primary);
  color: var(--text-white);
  transform: translateY(-2px);
}

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

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* Animations & Keyframes */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
  }
}

@keyframes floatEmblem {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.animate-pulse-glow {
  animation: pulseGlow 3s infinite ease-in-out;
}

.animate-float {
  animation: floatEmblem 6s infinite ease-in-out;
}

/* Responsive Grid Base */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 1.65rem;
  }
  .section-header {
    margin-bottom: 2.25rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 2.75rem 0;
  }
  .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
  h1 {
    font-size: 1.85rem;
  }
  h2 {
    font-size: 1.45rem;
  }
  .section-tag {
    font-size: 0.72rem;
    padding: 0.3rem 0.85rem;
  }
}

