/* ==========================================================================
   DFJA — Delhi Former Judges Association
   Custom Stylesheet (Bootstrap 5.3 Override + Custom Components)
   Design: Ultra-modern, minimal, clean
   ========================================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  --dfja-navy:    #1B2A4A;
  --dfja-maroon:  #8B1A2B;
  --dfja-gold:    #C5A55A;
  --dfja-cream:   #FAF8F5;
  --dfja-white:   #FFFFFF;
  --dfja-dark:    #111827;
  --dfja-muted:   #6B7280;
  --dfja-light:   #F3F4F6;
  --dfja-border:  #E5E7EB;

  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-sm:    0 1px 2px rgba(0,0,0,0.05);
  --shadow-md:    0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg:    0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl:    0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);

  --radius-sm:    0.375rem;
  --radius-md:    0.5rem;
  --radius-lg:    0.75rem;
  --radius-xl:    1rem;

  --transition:   all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--dfja-dark);
  background-color: var(--dfja-white);
  overflow-x: hidden;
}

::selection {
  background-color: var(--dfja-gold);
  color: var(--dfja-white);
}

img {
  max-width: 100%;
  height: auto;
}

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

a:hover {
  color: var(--dfja-gold);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--dfja-navy);
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.625rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.375rem, 2.5vw, 1.875rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--dfja-dark);
}

.text-muted {
  color: var(--dfja-muted) !important;
}

.lead {
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--dfja-muted);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dfja-gold);
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--dfja-muted);
  max-width: 640px;
  line-height: 1.8;
}

/* ---------- Announcement Bar ---------- */
.announcement-bar {
  background-color: var(--dfja-gold);
  color: var(--dfja-white);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.5rem 0;
  text-align: center;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1040;
}

.announcement-bar a {
  color: var(--dfja-white);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.announcement-bar a:hover {
  opacity: 0.85;
}

.announcement-bar .announcement-close {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--dfja-white);
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0.7;
  transition: var(--transition);
}

.announcement-bar .announcement-close:hover {
  opacity: 1;
}

#header-include {
  display: contents;
}

/* ---------- Navbar ---------- */
.navbar-dfja {
  background-color: var(--dfja-navy);
  padding: 0;
  border: none;
  transition: var(--transition);
}

.navbar-dfja.scrolled {
  box-shadow: var(--shadow-lg);
}

.navbar-brand-dfja {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 0;
  text-decoration: none;
}

.navbar-brand-dfja img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.15);
}

.navbar-brand-dfja .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.navbar-brand-dfja .brand-name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dfja-white);
  letter-spacing: 0.01em;
}

.navbar-brand-dfja .brand-sub {
  font-size: 0.6875rem;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.navbar-dfja .nav-link {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  padding: 1.25rem 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  position: relative;
  transition: var(--transition);
}

.navbar-dfja .nav-link:hover,
.navbar-dfja .nav-link.active {
  color: var(--dfja-white);
}

.navbar-dfja .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background-color: var(--dfja-gold);
}

