/* WEES Alumni Welfare Trust - Modern Dynamic Styles */
:root {
  --wees-primary: #0d6efd;
  --wees-primary-dark: #0a58ca;
  --wees-secondary: #0dcaf0;
  --wees-accent: #ffc107;
  --wees-dark-bg: #0f172a;
  --wees-card-bg: #ffffff;
  --wees-hero-bg: linear-gradient(135deg, #0d6efd 0%, #1e3a8a 100%);
  --wees-glass: rgba(255, 255, 255, 0.85);
  --wees-glass-border: rgba(255, 255, 255, 0.2);
  --wees-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --wees-text-muted: #6c757d;
  --transition-speed: 0.3s;
}

[data-bs-theme="dark"] {
  --wees-card-bg: #1e293b;
  --wees-hero-bg: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  --wees-glass: rgba(30, 41, 59, 0.85);
  --wees-glass-border: rgba(255, 255, 255, 0.08);
  --wees-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  --wees-text-muted: #94a3b8;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
  overflow-x: hidden;
}

/* Navbar Customizations */
.navbar-wees {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background-color: var(--wees-glass);
  border-bottom: 1px solid var(--wees-glass-border);
  transition: all 0.3s ease;
}

.navbar-brand {
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-badge {
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  vertical-align: middle;
}

.nav-link {
  font-weight: 500;
  padding: 0.5rem 0.85rem !important;
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--wees-primary) !important;
  background-color: rgba(13, 110, 253, 0.08);
}

/* Dropdown Menu Enhancements */
.dropdown-menu-custom {
  min-width: 280px;
  border-radius: 14px;
  background: var(--wees-card-bg);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12) !important;
  border: 1px solid var(--wees-glass-border) !important;
  margin-top: 8px !important;
}

.dropdown-item {
  border-radius: 8px;
  margin: 2px 6px;
  width: calc(100% - 12px);
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background-color: rgba(13, 110, 253, 0.08);
  color: var(--wees-primary);
}

.icon-circle {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Theme Switcher Toggle */
.theme-switch-btn {
  background: transparent;
  border: 1px solid var(--wees-glass-border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.theme-switch-btn:hover {
  background: rgba(13, 110, 253, 0.1);
  border-color: var(--wees-primary);
}

/* Hero Banner */
.hero-section {
  position: relative;
  background: var(--wees-hero-bg);
  color: #ffffff;
  padding: 6rem 0 7rem 0;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 193, 7, 0.15) 0%, transparent 40%),
              radial-gradient(circle at 20% 80%, rgba(13, 202, 240, 0.15) 0%, transparent 40%);
  pointer-events: none;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
}

@media (min-width: 992px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #ffc107 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Counter Cards */
.counter-box {
  background: var(--wees-card-bg);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: var(--wees-shadow);
  border: 1px solid var(--wees-glass-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.counter-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(13, 110, 253, 0.15);
}

.counter-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.counter-value {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

/* Glass & Card Design */
.card-custom {
  background: var(--wees-card-bg);
  border: 1px solid var(--wees-glass-border);
  border-radius: 16px;
  box-shadow: var(--wees-shadow);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card-custom:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.spotlight-quote {
  font-style: italic;
  position: relative;
}

.spotlight-quote::before {
  content: '"';
  font-size: 4rem;
  color: var(--wees-primary);
  opacity: 0.2;
  position: absolute;
  top: -20px;
  left: -10px;
}

/* Footer styling */
.footer-section {
  background-color: var(--wees-dark-bg);
  color: #94a3b8;
  padding: 4rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-link {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-link:hover {
  color: #ffffff;
  padding-left: 4px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.2s ease;
}

.social-icon:hover {
  background: var(--wees-primary);
  transform: translateY(-3px);
  color: #ffffff;
}

/* Fallback visibility guarantee for animation elements */
[data-aos] {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}
