/* NEO ROYAL EDUCATIONAL SOCIETY (NRES) - Custom Enhancements */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --primary-navy: #0B1B3D;
  --primary-blue: #1D4ED8;
  --primary-gold: #D97706;
  --accent-gold-light: #FEF3C7;
  --surface-card: #FFFFFF;
  --surface-alt: #F8FAFC;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

/* Stylish Custom Card Styling */
.nres-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 1.25rem;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.04), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.nres-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1E3A8A, #3B82F6, #F59E0B);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nres-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.12), 0 10px 20px -8px rgba(30, 58, 138, 0.08);
  border-color: rgba(191, 219, 254, 0.9);
}

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

/* Attractive Leadership & Director Cards */
.director-card {
  background: #ffffff;
  border-radius: 2rem;
  box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.08), 0 5px 15px -5px rgba(30, 58, 138, 0.04);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.director-card-chairman {
  border: 2px solid rgba(245, 158, 11, 0.35);
}

.director-card-chairman::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #B45309 0%, #D97706 40%, #F59E0B 75%, #FBBF24 100%);
  z-index: 20;
}

.director-card-chairman:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 158, 11, 0.8);
  box-shadow: 0 30px 60px -15px rgba(180, 83, 9, 0.22), 0 12px 25px -8px rgba(245, 158, 11, 0.18);
}

.director-card-director {
  border: 2px solid rgba(37, 99, 235, 0.35);
}

.director-card-director::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #1E3A8A 0%, #2563EB 50%, #38BDF8 100%);
  z-index: 20;
}

.director-card-director:hover {
  transform: translateY(-8px);
  border-color: rgba(37, 99, 235, 0.8);
  box-shadow: 0 30px 60px -15px rgba(30, 58, 138, 0.25), 0 12px 25px -8px rgba(37, 99, 235, 0.18);
}

.director-portrait-container {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.director-portrait-container img {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.director-card:hover .director-portrait-container img {
  transform: scale(1.04);
}

/* Glassmorphism Accents */
.glass-panel {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.glass-dark {
  background: rgba(11, 27, 61, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Gold Gradient Shimmer */
.gold-gradient-text {
  background: linear-gradient(135deg, #B45309 0%, #D97706 40%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.royal-gradient-text {
  background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 50%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Badges */
.badge-gold {
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  color: #92400E;
  border: 1px solid #FCD34D;
}

.badge-blue {
  background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
  color: #1E40AF;
  border: 1px solid #93C5FD;
}

.badge-green {
  background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
  color: #065F46;
  border: 1px solid #6EE7B7;
}

/* Accessible custom focus outline */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #2563EB;
  outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Subtle image zoom hover */
.img-zoom-container {
  overflow: hidden;
  border-radius: 1rem;
}

.img-zoom-container img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.nres-card:hover .img-zoom-container img,
.director-card:hover .img-zoom-container img {
  transform: scale(1.04);
}