.navbar-toggler {
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.375rem 0.625rem;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---------- Nav Auth Area (Dashboard / Logout / Login) ---------- */
.nav-auth-area {
  display: flex;
  align-items: center;
}

.nav-auth-group {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0;
}

.nav-auth-divider {
  display: block;
  width: 1px;
  height: 24px;
  background: linear-gradient(to bottom, transparent, rgba(197, 165, 90, 0.5), transparent);
  margin-right: 0.375rem;
  flex-shrink: 0;
}

.nav-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(197, 165, 90, 0.2), rgba(197, 165, 90, 0.08));
  border: 1.5px solid var(--dfja-gold);
  color: var(--dfja-gold);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.nav-btn-dashboard {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4375rem 1rem;
  background: linear-gradient(135deg, var(--dfja-gold), #B8963F);
  color: var(--dfja-white) !important;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 100px;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(197, 165, 90, 0.25);
}

.nav-btn-dashboard i {
  font-size: 0.8125rem;
}

.nav-btn-dashboard:hover {
  background: linear-gradient(135deg, #D4B566, var(--dfja-gold));
  color: var(--dfja-white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(197, 165, 90, 0.4);
  text-decoration: none;
}

.nav-btn-logout {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4375rem 0.875rem;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.55) !important;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-btn-logout i {
  font-size: 0.8125rem;
}

.nav-btn-logout:hover {
  background: rgba(139, 26, 43, 0.15);
  border-color: rgba(139, 26, 43, 0.4);
  color: #E8A0A0 !important;
  text-decoration: none;
}

.nav-btn-login {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4375rem 1.125rem;
  background: transparent;
  color: var(--dfja-gold) !important;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 100px;
  border: 1.5px solid var(--dfja-gold);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-btn-login i {
  font-size: 0.875rem;
}

.nav-btn-login:hover {
  background: var(--dfja-gold);
  color: var(--dfja-white) !important;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(197, 165, 90, 0.3);
}


/* ---------- Hero Section ---------- */
.hero-section {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--dfja-navy) 0%, #243B5E 50%, var(--dfja-navy) 100%);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('../images/hero-bg.png') center/cover no-repeat;
  opacity: 0.08;
  mix-blend-mode: overlay;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--dfja-white), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  padding: 4rem 1rem;
}

.hero-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 2rem;
  border: 3px solid rgba(255,255,255,0.12);
  box-shadow: 0 0 60px rgba(197, 165, 90, 0.15);
  animation: fadeInDown 0.8s ease-out;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--dfja-white);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-divider {
  width: 60px;
  height: 2px;
  background-color: var(--dfja-gold);
  margin: 0 auto 2rem;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* ---------- Section Spacing ---------- */
.section-padding {
  padding: 5rem 0;
}

.section-padding-lg {
  padding: 6rem 0;
}

.bg-cream {
  background-color: var(--dfja-cream);
}

.bg-navy {
  background-color: var(--dfja-navy);
  color: var(--dfja-white);
}

.bg-navy h2,
.bg-navy h3,
.bg-navy h4 {
  color: var(--dfja-white);
}

.bg-navy .section-subtitle {
  color: rgba(255,255,255,0.65);
}

/* ---------- Cards ---------- */
.card-dfja {
  background: var(--dfja-white);
  border: 1px solid var(--dfja-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  height: 100%;
}

.card-dfja:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: transparent;
}

.card-dfja .card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dfja-cream);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  color: var(--dfja-gold);
  font-size: 1.25rem;
}

.card-dfja .card-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.card-dfja .card-text {
  font-size: 0.9375rem;
  color: var(--dfja-muted);
  line-height: 1.7;
}

/* ---------- Office Bearer Cards ---------- */
.bearer-card {
  background: var(--dfja-white);
  border: 1px solid var(--dfja-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.bearer-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.bearer-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dfja-navy), #2d4a7a);
  color: var(--dfja-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 auto 1.25rem;
  letter-spacing: 0.05em;
}

.bearer-name {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--dfja-dark);
  margin-bottom: 0.25rem;
}

.bearer-designation {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--dfja-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.bearer-post {
  font-size: 0.8125rem;
  color: var(--dfja-muted);
  line-height: 1.5;
}

/* ---------- Announcement Cards ---------- */
.announcement-card {
  background: var(--dfja-white);
  border: 1px solid var(--dfja-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.announcement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--dfja-gold);
}

.announcement-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.announcement-date {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--dfja-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.announcement-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.announcement-excerpt {
  font-size: 0.9375rem;
  color: var(--dfja-muted);
  line-height: 1.7;
}

/* ---------- Page Headers ---------- */
.page-header {
  background: var(--dfja-navy);
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('../images/hero-bg.png') center/cover no-repeat;
  opacity: 0.05;
}

.page-header h1 {
  color: var(--dfja-white);
  position: relative;
  z-index: 2;
  margin-bottom: 0.5rem;
}

.page-header .breadcrumb {
  position: relative;
  z-index: 2;
  margin-bottom: 0;
}

.page-header .breadcrumb-item a {
  color: rgba(255,255,255,0.55);
  font-size: 0.8125rem;
}

.page-header .breadcrumb-item a:hover {
  color: var(--dfja-gold);
}

.page-header .breadcrumb-item.active {
  color: rgba(255,255,255,0.75);
  font-size: 0.8125rem;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.35);
}

/* ---------- Buttons ---------- */
.btn-gold {
  background-color: var(--dfja-gold);
  color: var(--dfja-white);
  border: none;
  padding: 0.75rem 2rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-gold:hover {
  background-color: #B8963F;
  color: var(--dfja-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-navy {
  background-color: var(--dfja-navy);
  color: var(--dfja-white) !important;
  border: 1px solid var(--dfja-navy);
  padding: 0.75rem 2rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-navy:hover {
  background-color: #121e36;
  border-color: #121e36;
  color: var(--dfja-white) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline-navy {
  background: transparent;
  color: var(--dfja-navy);
  border: 1.5px solid var(--dfja-navy);
  padding: 0.75rem 2rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-outline-navy:hover {
  background-color: var(--dfja-navy);
  color: var(--dfja-white);
}

.btn-outline-white {
  background: transparent;
  color: var(--dfja-white);
  border: 1.5px solid rgba(255,255,255,0.3);
  padding: 0.75rem 2rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-outline-white:hover {
  background-color: var(--dfja-white);
  color: var(--dfja-navy);
  border-color: var(--dfja-white);
}

/* ---------- Quick Links Grid ---------- */
.quick-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--dfja-white);
  border: 1px solid var(--dfja-border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-decoration: none;
  color: var(--dfja-dark);
}

.quick-link:hover {
  border-color: var(--dfja-gold);
  box-shadow: var(--shadow-sm);
  color: var(--dfja-navy);
}

.quick-link .link-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dfja-cream);
  border-radius: var(--radius-sm);
  color: var(--dfja-gold);
}

.quick-link .link-text {
  font-size: 0.875rem;
  font-weight: 500;
}

.quick-link .link-arrow {
  margin-left: auto;
  color: var(--dfja-muted);
  font-size: 0.75rem;
  transition: var(--transition);
}

.quick-link:hover .link-arrow {
  color: var(--dfja-gold);
  transform: translateX(3px);
}

/* ---------- Footer ---------- */
.footer-dfja {
  background-color: var(--dfja-navy);
  color: rgba(255,255,255,0.65);
  padding: 4rem 0 0;
}

.footer-dfja h5 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dfja-gold);
  margin-bottom: 1.25rem;
}

.footer-dfja p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

.footer-dfja a {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  transition: var(--transition);
  display: inline-block;
  padding: 0.2rem 0;
}

.footer-dfja a:hover {
  color: var(--dfja-gold);
  transform: translateX(3px);
}

.footer-dfja .footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin-bottom: 1rem;
  opacity: 0.85;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  margin-top: 3rem;
}

.footer-bottom p {
  font-size: 0.8125rem;
  margin: 0;
  color: rgba(255,255,255,0.35);
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dfja-navy);
  color: var(--dfja-white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--dfja-gold);
  transform: translateY(-3px);
}

/* ---------- FAQ Accordion ---------- */
.accordion-dfja .accordion-item {
  border: 1px solid var(--dfja-border);
  border-radius: var(--radius-md) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.accordion-dfja .accordion-button {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--dfja-dark);
  padding: 1.25rem 1.5rem;
  background: var(--dfja-white);
  box-shadow: none !important;
}

.accordion-dfja .accordion-button:not(.collapsed) {
  background: var(--dfja-cream);
  color: var(--dfja-navy);
}

.accordion-dfja .accordion-button::after {
  width: 1rem;
  height: 1rem;
  background-size: 1rem;
}

.accordion-dfja .accordion-body {
  font-size: 0.9375rem;
  color: var(--dfja-muted);
  padding: 1.25rem 1.5rem;
  line-height: 1.8;
}

/* ---------- Office Directory Cards ---------- */
.office-card {
  background: var(--dfja-white);
  border: 1px solid var(--dfja-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
  height: 100%;
}

.office-card:hover {
  border-color: var(--dfja-gold);
  box-shadow: var(--shadow-sm);
}

.office-card .office-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dfja-cream);
  border-radius: var(--radius-sm);
  color: var(--dfja-gold);
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.office-card h6 {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--dfja-dark);
  margin-bottom: 0.5rem;
}

.office-card p {
  font-size: 0.8125rem;
  color: var(--dfja-muted);
  margin-bottom: 0.25rem;
}

.office-card a {
  font-size: 0.8125rem;
  color: var(--dfja-gold);
  font-weight: 500;
}

/* ---------- Gallery Placeholder ---------- */
.gallery-placeholder {
  background: var(--dfja-cream);
  border: 2px dashed var(--dfja-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  transition: var(--transition);
}

.gallery-placeholder:hover {
  border-color: var(--dfja-gold);
}

.gallery-placeholder i {
  font-size: 2.5rem;
  color: var(--dfja-muted);
  margin-bottom: 1rem;
  opacity: 0.5;
}

/* ---------- Gallery Filter Tabs ---------- */
.filter-btn {
  background: var(--dfja-white);
  color: var(--dfja-navy);
  border: 1.5px solid var(--dfja-navy);
  padding: 0.5rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.filter-btn:hover {
  background: var(--dfja-cream);
  color: var(--dfja-navy);
  border-color: var(--dfja-navy);
}

.filter-btn.active {
  background: var(--dfja-navy) !important;
  color: var(--dfja-gold) !important;
  border-color: var(--dfja-navy) !important;
  box-shadow: 0 4px 12px rgba(27, 42, 74, 0.25);
}

/* ---------- Contact Form ---------- */
.form-control-dfja {
  border: 1px solid var(--dfja-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-control-dfja:focus {
  border-color: var(--dfja-gold);
  box-shadow: 0 0 0 3px rgba(197, 165, 90, 0.1);
}

.form-label-dfja {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--dfja-dark);
  margin-bottom: 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- Objectives List ---------- */
.objective-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--dfja-border);
}

.objective-item:last-child {
  border-bottom: none;
}

.objective-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dfja-cream);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--dfja-gold);
}

.objective-text {
  font-size: 0.9375rem;
  color: var(--dfja-dark);
  line-height: 1.8;
}

/* ---------- Stats Counter ---------- */
.stat-item {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dfja-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------- Divider ---------- */
.divider {
  width: 48px;
  height: 2px;
  background: var(--dfja-gold);
  margin-bottom: 1.5rem;
}

.divider-center {
  margin-left: auto;
  margin-right: auto;
}

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.stagger.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.6s; }

.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .navbar-dfja .nav-link {
    padding: 0.75rem 1rem;
  }

  .navbar-dfja .nav-link.active::after {
    display: none;
  }

  .hero-section {
    min-height: 60vh;
  }

  .hero-logo {
    width: 90px;
    height: 90px;
  }

  .section-padding {
    padding: 3.5rem 0;
  }

  .section-padding-lg {
    padding: 4rem 0;
  }

  /* Auth area on mobile */
  .nav-auth-area {
    width: 100%;
  }

  .nav-auth-group {
    width: 100%;
    padding: 0.75rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 0.25rem;
  }

  .nav-auth-divider {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: 50vh;
  }

  .hero-content {
    padding: 3rem 1rem;
  }

  .section-padding {
    padding: 3rem 0;
  }

  .card-dfja {
    padding: 1.5rem;
  }

  .bearer-card {
    padding: 1.5rem;
  }

  .footer-dfja {
    text-align: center;
  }

  .footer-dfja a:hover {
    transform: none;
  }
}

@media (max-width: 575.98px) {
  .announcement-bar {
    font-size: 0.75rem;
    padding: 0.375rem 2rem 0.375rem 0.75rem;
  }

  .page-header {
    padding: 3rem 0 2rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}

/* ---------- Clickable Cards ---------- */
.bearer-card.clickable {
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.bearer-card.clickable:hover {
  border-color: var(--dfja-gold) !important;
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.bearer-card.clickable .btn-link {
  transition: var(--transition);
}

.bearer-card.clickable:hover .btn-link {
  color: var(--dfja-navy) !important;
}

/* ---------- Sub-Menu Navigation ---------- */
.submenu-link {
  color: rgba(255,255,255,0.7) !important;
  text-decoration: none;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--transition);
  padding: 0.25rem 0.5rem;
  border-bottom: 2px solid transparent;
}

.submenu-link:hover, .submenu-link.active {
  color: var(--dfja-gold) !important;
  border-bottom-color: var(--dfja-gold);
}

/* ==========================================================================
   DASHBOARD COMPONENTS
   ========================================================================== */

/* ---------- Dashboard Page Header ---------- */
.dash-header {
  background: linear-gradient(135deg, var(--dfja-navy) 0%, #243B5E 50%, #1a2d4d 100%);
  padding: 2.5rem 0 1.5rem;
  position: relative;
  overflow: hidden;
}

.dash-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('../images/hero-bg.png') center/cover no-repeat;
  opacity: 0.05;
}

.dash-header .container {
  position: relative;
  z-index: 2;
}

.dash-header-greeting {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dfja-gold);
  margin-bottom: 0.25rem;
}

.dash-header-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--dfja-white);
  margin-bottom: 0;
  line-height: 1.3;
}

.dash-header-subtitle {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.25rem;
}

/* ---------- Dashboard Stat Cards ---------- */
.dash-stats-row {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.dash-stat-card {
  flex: 1;
  min-width: 160px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  transition: var(--transition);
}

.dash-stat-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(197, 165, 90, 0.3);
  transform: translateY(-2px);
}

.dash-stat-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.dash-stat-icon.icon-gold {
  background: rgba(197, 165, 90, 0.15);
  color: var(--dfja-gold);
}

.dash-stat-icon.icon-green {
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
}

.dash-stat-icon.icon-amber {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
}

.dash-stat-icon.icon-blue {
  background: rgba(59, 130, 246, 0.12);
  color: #3b82f6;
}

.dash-stat-icon.icon-rose {
  background: rgba(244, 63, 94, 0.12);
  color: #f43f5e;
}

.dash-stat-value {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--dfja-white);
  line-height: 1.1;
}

.dash-stat-label {
  font-size: 0.6875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

/* ---------- Dashboard Tabs ---------- */
.dash-tabs {
  background: var(--dfja-white);
  border: 1px solid var(--dfja-border);
  border-radius: var(--radius-lg);
  padding: 0.375rem;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.dash-tabs .nav-item {
  flex-shrink: 0;
}

.dash-tabs .nav-link {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--dfja-muted);
  padding: 0.625rem 1.125rem;
  border-radius: var(--radius-md);
  border: none;
  background: transparent;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.dash-tabs .nav-link i {
  font-size: 1rem;
  opacity: 0.6;
  transition: var(--transition);
}

.dash-tabs .nav-link:hover {
  color: var(--dfja-navy);
  background: var(--dfja-cream);
}

.dash-tabs .nav-link:hover i {
  opacity: 0.9;
}

.dash-tabs .nav-link.active {
  background: linear-gradient(135deg, var(--dfja-navy), #243B5E);
  color: var(--dfja-white) !important;
  box-shadow: 0 2px 8px rgba(27, 42, 74, 0.25);
}

.dash-tabs .nav-link.active i {
  opacity: 1;
  color: var(--dfja-gold);
}

.dash-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0 0.375rem;
  line-height: 1;
}

.dash-tabs .nav-link .dash-tab-badge {
  background: rgba(245, 158, 11, 0.15);
  color: #d97706;
}

.dash-tabs .nav-link.active .dash-tab-badge {
  background: rgba(197, 165, 90, 0.25);
  color: var(--dfja-gold);
}

/* ---------- Dashboard Cards ---------- */
.dash-card {
  background: var(--dfja-white);
  border: 1px solid var(--dfja-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.dash-card:hover {
  box-shadow: var(--shadow-md);
}

.dash-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem 1.5rem;
  border-bottom: 1px solid var(--dfja-border);
  background: var(--dfja-cream);
}

.dash-card-header h4 {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--dfja-navy);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dash-card-header h4 i {
  color: var(--dfja-gold);
  font-size: 1.125rem;
}

.dash-card-body {
  padding: 1.5rem;
}

/* Gold accent variant */
.dash-card-accent {
  border-left: 3px solid var(--dfja-gold);
}

/* ---------- Dashboard Tables ---------- */
.dash-table {
  width: 100%;
  font-size: 0.8625rem;
  border-collapse: separate;
  border-spacing: 0;
}

.dash-table thead th {
  background: var(--dfja-navy);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.75rem 1rem;
  border: none;
  white-space: nowrap;
}

.dash-table thead th:first-child {
  border-radius: var(--radius-sm) 0 0 0;
}

.dash-table thead th:last-child {
  border-radius: 0 var(--radius-sm) 0 0;
}

.dash-table tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--dfja-border);
  vertical-align: middle;
  color: var(--dfja-dark);
}

.dash-table tbody tr {
  transition: var(--transition);
}

.dash-table tbody tr:hover {
  background: rgba(197, 165, 90, 0.04);
}

.dash-table tbody tr:last-child td {
  border-bottom: none;
}

/* ---------- Status Badges ---------- */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.35em 0.75em;
  border-radius: 100px;
  line-height: 1.4;
}

.badge-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.badge-status-approved {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}
.badge-status-approved::before { background: #22c55e; }

.badge-status-verified {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}
.badge-status-verified::before { background: #22c55e; }

.badge-status-pending {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}
.badge-status-pending::before { background: #f59e0b; }

.badge-status-rejected {
  background: rgba(244, 63, 94, 0.1);
  color: #e11d48;
}
.badge-status-rejected::before { background: #f43f5e; }

/* ---------- Dashboard Profile Card ---------- */
.dash-profile-card {
  background: var(--dfja-white);
  border: 1px solid var(--dfja-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.dash-profile-header {
  background: linear-gradient(135deg, var(--dfja-navy) 0%, #2d4a7a 100%);
  padding: 2rem 1.5rem 3rem;
  text-align: center;
  position: relative;
}

.dash-profile-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 24px;
  background: var(--dfja-white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.dash-profile-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid rgba(197, 165, 90, 0.4);
  object-fit: cover;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.dash-profile-initials {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid rgba(197, 165, 90, 0.4);
  background: linear-gradient(135deg, #2d4a7a, var(--dfja-navy));
  color: var(--dfja-gold);
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  margin: 0 auto;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.dash-profile-name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dfja-white);
  margin: 0.75rem 0 0.125rem;
  position: relative;
  z-index: 2;
}

.dash-profile-designation {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  position: relative;
  z-index: 2;
}

.dash-profile-body {
  padding: 0.5rem 1.5rem 1.5rem;
}

.dash-profile-field {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.625rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.8625rem;
  gap: 1rem;
}

.dash-profile-field:last-child {
  border-bottom: none;
}

.dash-profile-field-label {
  color: var(--dfja-muted);
  font-weight: 400;
  flex-shrink: 0;
  min-width: 100px;
}

.dash-profile-field-value {
  color: var(--dfja-navy);
  font-weight: 600;
  text-align: right;
}

/* ---------- Dashboard Form Card ---------- */
.dash-form-card {
  background: var(--dfja-white);
  border: 1px solid var(--dfja-border);
  border-left: 3px solid var(--dfja-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* ---------- Dashboard Empty State ---------- */
.dash-empty-state {
  text-align: center;
  padding: 3rem 2rem;
}

.dash-empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--dfja-cream);
  color: var(--dfja-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
  opacity: 0.6;
}

.dash-empty-text {
  font-size: 0.9375rem;
  color: var(--dfja-muted);
  max-width: 320px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---------- Dashboard Pending Card ---------- */
.dash-pending-card {
  background: var(--dfja-white);
  border: 1px solid var(--dfja-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.dash-pending-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(197, 165, 90, 0.3);
}

.dash-pending-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--dfja-gold), transparent);
}

/* ---------- Action Buttons ---------- */
.dash-btn-approve {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.375rem 0.875rem;
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.dash-btn-approve:hover {
  background: #16a34a;
  color: white;
  border-color: #16a34a;
}

.dash-btn-reject {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.375rem 0.875rem;
  background: rgba(244, 63, 94, 0.06);
  color: #e11d48;
  border: 1px solid rgba(244, 63, 94, 0.15);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.dash-btn-reject:hover {
  background: #e11d48;
  color: white;
  border-color: #e11d48;
}

.dash-btn-verify {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.375rem 0.75rem;
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.dash-btn-verify:hover {
  background: #16a34a;
  color: white;
  border-color: #16a34a;
}

/* ---------- Dashboard Responsive ---------- */
@media (max-width: 991.98px) {
  .dash-stats-row {
    gap: 0.75rem;
  }

  .dash-stat-card {
    min-width: 140px;
  }

  .dash-tabs {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .dash-tabs::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .dash-header {
    padding: 2rem 0 1.25rem;
  }

  .dash-stats-row {
    flex-direction: column;
  }

  .dash-stat-card {
    min-width: auto;
  }

  .dash-tabs .nav-link {
    padding: 0.5rem 0.875rem;
    font-size: 0.75rem;
  }

  .dash-profile-header {
    padding: 1.5rem 1rem 2.5rem;
  }

  .dash-profile-body {
    padding: 0.5rem 1rem 1rem;
  }

  .dash-card-body {
    padding: 1rem;
  }
}
