/* ==========================================================================
   DHRUVA JNANAM MASTER DESIGN SYSTEM (css/dj-theme-standard.css)
   Clean, Unified Single Source of Truth for Global Typography, Colors, Components & Responsive Layout
   ========================================================================== */

:root {
  /* Typography */
  --font-main: "Outfit", "Trebuchet MS", "Segoe UI", Tahoma, Arial, sans-serif;
  --font-title: 'Cinzel', "Outfit", "Trebuchet MS", serif;

  /* Brand Color Tokens */
  --saffron-bright: #F59E0B;
  --saffron-primary: #D97706;
  --saffron-rich: #C2410C;
  --saffron-deep: #9A3412;
  --terracotta-dark: #7C2D12;
  
  --gold-luminous: #FBBF24;
  --gold-bright: #FDE68A;
  --amber-warm: #FEF3C7;
  
  --warm-bg-base: #FFFBEB;
  --warm-surface: #FFF7ED;
  --warm-surface-card: #FFFFFF;
  --warm-border: #FDE68A;
  --warm-border-strong: #F59E0B;

  --text-dark: #451A03;
  --text-medium: #78350F;
  --text-muted: #92400E;
  --text-light: #FFFBEB;

  --emerald-dark: #14532D;
  --emerald-primary: #15803D;
  --emerald-bright: #16A34A;
  --emerald-light: #DCFCE7;

  /* Glassmorphism & Shadows */
  --glass-bg-navbar: rgba(124, 45, 18, 0.94);
  --glass-border: rgba(251, 191, 36, 0.5);
  --shadow-pill: 0 4px 20px -2px rgba(180, 83, 9, 0.2);
  --shadow-card: 0 12px 36px -8px rgba(124, 45, 18, 0.14);

  /* Radii */
  --radius-pill: 9999px;
  --radius-card: 24px;
  --radius-subtle: 14px;
}

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

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: var(--font-main);
  background-color: var(--warm-bg-base);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }

/* Global Container & Screen Bounds */
.dj-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

#mainDiv,
.flex-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
}

.account-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
  box-sizing: border-box;
}

/* ==========================================================================
   HEADER & UPPER HERO REGION (Single Unified Region)
   ========================================================================== */
.dj-upper-region {
  background: linear-gradient(135deg, #9A3412 0%, #C2410C 30%, #D97706 65%, #F59E0B 100%);
  position: relative;
  color: var(--text-light);
  padding: 0;
  margin: 0;
  border: none;
  box-shadow: 0 16px 40px -10px rgba(154, 52, 18, 0.35);
  overflow: visible; /* Allows expanded dropdowns to overflow beyond hero section cleanly without cutoff */
  width: 100%;
  box-sizing: border-box;
  z-index: 40;
}

/* Background Temple & Children with Tilak Artwork Layer (Spreads horizontally across hero sections) */
.dj-hero-temple-children-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../media/images/dj-temple-children-bg.jpg");
  background-size: cover;
  background-position: center 32%;
  background-repeat: no-repeat;
  opacity: 0.90;
  pointer-events: none;
  z-index: 0;
  filter: saturate(1.15) contrast(1.05);
}

.dj-upper-region::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 85% 20%, rgba(253, 230, 138, 0.25) 0%, transparent 48%),
    radial-gradient(circle at 15% 85%, rgba(251, 191, 36, 0.20) 0%, transparent 52%),
    linear-gradient(to bottom, rgba(124, 45, 18, 0.45) 0%, rgba(154, 52, 18, 0.18) 30%, rgba(194, 65, 12, 0.24) 70%, rgba(124, 45, 18, 0.60) 100%);
  opacity: 0.45;
  pointer-events: none;
  z-index: 1;
}

/* Single Sine Wave Rangoli Border */
.dj-rangoli-sine-strip {
  width: 100%;
  height: 24px;
  background-repeat: repeat-x;
  background-position: left center;
  background-size: 60px 24px;
  opacity: 0.95;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='24' viewBox='0 0 60 24'%3E%3Cpath fill='none' stroke='%23FFFFFF' stroke-width='2.2' stroke-linecap='round' d='M0 12 Q 15 0, 30 12 T 60 12'/%3E%3Ccircle cx='15' cy='18' r='2.2' fill='%23FFFFFF'/%3E%3Ccircle cx='45' cy='6' r='2.2' fill='%23FFFFFF'/%3E%3Ccircle cx='30' cy='12' r='2' fill='%23FBBF24'/%3E%3C/svg%3E");
  border: none;
  margin: 0;
  padding: 0;
  display: block;
  position: relative;
  z-index: 10;
}

/* Unified Common Top Header (Full-Width Horizontal Bar with 81% Opacity) */
.dj-navbar-wrapper {
  padding: 0;
  position: relative;
  z-index: 50;
  width: 100%;
  transition: transform 0.2s ease;
}

/* Default Non-Floating Top Header: Dark Background at 85% Opacity */
.dj-navbar-wrapper:not(.is-floating) {
  width: 100%;
  padding: 0;
  margin: 0;
  background: rgba(20, 8, 4, 0.85) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.dj-navbar-wrapper:not(.is-floating) .dj-top-rangoli-strip {
  display: block !important;
  width: 100%;
  height: 20px;
  opacity: 0.95;
}

.dj-navbar-wrapper:not(.is-floating) .dj-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4px 16px 8px 16px;
  width: 100%;
  box-sizing: border-box;
}

.dj-navbar-wrapper:not(.is-floating) .dj-navbar {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  min-height: auto;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
  box-sizing: border-box;
}

/* Ensure ALL floating-only elements are strictly hidden in default static mode */
.dj-navbar-wrapper:not(.is-floating) .dj-floating-only,
.dj-navbar-wrapper:not(.is-floating) .dj-nav-logo-anchor,
.dj-navbar-wrapper:not(.is-floating) .dj-brand-text,
.dj-navbar-wrapper:not(.is-floating) .dj-nav-bottom-row,
.dj-navbar-wrapper:not(.is-floating) .dj-nav-guru-avatar-container,
.dj-navbar-wrapper:not(.is-floating) .dj-floating-workadmin-strip {
  display: none !important;
}

/* TIER 1: TOP ROW (Single Straight Row: Left Logo | Center Trust Title | Right Guruji Image) */
.dj-navbar-wrapper:not(.is-floating) .dj-nav-top-row {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 2px 0 0 0;
  margin-bottom: 0;
  border-bottom: none !important;
  gap: 0px;
  text-align: center;
}

/* 100% Perfectly Straight Center Line Alignment across Left Logo, Trust Title, and Right Logo */
.dj-nav-lineage-straight-row {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 2px 4px !important;
  box-sizing: border-box !important;
  gap: clamp(8px, 1.2vw, 16px) !important;
}

/* Motto and Subdivision brought very near below Trust title */
.dj-nav-inst-sub-lines {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  margin-top: clamp(-18px, -1.8vw, -26px) !important; /* Brought snug and directly underneath Trust title */
  position: relative !important;
  z-index: 5 !important;
}

.dj-hero-inst-motto {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.1 !important;
}

/* Top Bar Design Toggle Button (Desktop & Tablet): Placed at bottom-right of top bar */
.dj-topbar-design-toggle-wrap {
  position: absolute;
  bottom: 8px;
  right: 18px;
  z-index: 50;
}

.dj-topbar-toggle-btn {
  background: rgba(20, 8, 4, 0.85) !important;
  border: 1.5px solid rgba(251, 191, 36, 0.70) !important;
  border-radius: var(--radius-pill) !important;
  color: #FDE68A !important;
  font-family: var(--font-main) !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  padding: 3px 10px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.50), 0 0 10px rgba(251, 191, 36, 0.25) !important;
  transition: all 0.2s ease !important;
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

.dj-topbar-toggle-btn i {
  color: #FBBF24 !important;
}

.dj-topbar-toggle-btn:hover,
.dj-topbar-toggle-btn:focus,
.dj-topbar-toggle-btn:active {
  background: rgba(45, 18, 8, 0.95) !important;
  border-color: #FBBF24 !important;
  color: #FFFBEB !important;
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.75) !important;
}

.dj-navbar-wrapper.is-floating .dj-topbar-design-toggle-wrap {
  display: none !important;
}

/* OPTION 2: Transparent Top Bar Background + Individual Pill Shaped Backgrounds on Text */
body.topbar-style-pills .dj-navbar-wrapper:not(.is-floating),
html.topbar-style-pills .dj-navbar-wrapper:not(.is-floating) {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

body.topbar-style-pills .dj-hero-inst-org {
  background: rgba(20, 8, 4, 0.84) !important;
  border: 1.5px solid rgba(251, 191, 36, 0.65) !important;
  border-radius: var(--radius-pill) !important;
  padding: 3px 16px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.50), 0 0 12px rgba(251, 191, 36, 0.25) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  display: inline-block !important;
}

body.topbar-style-pills .dj-hero-inst-motto {
  background: rgba(20, 8, 4, 0.84) !important;
  border: 1px solid rgba(251, 191, 36, 0.50) !important;
  border-radius: var(--radius-pill) !important;
  padding: 2px 14px !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  display: inline-block !important;
}

body.topbar-style-pills .dj-hero-title-pill {
  background: rgba(20, 8, 4, 0.84) !important;
  border: 1.5px solid rgba(251, 191, 36, 0.65) !important;
  border-radius: var(--radius-pill) !important;
  padding: 2px 22px !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55), 0 0 16px rgba(251, 191, 36, 0.30) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.topbar-style-pills .dj-hero-tagline-centered {
  background: rgba(20, 8, 4, 0.84) !important;
  border: 1px solid rgba(251, 191, 36, 0.50) !important;
  border-radius: var(--radius-pill) !important;
  padding: 2px 14px !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  display: inline-block !important;
}

.dj-head-flank-anchor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}

.dj-head-flank-img {
  width: clamp(52px, 5.2vw, 72px);
  height: clamp(52px, 5.2vw, 72px);
  border-radius: 50%;
  background: #FEF3C7;
  border: 2.5px solid #FBBF24;
  padding: 2px;
  object-fit: contain;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.75);
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dj-head-guru-img {
  object-fit: cover;
}

.dj-head-flank-anchor:hover .dj-head-flank-img {
  transform: scale(1.08);
  box-shadow: 0 0 18px rgba(251, 191, 36, 1);
}

.dj-nav-inst-text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  text-align: center;
  flex-grow: 0;
  min-width: 0;
}

.dj-nav-inst-row1 {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.dj-nav-inst-row2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.dj-nav-inst-row3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* Parent Trust: Always Prominent & Bold in Georgia Serif */
.dj-hero-inst-org {
  font-family: 'Georgia', serif !important;
  font-weight: 900;
  color: #FDE68A;
  font-size: clamp(1.15rem, 1.70vw, 1.62rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85);
}

.dj-hero-inst-motto {
  font-family: 'Georgia', serif !important;
  font-size: clamp(0.76rem, 0.94vw, 0.88rem);
  color: #FFFBEB;
  font-style: italic;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.80);
  opacity: 0.95;
}

.dj-hero-inst-motto em {
  font-style: italic;
}

/* Sub-division: Distinct Pilled Badge below Motto */
.dj-hero-inst-wing-pill {
  font-family: 'Georgia', serif !important;
  font-size: clamp(0.74rem, 0.92vw, 0.86rem) !important;
  font-style: italic !important;
  font-weight: 700 !important;
  color: #451A03 !important;
  background: linear-gradient(135deg, #FDE68A 0%, #FBBF24 100%) !important;
  border: 1px solid rgba(251, 191, 36, 0.85) !important;
  border-radius: var(--radius-pill) !important;
  padding: 1.5px 14px !important;
  display: inline-block !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.40) !important;
  letter-spacing: 0.03em !important;
  text-shadow: none !important;
}

.dj-hero-inst-wing-pill em {
  font-style: italic !important;
  color: #451A03 !important;
}

/* TIER 2: CONTINUOUS FLOW BRAND CREST (Bigger DhruvaJnanam Text Flanked by Logos) */
.dj-navbar-wrapper:not(.is-floating) .dj-nav-brand-crest-row {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 0 4px 0 !important;
  margin-top: -2px;
}

/* Hide in-navbar menu row in static mode (menu is rendered in standalone bar outside below) */
.dj-navbar-wrapper:not(.is-floating) .dj-nav-bottom-row {
  display: none !important;
}

/* STANDALONE NAVIGATION MENU BAR (Outside & Directly Below Top Bar with No Gap) */
.dj-standalone-menu-bar {
  width: 100%;
  padding: 0 0 6px 0 !important;
  margin: 0 !important;
  position: relative;
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dj-standalone-menu-bar .dj-nav-menu-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Pill Shaped Border on Standalone Menu with #FBBF24 Background */
.dj-standalone-menu-bar .dj-nav-menu {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  list-style: none !important;
  margin: 0 auto !important;
  padding: 3px 10px !important;
  gap: clamp(2px, 0.4vw, 5px) !important;
  border: 1.5px solid #F59E0B !important;
  border-radius: var(--radius-pill) !important;
  background: #FBBF24 !important; /* Gold background */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.40) !important;
}

.dj-standalone-menu-bar .dj-nav-link {
  color: #451A03 !important;
  font-weight: 700 !important;
  background: transparent !important;
  border: none !important;
  border-radius: var(--radius-pill) !important;
  padding: 4px 10px !important;
  transition: all 0.2s ease !important;
}

.dj-standalone-menu-bar .dj-nav-link:hover {
  background: rgba(120, 53, 15, 0.16) !important;
  color: #78350F !important;
}

/* High-Contrast Highlight for Active Menu Option in Default Menu Bar */
.dj-standalone-menu-bar .dj-nav-link.active,
.dj-standalone-menu-bar .dj-nav-link.activeanchor {
  background: #78350F !important; /* Deep maroon/brown pill */
  color: #FEF3C7 !important; /* Glowing gold text */
  font-weight: 800 !important;
  border-radius: var(--radius-pill) !important;
  box-shadow: 0 2px 8px rgba(69, 26, 3, 0.45), inset 0 0 0 1px rgba(251, 191, 36, 0.5) !important;
}

/* When floating navbar activates on scroll, hide standalone static menu */
.dj-navbar-wrapper.is-floating ~ .dj-standalone-menu-bar,
body.page-scrolled .dj-standalone-menu-bar,
.is-scrolled .dj-standalone-menu-bar {
  display: none !important;
}

/* Floating Navbar Menu: Clean, Transparent, No Border, Matches Floating Pill Bar Background */
.dj-navbar-wrapper.is-floating .dj-nav-menu,
.dj-navbar-wrapper.is-floating .dj-nav-menu-floating {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: clamp(2px, 0.4vw, 6px) !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Active Highlight in Floating Mode */
.dj-navbar-wrapper.is-floating .dj-nav-link.active,
.dj-navbar-wrapper.is-floating .dj-nav-link.activeanchor {
  background: #FBBF24 !important;
  color: #451A03 !important;
  font-weight: 800 !important;
  border-radius: var(--radius-pill) !important;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.70) !important;
}

/* Work Admin Menu Link (Attached as extended option of top menu) */
.dj-nav-link-workadmin {
  background: #D97706 !important;
  border: 1px solid rgba(251, 191, 36, 0.55) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
}

.dj-nav-link-workadmin:hover {
  background: #B45309 !important;
  color: #FFFFFF !important;
}

/* Sign Out Navigation Link (Vibrant Red Style Applied to Both Default and Floating Menus) */
.dj-nav-link-signout,
.dj-standalone-menu-bar .dj-nav-link-signout {
  background: rgba(220, 38, 38, 0.85) !important;
  border: 1px solid #EF4444 !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  border-radius: var(--radius-pill) !important;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.40) !important;
  transition: all 0.2s ease !important;
}

.dj-nav-link-signout:hover,
.dj-standalone-menu-bar .dj-nav-link-signout:hover {
  background: #B91C1C !important;
  border-color: #F87171 !important;
  color: #FFFFFF !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.65) !important;
}

/* Floating Sticky Elements (Visible only when scrolling) */
.dj-floating-only {
  display: none !important;
}

/* Fixed Floating on Scroll: Preserved seamlessly untouched when scrolling down */
.dj-navbar-wrapper.is-floating {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  padding: 8px 0 6px 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  animation: djNavSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: auto;
}

@keyframes djNavSlideIn {
  0% {
    transform: translateY(-16px);
    opacity: 0.85;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.dj-navbar-wrapper.is-floating .dj-navbar {
  background: var(--glass-bg-navbar);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  padding: 3px 16px 3px 12px;
  min-height: 52px;
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 1.1vw, 16px);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(251, 191, 36, 0.6);
  width: 100%;
  box-sizing: border-box;
}

.dj-navbar-wrapper.is-floating .dj-nav-top-row,
.dj-navbar-wrapper.is-floating .dj-nav-brand-crest-row,
.dj-navbar-wrapper.is-floating .dj-top-rangoli-strip {
  display: none !important;
}

.dj-navbar-wrapper.is-floating .dj-nav-bottom-row {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  flex-grow: 1;
}

.dj-navbar-wrapper.is-floating .dj-floating-only {
  display: flex !important;
}

.dj-navbar-wrapper.is-floating .dj-brand-text {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  cursor: pointer;
  margin-left: 6px;
  margin-right: clamp(6px, 1vw, 16px);
  flex-shrink: 0;
}

.dj-navbar-wrapper.is-floating .dj-brand-title {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(1.05rem, 1.25vw, 1.32rem);
  letter-spacing: 0.03em;
  color: #FFFBEB;
  line-height: 1;
  white-space: nowrap;
}

.dj-navbar-wrapper.is-floating .dj-brand-tagline {
  font-size: 0.68rem;
  font-weight: 600;
  font-style: italic;
  color: #FDE68A;
  line-height: 1;
  margin-top: 2px;
  white-space: nowrap;
}

.dj-navbar-wrapper .dj-container {
  max-width: 1400px;
  padding: 0 16px;
}

/* Floating Work Admin Attached Sub-Row (Desktop): 0px Gap with Floating Navbar */
.dj-floating-workadmin-strip {
  display: none !important;
}

.dj-navbar-wrapper.is-floating .dj-floating-workadmin-strip {
  display: flex !important;
  justify-content: flex-end !important;
  width: 100% !important;
  margin-top: 0px !important; /* 0px gap, no overlap */
  padding-right: 24px !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 1001 !important;
}

.dj-floating-workadmin-btn {
  font-family: var(--font-main) !important;
  font-size: clamp(0.96rem, 1.05vw, 1.05rem) !important; /* Increased font size */
  font-weight: 800 !important;
  letter-spacing: normal !important;
  background: #FBBF24 !important; /* Solid #FBBF24 background matching active floating option */
  color: #451A03 !important; /* Dark text */
  padding: 8px clamp(16px, 1.35vw, 22px) !important; /* Increased height & pill padding */
  min-height: 38px !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  text-decoration: none !important;
  border: none !important;
  border-radius: var(--radius-pill) !important; /* Pill shaped */
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.75), 0 4px 12px rgba(0, 0, 0, 0.35) !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  line-height: 1.2 !important;
}

.dj-floating-workadmin-btn i {
  font-size: 1.0rem !important; /* Increased icon size */
  opacity: 0.95 !important;
}

.dj-floating-workadmin-btn:hover {
  background: #F59E0B !important;
  color: #260C01 !important;
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.90), 0 6px 16px rgba(0, 0, 0, 0.45) !important;
}

/* In single-line floating menu, hide workadmin item so Sri Guruji photo is never pushed off */
.dj-nav-menu-floating .dj-nav-workadmin-item {
  display: none !important;
}

.dj-navbar {
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

/* Left Anchor: Rushipeetham / Dhruva Logo */
.dj-nav-logo-anchor {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dj-brand-logo-img,
.dj-dhruvajnanam-nav-logo,
.dj-rushipeetham-logo,
.dj-floating-dhruva-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #FEF3C7;
  border: 2px solid #FBBF24;
  padding: 2px;
  object-fit: contain;
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.75);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.dj-floating-dhruva-logo,
.dj-nav-mobile-trio-logos {
  display: none;
}

.dj-brand-logo-img:hover,
.dj-dhruvajnanam-nav-logo:hover,
.dj-rushipeetham-logo:hover {
  transform: scale(1.06);
}

.dj-navbar-wrapper.is-floating .dj-brand-logo-img,
.dj-navbar-wrapper.is-floating .dj-dhruvajnanam-nav-logo,
.dj-navbar-wrapper.is-floating .dj-rushipeetham-logo {
  width: 42px;
  height: 42px;
}

/* Center Stack */
.dj-nav-center-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  gap: 2px;
}

/* Institutional Ribbon - Deprecated in favor of Unified Top Header */
.dj-hero-institutional-ribbon-wrap {
  display: none !important;
}

.dj-hero-institutional-heading,
.dj-hero-institutional-highlight-badge {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(10px, 1.4vw, 18px);
  background: linear-gradient(135deg, rgba(20, 8, 4, 0.76) 0%, rgba(45, 16, 6, 0.84) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(251, 191, 36, 0.55);
  border-radius: var(--radius-pill);
  padding: 5px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.50), 0 0 16px rgba(251, 191, 36, 0.16);
  line-height: 1.22;
  width: fit-content;
  max-width: 98%;
}

.dj-hero-inst-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
}

.dj-hero-inst-logo-side {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FEF3C7;
  border: 2px solid #FBBF24;
  padding: 2px;
  object-fit: contain;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.65);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.dj-hero-inst-logo-link:hover .dj-hero-inst-logo-side {
  transform: scale(1.08);
}

.dj-hero-inst-text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.dj-hero-inst-row1 {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.dj-hero-inst-org {
  font-weight: 900;
  color: #FDE68A;
  font-size: clamp(1.08rem, 1.55vw, 1.40rem);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95), 0 0 14px rgba(251, 191, 36, 0.6);
}

.dj-hero-inst-sep {
  color: #FBBF24;
  font-weight: 800;
  font-size: 1.15rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95);
}

.dj-hero-inst-wing {
  font-weight: 900;
  color: #FEF3C7;
  font-size: clamp(1.08rem, 1.55vw, 1.40rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95), 0 0 14px rgba(251, 191, 36, 0.6);
}

.dj-hero-inst-motto-row {
  display: flex;
  width: 100%;
  justify-content: center;
}

.dj-hero-inst-motto {
  font-size: clamp(0.82rem, 1.05vw, 0.96rem);
  color: #FFFBEB;
  font-style: italic;
  white-space: nowrap;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9), 0 0 8px rgba(251, 191, 36, 0.35);
  opacity: 0.98;
}

.dj-hero-inst-motto em {
  font-style: italic;
}

.dj-nav-menu {
  display: flex !important;
  align-items: center;
  gap: clamp(2px, 0.4vw, 6px);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 1;
  min-width: 0;
}

.dj-nav-item { 
  position: relative; 
  list-style: none; 
}

.dj-nav-link {
  padding: 6px clamp(6px, 0.65vw, 11px);
  border-radius: var(--radius-pill);
  font-size: clamp(0.86rem, 0.94vw, 0.96rem);
  font-weight: 800;
  color: #FEF3C7;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  white-space: nowrap;
}

.dj-nav-link i {
  font-size: 0.90rem;
  opacity: 0.95;
}

.dj-nav-caret {
  font-size: 0.60rem !important;
  opacity: 0.85;
  margin-left: 2px;
}

.dj-nav-link:hover, .dj-nav-link.active {
  background: rgba(251, 191, 36, 0.28);
  color: #FFFFFF;
  box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.5);
}

.dj-nav-link.active {
  background: #FBBF24;
  color: var(--text-dark);
  font-weight: 900;
}

/* Submenu Dropdown Box with Continuous Hover Bridge */
.dj-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #7C2D12;
  border: 1.5px solid rgba(251, 191, 36, 0.5);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(251, 191, 36, 0.4);
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 9999;
  pointer-events: auto;
}

/* Mega Multi-Column Dropdown */
.dj-dropdown.dj-dropdown-mega {
  min-width: 520px;
  padding: 14px;
}

.dj-dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.dj-dropdown-column {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dj-dropdown-header {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FBBF24;
  padding: 4px 10px 2px 10px;
  border-bottom: 1px solid rgba(251, 191, 36, 0.25);
  margin-bottom: 3px;
}

/* Invisible Hover Bridge: Ensures mouse never loses hover between nav item and dropdown */
.dj-dropdown::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 24px;
  background: transparent;
  pointer-events: auto;
}

.dj-nav-item:hover > .dj-dropdown,
.dj-nav-item:focus-within > .dj-dropdown {
  display: flex !important;
}

.dj-dropdown-link {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #FEF3C7;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.dj-dropdown-link:hover {
  background: rgba(245, 158, 11, 0.3);
  color: #FFFBEB;
}

/* Extreme Right Guruji Round Avatar Container (Contained strictly inside navbar pill, matching left logo height) */
.dj-nav-guru-avatar-container {
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  max-width: 46px;
  max-height: 46px;
  border-radius: 50%;
  background: #FEF3C7;
  border: 2px solid #FBBF24;
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  box-sizing: border-box;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.dj-nav-guru-avatar-container:hover {
  transform: scale(1.06);
  border-color: #FFFBEB;
}

.dj-nav-guru-only-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   HERO SECTION (HOME & LOGGED-IN ACCOUNT)
   ========================================================================== */
.dj-hero-wrapper {
  padding: 0 0 36px 0;
  margin-top: 0;
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: clamp(340px, 38vh, 440px); /* Increased by 100px on home to show background image and children */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
}

/* Non-Home Page Hero Section (e.g. My Account Dashboard / Subpages) */
.dj-hero-wrapper:has(.dj-subpage-dashboard-wrapper),
body:not(.is-home-page) .dj-hero-wrapper {
  min-height: clamp(340px, 38vh, 440px);
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding-bottom: 0px !important;
}

.dj-hero-wrapper:has(.dj-subpage-dashboard-wrapper) > .dj-container,
body:not(.is-home-page) .dj-hero-wrapper > .dj-container {
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  height: 100% !important;
  padding-bottom: 0px !important;
  margin-bottom: 0px !important;
}

/* Visitor Layout: Centered Top Brand Banner + Side Flank Guruji Medallion */
.dj-hero-visitor-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: clamp(330px, 36vh, 430px);
  gap: 12px;
  position: relative;
}

/* Top Centered Brand Crest Lockup (with 5px gap below top menu bar) */
.dj-hero-banner-centered {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-align: center;
  margin-top: 5px;
}

.dj-hero-centered-crest {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.dj-hero-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.8vw, 22px);
  flex-wrap: nowrap;
}

.dj-hero-emblem-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Larger Dhruva Jnanam Logos Flanking Title */
.dj-hero-inline-logo {
  width: clamp(56px, 6.2vw, 82px);
  height: clamp(56px, 6.2vw, 82px);
  border-radius: 50%;
  background: #FEF3C7;
  border: 3px solid #FBBF24;
  padding: 2.5px;
  object-fit: contain;
  box-shadow: 
    0 8px 24px rgba(180, 83, 9, 0.70), 
    0 0 24px rgba(251, 191, 36, 0.90);
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dj-hero-inline-logo:hover {
  transform: scale(1.08) rotate(3deg);
  box-shadow: 
    0 12px 30px rgba(180, 83, 9, 0.85), 
    0 0 30px rgba(251, 191, 36, 1);
}

/* Bigger Dhruva Jnanam Text Flanked by Logos (No Background Image) */
.dj-hero-title-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  background-image: none !important;
  padding: 0 4px !important;
  min-height: auto !important;
  box-sizing: border-box !important;
  border: none !important;
  box-shadow: none !important;
  width: fit-content;
}

.dj-hero-title-main {
  font-family: var(--font-title) !important;
  font-size: clamp(2.4rem, 4.4vw, 3.8rem) !important;
  font-weight: 900 !important;
  line-height: 0.92 !important;
  letter-spacing: 0.04em !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  text-align: center !important;
  color: #FBBF24 !important;
  -webkit-text-fill-color: #FBBF24 !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.85);
}

/* Standalone Success with Character Tagline (No background, No border, Tight Spacing) */
.dj-hero-tagline-centered {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: clamp(0.78rem, 0.96vw, 0.92rem) !important;
  font-weight: 700 !important;
  font-style: italic !important;
  color: #FDE68A !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  margin-top: -6px !important; /* Eliminates empty space above */
  line-height: 1.0 !important;
  text-align: center !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85) !important;
}

.dj-hero-tagline-centered em {
  font-style: italic !important;
  color: #FDE68A !important;
  text-transform: none !important;
}

/* Lower Deck & Flank Deck: Positioned on side flank to keep children faces 100% visible */
.dj-hero-flank-deck,
.dj-hero-lower-deck {
  position: absolute;
  right: clamp(10px, 2vw, 24px);
  top: 8px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
  margin-top: 0 !important;
  padding: 0 !important;
}

.dj-hero-subtitle-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Individual Row-Level Background for Narrative Text Only (Lighter Harmonized Gradient) */
.dj-hero-subtitle-para {
  font-size: clamp(0.95rem, 1.20vw, 1.06rem);
  line-height: 1.78;
  margin: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.dj-hero-subtitle-inline-text {
  background: linear-gradient(135deg, rgba(30, 10, 4, 0.58) 0%, rgba(55, 18, 6, 0.64) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFBEB;
  padding: 3px 8px;
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.dj-hero-actions-visitor {
  display: none !important;
}

/* My Account Hero Action Buttons */
.dj-btn-work-admin,
.dj-btn-explore-pill {
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%) !important;
  color: #451A03 !important;
  border: 1.5px solid #FFFFFF !important;
  border-radius: var(--radius-pill) !important;
  padding: 6px 18px !important;
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.45) !important;
  transition: all 0.2s ease !important;
  font-family: var(--font-main) !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

.dj-btn-work-admin:hover,
.dj-btn-explore-pill:hover {
  transform: translateY(-2px) !important;
  background: #FFFFFF !important;
  color: #9A3412 !important;
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.6) !important;
}

.dj-btn-signout,
.dj-hero-btn-logout {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%) !important;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(254, 202, 202, 0.8) !important;
  border-radius: var(--radius-pill) !important;
  padding: 6px 18px !important;
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4) !important;
  transition: all 0.2s ease !important;
  font-family: var(--font-main) !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

.dj-btn-signout:hover,
.dj-hero-btn-logout:hover {
  transform: translateY(-2px) !important;
  background: #EF4444 !important;
  color: #FFFFFF !important;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.6) !important;
}

/* Side Flank Guruji Hero Card: Positioned on side to keep children visible */
.dj-hero-guru-card-compact {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  position: relative;
  overflow: visible;
  width: fit-content;
  max-width: 250px;
  height: auto;
  margin: 0 !important;
  box-sizing: border-box;
  text-align: center;
}

/* Circular Cutout Frame with Active Golden Glow */
.dj-guru-portrait-cutout-container {
  width: clamp(96px, 8.5vw, 125px);
  height: clamp(96px, 8.5vw, 125px);
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.72) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 3px solid #FBBF24;
  box-shadow: 
    0 8px 24px rgba(180, 83, 9, 0.70),
    0 0 18px rgba(217, 119, 6, 0.60),
    inset 0 0 12px rgba(146, 64, 14, 0.70),
    inset 0 0 0 2px rgba(180, 83, 9, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  flex-shrink: 0;
}

.dj-guru-portrait-cutout-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: drop-shadow(0 3px 8px rgba(180, 83, 9, 0.45));
  position: relative;
  z-index: 1;
  transform: scale(1.04);
}

.dj-guru-header-info-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.dj-trust-pill-tag-center {
  display: none !important;
}

/* Pill-Shaped Backgrounds for Text */
.dj-guru-full-name-oneline {
  font-family: var(--font-main);
  font-size: clamp(0.74rem, 0.84vw, 0.86rem);
  font-weight: 800;
  color: #FFFFFF;
  white-space: nowrap;
  background: linear-gradient(135deg, rgba(30, 10, 4, 0.75) 0%, rgba(55, 18, 6, 0.80) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.2px solid rgba(251, 191, 36, 0.50);
  border-radius: var(--radius-pill);
  padding: 3px 12px;
  box-shadow: 0 4px 12px rgba(180, 83, 9, 0.30), 0 2px 6px rgba(0, 0, 0, 0.25);
  width: fit-content;
  overflow: visible;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9);
}

/* 2-line Subtext Pill */
.dj-guru-subtext-2lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  background: linear-gradient(135deg, rgba(30, 10, 4, 0.75) 0%, rgba(55, 18, 6, 0.80) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(253, 230, 138, 0.50);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  width: fit-content;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.dj-guru-trust-line {
  font-size: 0.68rem;
  font-weight: 800;
  color: #FDE68A;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
}

.dj-guru-role-line {
  font-size: 0.64rem;
  font-weight: 700;
  color: #FEF3C7;
  font-style: italic;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
}

/* Ethos Quote Pill - Hidden */
.dj-guru-ethos-quote-center {
  display: none !important;
}

.dj-hero-stats-ribbon-center {
  display: none !important;
}

.dj-hero-stat-cell-center { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; }
.dj-hero-stat-num-center { font-family: var(--font-main); font-size: 1.05rem; font-weight: 800; color: #FDE68A; }
.dj-hero-stat-lbl-center { font-size: 0.7rem; color: #FFFBEB; opacity: 0.9; font-weight: 700; text-transform: uppercase; }

/* Second Hero Section (Logged-In User Dashboard / My Account Page - Top & Bottom Split for Children Visibility) */
.dj-subpage-dashboard-wrapper {
  margin-top: 4px;
  padding: 4px 0 0px 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 100% !important;
  flex-grow: 1 !important;
  min-height: clamp(260px, 30vh, 360px);
  box-sizing: border-box;
  position: relative;
  z-index: 10;
}

.dj-dashboard-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  width: 100%;
  z-index: 5;
  margin-bottom: auto;
}

.dj-dashboard-user-greeting {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dj-dashboard-avatar-large {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  max-width: 48px;
  max-height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #FBBF24 0%, #D97706 100%);
  color: #451A03;
  border: 2.5px solid #FFFBEB;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.15rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  box-sizing: border-box;
}

.dj-dashboard-user-text { display: flex; flex-direction: column; line-height: 1.2; gap: 3px; }

/* Portal Workspace Tag with 85% opacity background */
.dj-portal-workspace-tag {
  font-size: 0.72rem;
  color: #FDE68A;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(20, 8, 4, 0.85);
  border: 1px solid rgba(251, 191, 36, 0.45);
  border-radius: var(--radius-pill);
  padding: 2px 10px;
  display: inline-block;
  width: fit-content;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.40);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.80);
}

.dj-dashboard-welcome-name { 
  font-family: var(--font-main); 
  font-size: clamp(1.15rem, 1.6vw, 1.45rem); 
  font-weight: 800; 
  color: #FBBF24;
  margin: 2px 0 0 0;
  line-height: 1.2;
}

.dj-dashboard-welcome-name .dj-welcome-name-text,
.dj-dashboard-welcome-name > span {
  background: rgba(20, 8, 4, 0.85);
  border: 1px solid rgba(251, 191, 36, 0.50);
  border-radius: var(--radius-pill);
  padding: 3px 14px;
  display: inline-block;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.40);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85); 
}

.dj-dashboard-role-badge { align-self: flex-start; background: #DCFCE7; color: #14532D; font-weight: 800; font-size: 0.75rem; padding: 2px 10px; border-radius: var(--radius-pill); margin-top: 2px; }

/* Docked Quick Links Strip along bottom of Hero (Pill-Shaped, immediately above bottom rangoli) */
.dj-subpage-quicklinks-strip {
  background: rgba(35, 12, 4, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(251, 191, 36, 0.55);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  border-radius: var(--radius-pill);
  padding: 6px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  width: 100%;
  box-sizing: border-box;
  margin-top: auto !important;
  margin-bottom: 2px !important; /* Docked right above bottom rangoli */
  position: relative;
  z-index: 5;
}

.dj-subpage-quicklinks-strip::-webkit-scrollbar { display: none; }

.dj-resource-pill-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.5);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #FFFBEB;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  font-family: var(--font-main);
}

.dj-resource-pill-btn:hover {
  background: #FBBF24;
  color: #451A03;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

/* Mobile Quick Links Dropdown */
.dj-mobile-quicklinks-dropdown {
  display: none;
  width: 100%;
  background: rgba(69, 26, 3, 0.75);
  border: 1.5px solid #FBBF24;
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  box-sizing: border-box;
  align-items: center;
  gap: 8px;
}

.dj-mobile-quicklinks-select {
  width: 100%;
  background: transparent;
  border: none;
  color: #FFFBEB;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-main);
  outline: none;
  cursor: pointer;
}

.dj-mobile-quicklinks-select option {
  background: #7C2D12;
  color: #FFFBEB;
}

/* ==========================================================================
   WORK ADMIN MEGA-DRAWER / MODAL SUITE
   ========================================================================== */
.dj-admin-drawer-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(45, 15, 3, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.dj-admin-drawer-modal-backdrop.open {
  display: flex;
  animation: fadeInModal 0.25s ease forwards;
}

@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.dj-admin-mega-card {
  width: 100%;
  max-width: 1100px;
  max-height: 88vh;
  background: linear-gradient(145deg, #7C2D12 0%, #451A03 100%);
  border: 2px solid #FBBF24;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
  box-sizing: border-box;
  color: #FFFBEB;
}

.dj-admin-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1.5px solid rgba(251, 191, 36, 0.35);
  padding-bottom: 14px;
}

.dj-admin-modal-title {
  font-family: var(--font-main);
  font-size: 1.45rem;
  font-weight: 800;
  color: #FDE68A;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dj-admin-modal-close-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.5);
  color: #FFFBEB;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  font-family: var(--font-main);
}

.dj-admin-modal-close-btn:hover {
  background: #EF4444;
  border-color: #EF4444;
}

.dj-admin-kahoot-banner {
  background: linear-gradient(135deg, #FBBF24 0%, #D97706 100%);
  color: #451A03;
  border: 2px solid #FFFBEB;
  padding: 14px 22px;
  border-radius: 16px;
  font-size: 1.12rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

.dj-admin-kahoot-banner:hover {
  background: #FFFFFF;
  color: #9A3412;
}

.dj-admin-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.dj-admin-category-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dj-admin-cat-heading {
  font-size: 0.94rem;
  font-weight: 800;
  color: #FDE68A;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(251, 191, 36, 0.2);
  padding-bottom: 6px;
}

.dj-admin-link-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dj-admin-action-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(253, 230, 138, 0.18);
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #FEF3C7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dj-admin-action-item:hover {
  background: rgba(251, 191, 36, 0.25);
  color: #FFFFFF;
  transform: translateX(3px);
  border-color: #FBBF24;
}

/* ==========================================================================
   LOWER CONTENT REGION, HIGHLIGHTS, 3-COL VIDEO & 16 PILLARS
   ========================================================================== */
.dj-lower-region {
  padding: 30px 0 80px 0;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.12) 0%, rgba(254, 243, 199, 0.4) 35px, var(--warm-bg-base) 80px);
  width: 100%;
}

/* ==========================================================================
   ABOUT DHRUVA JNANAM INTRODUCTORY BANNER (BELOW HERO)
   ========================================================================== */
.dj-about-intro-section {
  margin-bottom: 32px;
  width: 100%;
}

.dj-about-intro-card {
  background: linear-gradient(135deg, #FFFDF8 0%, #FEF9EE 60%, #FEF3C7 100%);
  border: 2px solid #FDE68A;
  border-radius: var(--radius-card);
  padding: clamp(24px, 2.5vw, 36px);
  box-shadow: 0 10px 30px rgba(180, 83, 9, 0.10);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.dj-about-intro-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, #D97706 0%, #B45309 100%);
}

.dj-about-intro-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dj-about-badge {
  background: #7C2D12;
  color: #FDE68A;
  font-size: 0.80rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dj-about-title {
  font-family: var(--font-main);
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  font-weight: 800;
  color: #7C2D12;
  margin: 0;
  line-height: 1.25;
}

.dj-about-blessing-subtitle {
  font-size: 0.95rem;
  color: #92400E;
  margin: 0;
  font-weight: 600;
}

.dj-about-intro-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #451A03;
  line-height: 1.72;
  font-size: clamp(0.96rem, 1.15vw, 1.05rem);
}

.dj-about-lead-para {
  margin: 0;
  font-weight: 500;
}

.dj-about-secondary-para {
  margin: 0;
  font-weight: 500;
}

.dj-about-secondary-para em {
  font-weight: 700;
  color: #B45309;
}

.dj-about-highlights-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 6px;
}

.dj-about-pill-item {
  background: #FFFFFF;
  border: 1.5px solid #FCD34D;
  color: #78350F;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(180, 83, 9, 0.08);
}

.dj-about-pill-item i {
  color: #D97706;
}

/* 16:9 Video Presentation Section with Flanking Feature Cards */
.dj-video-section {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF7ED 100%);
  border: 2px solid #FDE68A;
  border-radius: var(--radius-card);
  padding: 18px 24px 22px 24px;
  box-shadow: 0 12px 32px rgba(180, 83, 9, 0.12);
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.dj-video-header-wide {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  border-bottom: 1.5px solid rgba(217, 119, 6, 0.20);
  padding-bottom: 12px;
}

.dj-video-header-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 auto;
}

.dj-video-header-right {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 540px;
  text-align: right;
  align-items: flex-end;
}

.dj-video-header-meta-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.dj-video-meta-chip {
  background: rgba(124, 45, 18, 0.08);
  color: #7C2D12;
  border: 1px solid rgba(217, 119, 6, 0.25);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.dj-video-meta-chip i {
  color: #D97706;
}

.dj-video-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  border-bottom: 1.5px solid rgba(217, 119, 6, 0.20);
  padding-bottom: 10px;
  margin: 0;
}

.dj-video-badge {
  background: #7C2D12;
  color: #FDE68A;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 3px 14px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  line-height: 1.2;
}

.dj-video-title {
  font-family: var(--font-main);
  font-size: clamp(1.3rem, 2.3vw, 1.8rem);
  font-weight: 800;
  color: #7C2D12;
  margin: 0;
  line-height: 1.2;
}

.dj-video-desc {
  font-size: 1.02rem;
  color: #78350F;
  max-width: 720px;
  line-height: 1.6;
}

/* 3-Column Balanced Layout for Video Showcase */
.dj-video-presentation-grid {
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1.4fr) minmax(240px, 280px);
  gap: 22px;
  align-items: stretch;
  width: 100%;
  margin-top: 12px;
}

.dj-video-center-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  width: 100%;
}

.dj-video-side-card {
  background: #FFFFFF;
  border: 1.5px solid #FDE68A;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(180, 83, 9, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}

.dj-video-card-header {
  font-family: var(--font-main);
  font-size: 1.1rem;
  font-weight: 800;
  color: #7C2D12;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1.5px solid #FDE68A;
  padding-bottom: 8px;
}

.dj-video-card-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dj-video-card-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.dj-video-item-bullet {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #FEF3C7;
  color: #9A3412;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.dj-video-card-item strong {
  display: block;
  font-size: 0.94rem;
  color: #7C2D12;
  line-height: 1.3;
  margin-bottom: 2px;
}

.dj-video-card-item p {
  font-size: 0.84rem;
  color: #78350F;
  line-height: 1.5;
  margin: 0;
}

.dj-video-responsive-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(124, 45, 18, 0.25);
  border: 3px solid #F59E0B;
  background: #1C1917;
}

.dj-video-responsive-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.dj-video-fallback-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #92400E;
  font-weight: 600;
  margin-top: 4px;
}

.dj-video-fallback-bar a {
  color: #C2410C;
  font-weight: 800;
  text-decoration: underline;
}

/* Highlights Grid (Quote + Announcements) */
.dj-highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 36px;
}

.dj-quote-card {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 2px solid #F59E0B;
  border-radius: var(--radius-card);
  padding: 26px;
  box-shadow: 0 8px 24px rgba(180, 83, 9, 0.12);
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: space-between;
}

.dj-quote-badge {
  align-self: flex-start;
  background: #7C2D12;
  color: #FDE68A;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
}

.dj-quote-english {
  font-size: 1.15rem;
  font-style: italic;
  color: #451A03;
  line-height: 1.7;
  border-left: 4px solid #D97706;
  padding-left: 16px;
}

.dj-quote-author {
  font-size: 0.9rem;
  font-weight: 700;
  color: #451A03;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dj-announcements-card {
  background: linear-gradient(135deg, #FFF7ED 0%, #FEF3C7 100%);
  border: 2px solid #F59E0B;
  border-radius: var(--radius-card);
  padding: 26px;
  box-shadow: 0 8px 24px rgba(180, 83, 9, 0.12);
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: space-between;
}

.dj-announcement-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dj-announcement-title {
  font-family: var(--font-main);
  font-size: 1.25rem;
  font-weight: 800;
  color: #7C2D12;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Automatic Announcements Carousel */
.dj-announcements-carousel-wrapper {
  position: relative;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 6px;
}

.dj-announcement-slide {
  display: none;
  opacity: 0;
  flex-direction: column;
  gap: 12px;
}

.dj-announcement-slide.active {
  display: flex;
  opacity: 1;
  animation: fadeInSlide 0.35s ease forwards;
}

@keyframes fadeInSlide {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.dj-announcement-slide-body {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #FFFFFF;
  border: 1.5px solid #FDE68A;
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(180, 83, 9, 0.06);
}

.dj-slide-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #FEF3C7;
  color: #D97706;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.2);
}

.dj-slide-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dj-slide-title {
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 800;
  color: #7C2D12;
}

.dj-slide-desc {
  font-size: 0.92rem;
  color: #78350F;
  line-height: 1.55;
}

.dj-slide-action {
  display: flex;
  justify-content: flex-end;
}

.dj-carousel-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(245, 158, 11, 0.35);
  margin-top: 10px;
}

.dj-carousel-nav-btn {
  background: #FFFFFF;
  border: 1px solid #FDE68A;
  color: #7C2D12;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dj-carousel-nav-btn:hover {
  background: #FBBF24;
  color: #451A03;
  border-color: #FBBF24;
}

.dj-carousel-playpause-btn {
  background: #FFFFFF;
  border: 1px solid #FDE68A;
  color: #7C2D12;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-main);
}

.dj-carousel-playpause-btn:hover {
  background: #FBBF24;
  color: #451A03;
  border-color: #FBBF24;
}

.dj-carousel-playpause-btn.is-paused {
  background: #FEF3C7;
  color: #D97706;
  border-color: #D97706;
}

.dj-carousel-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dj-carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #FDE68A;
  cursor: pointer;
  transition: all 0.25s ease;
}

.dj-carousel-dot.active {
  background: #D97706;
  width: 22px;
  border-radius: 999px;
}

/* What We Learn Section */
.dj-learn-section {
  margin-bottom: 44px;
}

.dj-learn-intro-banner {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 1.5px solid #FDE68A;
  border-left: 5px solid #D97706;
  border-radius: var(--radius-card);
  padding: 18px 24px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 4px 16px rgba(180, 83, 9, 0.08);
}

.dj-learn-intro-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #7C2D12;
  color: #FDE68A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(124, 45, 18, 0.25);
}

.dj-learn-intro-content {
  flex: 1 1 auto;
}

.dj-learn-intro-text {
  font-size: 1.05rem;
  color: #451A03;
  line-height: 1.65;
  margin: 0;
}

.dj-learn-highlight {
  font-weight: 800;
  color: #9A3412;
}

.dj-gold-text {
  color: #9A3412;
  font-weight: 800;
}

.dj-learn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}

.dj-learn-card {
  background: #FFFFFF;
  border: 1.5px solid #FDE68A;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(180, 83, 9, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.25s ease;
}

.dj-learn-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(180, 83, 9, 0.16);
  border-color: #F59E0B;
}

.dj-learn-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dj-learn-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #FEF3C7 0%, #FBBF24 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #7C2D12;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
  flex-shrink: 0;
}

.dj-learn-num-badge {
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 800;
  color: #7C2D12;
  background: #FFFBEB;
  border: 1.5px solid #FDE68A;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
}

.dj-learn-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
}

.dj-learn-card-title {
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 800;
  color: #7C2D12;
  margin: 0;
  line-height: 1.3;
}

.dj-learn-card-desc {
  font-size: 0.93rem;
  color: #78350F;
  line-height: 1.65;
  margin: 0;
}

/* 16 Pillars Grid */
.dj-focus-section { margin-bottom: 40px; }
.dj-section-title-wrap { text-align: center; margin-bottom: 28px; }
.dj-section-badge { background: rgba(217, 119, 6, 0.15); border: 1px solid #F59E0B; color: #9A3412; padding: 5px 18px; border-radius: var(--radius-pill); font-size: 0.86rem; font-weight: 800; text-transform: uppercase; display: inline-block; margin-bottom: 8px; }
.dj-section-main-title { font-family: var(--font-main); font-size: clamp(2.0rem, 3.2vw, 2.7rem); font-weight: 800; color: #7C2D12; }

.dj-focus-grid-16 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.dj-focus-card-16 {
  background: #FFFFFF;
  border: 1.5px solid #FDE68A;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(180, 83, 9, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.25s ease;
}

.dj-focus-card-16:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(180, 83, 9, 0.16);
  border-color: #F59E0B;
}

.dj-focus-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dj-focus-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #FEF3C7 0%, #FBBF24 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #7C2D12;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
  flex-shrink: 0;
}

.dj-focus-num-badge {
  margin-left: auto;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 800;
  color: #D97706;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.dj-focus-card-title {
  font-family: var(--font-main);
  font-size: 1.18rem;
  font-weight: 800;
  color: #7C2D12;
  line-height: 1.25;
}

.dj-focus-card-desc-list {
  font-size: 0.92rem;
  color: #78350F;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dj-focus-bullet {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.dj-focus-bullet::before {
  content: "•";
  color: #D97706;
  font-weight: 800;
}

/* ==========================================================================
   6-YEAR COURSE COMPLETION DIGITAL BADGE SHOWCASE & COMPONENT
   ========================================================================== */
.home-badge-showcase {
  clear: both;
  position: relative;
  margin: 36px 0 24px 0;
  padding: 32px;
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, #FFFFFF 0%, #FFFBEB 50%, #FEF3C7 100%);
  border: 2px solid #FDE68A;
  box-shadow: 0 16px 36px rgba(124, 45, 18, 0.1);
  overflow: hidden;
  box-sizing: border-box;
}

.home-badge-showcase-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: center;
}

.home-badge-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.home-badge-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 5px 18px;
  border-radius: var(--radius-pill);
  background: rgba(124, 45, 18, 0.1);
  border: 1px solid rgba(124, 45, 18, 0.2);
  color: #7C2D12;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

/* Master Badge Container & Layers */
.course-complete-badge,
.achievement-course-badge-root,
.home-course-completion-badge {
  position: relative !important;
  width: 240px !important;
  max-width: 240px !important;
  height: 240px !important;
  max-height: 240px !important;
  aspect-ratio: 1 / 1 !important;
  margin: 8px auto !important;
  display: block !important;
  filter: drop-shadow(0 12px 24px rgba(124, 45, 18, 0.25));
  isolation: isolate;
  box-sizing: border-box;
}

.course-complete-badge-band {
  position: absolute !important;
  inset: 8px !important;
  border-radius: 50% !important;
  background: #FFFFFF !important;
  box-shadow: inset 0 0 0 14px #FFFBEB, 0 6px 16px rgba(124, 45, 18, 0.12) !important;
  z-index: 0 !important;
}

.course-complete-badge-disc {
  position: absolute !important;
  inset: 34px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle at 50% 38%, #FFFFFF 0%, #FEF3C7 45%, #FDE68A 75%, #FBBF24 100%) !important;
  box-shadow: inset 0 6px 14px rgba(255, 255, 255, 0.75) !important;
  z-index: 0 !important;
}

.course-complete-badge-svg {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 240px !important;
  max-height: 240px !important;
  z-index: 1 !important;
  pointer-events: none;
  display: block !important;
}

.course-complete-badge-outline {
  fill: transparent !important;
  stroke: #F59E0B !important;
  stroke-width: 4 !important;
}

.course-complete-badge-text-band {
  fill: none !important;
  stroke: rgba(254, 243, 199, 0.95) !important;
  stroke-width: 22 !important;
}

.course-complete-badge-middle-band {
  fill: none !important;
  stroke: #7C2D12 !important;
  stroke-width: 22 !important;
}

.course-complete-badge-text {
  fill: #7C2D12 !important;
  font-family: var(--font-main) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-complete-badge-core {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 2 !important;
  width: 116px !important;
  height: 116px !important;
  border-radius: 50% !important;
  padding: 4px !important;
  background: #FFFFFF !important;
  border: 3px solid #FBBF24 !important;
  box-shadow: 0 6px 16px rgba(124, 45, 18, 0.22), inset 0 0 10px rgba(251, 191, 36, 0.35) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.course-complete-badge-core img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  border-radius: 50% !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 !important;
}

/* Global Forms & Input Styling */
.dj-portal-auth-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.dj-auth-card { background: #FFFFFF; border: 2px solid #FDE68A; border-radius: var(--radius-card); padding: 28px; box-shadow: 0 10px 30px rgba(180, 83, 9, 0.12); display: flex; flex-direction: column; gap: 18px; }
.dj-auth-header { display: flex; flex-direction: column; gap: 4px; }
.dj-auth-badge { align-self: flex-start; background: #FEF3C7; color: #9A3412; font-weight: 800; font-size: 0.8rem; padding: 4px 14px; border-radius: var(--radius-pill); border: 1px solid #F59E0B; }
.dj-auth-title { font-family: var(--font-main); font-size: 1.5rem; font-weight: 800; color: #7C2D12; }
.dj-form-group { display: flex; flex-direction: column; gap: 6px; }
.dj-form-label { font-size: 0.92rem; font-weight: 700; color: #451A03; }
.dj-form-input, .dj-form-select { padding: 13px 18px; border: 1.5px solid #FDE68A; border-radius: 12px; font-size: 0.98rem; background: #FFFBEB; color: #451A03; outline: none; font-family: var(--font-main); }
.dj-form-input:focus, .dj-form-select:focus { border-color: #D97706; background: #FFFFFF; box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25); }
.dj-btn-auth-primary { background: linear-gradient(135deg, #FBBF24 0%, #D97706 100%); color: #451A03; border: none; padding: 13px 26px; border-radius: var(--radius-pill); font-size: 1.02rem; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-main); }
.dj-btn-auth-primary:hover { background: #FFFFFF; color: #9A3412; box-shadow: 0 6px 18px rgba(245, 158, 11, 0.4); }

/* ==========================================================================
   UNIVERSAL MODAL OVERLAYS (STRICTLY HIDDEN BY DEFAULT, RESPONSIVE OVERLAYS)
   ========================================================================== */
.modal,
.dj-image-modal,
.warm-modal-overlay,
#djWarmAnnouncementModal,
#djSessionTimeoutModal,
#myModal,
.cert-modal-overlay,
.expanded-menu-overlay,
.expanded-menu-panel {
  display: none;
}

.modal,
.dj-image-modal,
.warm-modal-overlay,
#djWarmAnnouncementModal,
#djSessionTimeoutModal,
#myModal,
.cert-modal-overlay {
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(45, 15, 3, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.modal.open,
.warm-modal-overlay.open,
#djWarmAnnouncementModal.open,
#djSessionTimeoutModal.open,
#myModal.open,
.cert-modal-overlay.open {
  display: flex !important;
}

.warm-modal-container {
  background: #FFFBEB;
  border: 2px solid #FBBF24;
  border-radius: var(--radius-card);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  padding: 24px;
  box-sizing: border-box;
  animation: fadeInModal 0.25s ease forwards;
}

.warm-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(124, 45, 18, 0.1);
  border: none;
  color: #7C2D12;
  font-size: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.warm-modal-close:hover {
  background: #EF4444;
  color: #FFFFFF;
}

.warm-header-decoration {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.warm-header-title {
  font-family: var(--font-main);
  font-size: 1.45rem;
  font-weight: 900;
  color: #7C2D12;
}

.warm-header-subtitle {
  font-size: 0.92rem;
  color: #92400E;
  font-weight: 600;
  margin-top: 2px;
}

.warm-intro-card {
  background: #FFFFFF;
  border: 1.5px solid #FDE68A;
  border-radius: 16px;
  padding: 18px;
  margin: 16px 0;
  font-size: 0.96rem;
  color: #451A03;
  line-height: 1.65;
}

.warm-highlight-badge {
  background: #DCFCE7;
  color: #14532D;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 6px;
}

.warm-info-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.warm-info-card {
  background: #FFFFFF;
  border: 1.5px solid #FDE68A;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.warm-card-icon {
  font-size: 1.5rem;
}

.warm-card-label {
  font-size: 0.78rem;
  color: #92400E;
  font-weight: 700;
  text-transform: uppercase;
}

.warm-card-value {
  font-size: 0.95rem;
  color: #7C2D12;
  font-weight: 800;
}

.warm-footer-closing {
  font-size: 0.92rem;
  color: #78350F;
  text-align: center;
  line-height: 1.55;
  margin-bottom: 16px;
}

.warm-closing-thanks {
  font-weight: 800;
  color: #7C2D12;
  margin-top: 6px;
}

.warm-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #FDE68A;
  padding-top: 14px;
}

.warm-suppress-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #78350F;
  cursor: pointer;
}

.warm-modal-dismiss-btn {
  background: linear-gradient(135deg, #FBBF24 0%, #D97706 100%);
  color: #451A03;
  border: none;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
}

/* ==========================================================================
   MOBILE FLOATING APP BAR — STRICTLY HIDDEN ON DESKTOP
   ========================================================================== */
.dj-mobile-bottom-appbar,
.mobile-bottom-bar {
  display: none !important;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(69, 26, 3, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(251, 191, 36, 0.4);
  padding: 8px 12px;
  z-index: 990;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
  justify-content: space-around;
  align-items: center;
}

.dj-appbar-item,
.bottom-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #FEF3C7;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 12px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.dj-appbar-item i,
.bottom-bar-item i { font-size: 1.15rem; }
.dj-appbar-item.active, .dj-appbar-item:hover,
.bottom-bar-item.active, .bottom-bar-item:hover { color: #FBBF24; }

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (TABLETS / IPAD 769px-1100px, MOBILE <768px)
   ========================================================================== */
@media (max-width: 1024px) {
  .dj-video-presentation-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  /* Hide duplicate red sign out button from hero workspace in non-desktop views */
  .dj-hero-btn-logout,
  #btnLogOut.dj-hero-btn-logout {
    display: none !important;
  }
}

/* Intermediate Laptop Displays (1101px - 1320px) - Ensures 7 items never crowd bookends */
@media (max-width: 1320px) and (min-width: 1101px) {
  .dj-navbar {
    padding: 7px 14px;
    gap: 12px;
    min-height: 76px;
  }
  .dj-brand-title {
    font-size: 1.15rem;
  }
  .dj-brand-tagline {
    font-size: 0.65rem;
  }
  .dj-nav-menu {
    gap: 3px !important;
  }
  .dj-nav-link {
    padding: 5px 8px;
    font-size: 0.81rem;
    gap: 4px;
  }
  .dj-brand-logo-img,
  .dj-nav-guru-avatar-container {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    max-width: 56px;
    max-height: 56px;
  }
}

/* Tablet & iPad Landscape/Portrait (769px - 1100px) */
@media (max-width: 1100px) and (min-width: 769px) {
  .dj-navbar-wrapper:not(.is-floating) .dj-floating-only,
  .dj-navbar:not(.is-floating) .dj-floating-only,
  .dj-navbar-wrapper:not(.is-floating) .dj-brand-text,
  .dj-navbar-wrapper:not(.is-floating) .dj-nav-bottom-row {
    display: none !important;
  }
  .dj-hero-inst-org {
    font-size: clamp(1.0rem, 1.5vw, 1.35rem) !important;
  }
  .dj-hero-title-main {
    font-size: clamp(2.0rem, 3.8vw, 3.2rem) !important;
  }
  .dj-standalone-menu-bar .dj-nav-link {
    padding: 4px 8px !important;
    font-size: 0.82rem !important;
  }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  body { padding-bottom: 64px; }
  .dj-container { padding: 0 12px; }
  
  /* Push default top bar in mobile flush to the top (0px) */
  .dj-upper-region {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  .dj-top-rangoli-strip,
  .dj-upper-region > .dj-rangoli-sine-strip:first-of-type,
  .dj-hero-institutional-ribbon-wrap {
    display: none !important;
  }

  /* Single Unified Top Bar for Mobile: Stretched End-to-End without rounded corners starting flush at top */
  .dj-navbar-wrapper {
    padding: 0 !important;
    margin: 0 !important;
    top: 0 !important;
    position: relative !important;
  }
  .dj-navbar-wrapper .dj-container {
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    position: relative !important;
  }

  /* Right-side vertically centered toggle button in mobile view */
  .dj-topbar-design-toggle-wrap {
    top: 50% !important;
    bottom: auto !important;
    right: 6px !important;
    transform: translateY(-50%) !important;
    z-index: 60 !important;
  }

  .dj-topbar-toggle-btn {
    padding: 3px 7px !important;
    font-size: 0.60rem !important;
    border-radius: var(--radius-pill) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.60) !important;
    background: rgba(20, 8, 4, 0.85) !important;
    border: 1px solid rgba(251, 191, 36, 0.65) !important;
  }

  .dj-nav-top-row,
  body.is-home-page .dj-navbar-wrapper .dj-nav-top-row,
  body.is-home-page .dj-navbar-wrapper:not(.is-floating) .dj-nav-top-row,
  .is-home-page .dj-navbar-wrapper:not(.is-floating) .dj-nav-top-row {
    display: flex !important;
  }

  .dj-navbar { 
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
    width: 100% !important;
    padding: 10px 14px !important; 
    min-height: auto !important; 
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: rgba(20, 8, 4, 0.80) !important;
    opacity: 0.80 !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-top: 1.5px solid rgba(251, 191, 36, 0.55) !important;
    border-bottom: 1.5px solid rgba(251, 191, 36, 0.55) !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45), 0 0 16px rgba(251, 191, 36, 0.15) !important;
  }

  /* 3-Image Top Row in Static Mobile View */
  .dj-nav-mobile-trio-logos {
    display: none !important;
  }

  .dj-nav-top-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 2px 0 2px 0 !important;
  }

  .dj-nav-lineage-straight-row {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 2px 2px !important;
    gap: 6px !important; /* Logos and Trust Title in straight row on mobile */
  }

  .dj-head-flank-anchor {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }

  .dj-head-flank-img {
    width: clamp(28px, 7.2vw, 34px) !important;
    height: clamp(28px, 7.2vw, 34px) !important;
    border-radius: 50% !important;
    border: 1.5px solid rgba(251, 191, 36, 0.75) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.50) !important;
  }

  .dj-nav-inst-sub-lines {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1px !important;
    width: 100% !important;
    margin-top: -6px !important; /* Sits snugly right underneath Trust title on mobile */
    position: relative !important;
    z-index: 5 !important;
  }

  .dj-nav-inst-row2 {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }

  .dj-nav-inst-row3 {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin-top: 1px !important;
  }

  /* Increased font size of Rushipeetham Charitable Trust (Regd) on mobile */
  .dj-hero-inst-org {
    font-size: clamp(0.74rem, 3.2vw, 0.96rem) !important;
    white-space: nowrap !important;
    text-align: center !important;
    line-height: 1.15 !important;
    letter-spacing: 0.03em !important;
    font-weight: 900 !important;
    color: #FDE68A !important;
  }

  .dj-hero-inst-motto {
    font-size: clamp(0.54rem, 2.2vw, 0.68rem) !important;
    white-space: nowrap !important;
    text-align: center !important;
    line-height: 1.15 !important;
    color: #FFFBEB !important;
  }

  .dj-hero-inst-wing-pill {
    font-size: clamp(0.58rem, 2.4vw, 0.70rem) !important;
    padding: 1px 10px !important;
    margin-top: 1px !important;
  }

  /* Tier 2 Brand Crest in mobile view (Single Centered Lotus Emblem above Majestic Title) */
  .dj-nav-brand-crest-row {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 2px 0 2px 0 !important;
    margin-top: 1px !important;
  }

  .dj-nav-brand-crest-row .dj-hero-centered-crest {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
  }

  .dj-nav-brand-crest-row .dj-hero-title-row {
    display: flex !important;
    flex-direction: column !important; /* Stack single lotus logo cleanly above title */
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
  }

  /* Single centered lotus emblem shown on mobile */
  .dj-nav-brand-crest-row .dj-emblem-left {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 2px !important;
  }

  .dj-nav-brand-crest-row .dj-emblem-right {
    display: none !important; /* Hide duplicate right emblem on mobile */
  }

  .dj-nav-brand-crest-row .dj-hero-inline-logo {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #FEF3C7 !important;
    border: 1.5px solid #FBBF24 !important;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.70) !important;
  }

  .dj-nav-brand-crest-row .dj-hero-title-main {
    font-size: clamp(1.55rem, 6.2vw, 2.05rem) !important;
    line-height: 0.95 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #FBBF24 !important;
    letter-spacing: 0.04em !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85) !important;
  }

  .dj-nav-brand-crest-row .dj-hero-title-pill {
    min-height: auto !important;
    padding: 0 2px !important;
  }

  .dj-nav-brand-crest-row .dj-hero-tagline-centered {
    font-size: clamp(0.66rem, 2.6vw, 0.78rem) !important;
    margin-top: 1px !important;
    color: #FDE68A !important;
    padding: 0 !important;
    letter-spacing: 0.02em !important;
    font-style: italic !important;
  }

  /* In mobile view, hide floating menu items, duplicate brand text, and floating navbar */
  .dj-floating-only,
  .dj-navbar-wrapper:not(.is-floating) .dj-floating-only,
  .dj-navbar:not(.is-floating) .dj-floating-only,
  .dj-navbar-wrapper:not(.is-floating) .dj-brand-text,
  .dj-navbar-wrapper:not(.is-floating) .dj-nav-bottom-row,
  .dj-navbar-wrapper.is-floating {
    display: none !important;
  }

  .dj-standalone-menu-bar {
    display: none !important;
  }

  /* Hide desktop horizontal menu links on mobile (handled by bottom bar / drawer) */
  .dj-nav-menu { display: none !important; }

  .dj-hero-wrapper { padding: 14px 0 16px 0; }
  
  .dj-subpage-quicklinks-strip { display: none !important; }
  .dj-mobile-quicklinks-dropdown { display: flex !important; }

  /* Show mobile bottom app bar on mobile */
  .dj-mobile-bottom-appbar,
  .mobile-bottom-bar { display: flex !important; }

  /* Mobile Drawer Menu Panel */
  .expanded-menu-overlay.active {
    display: block !important;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 9998;
  }

  .expanded-menu-panel.active {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 80vh;
    background: #FFFBEB;
    border-top: 3px solid #FBBF24;
    border-radius: 24px 24px 0 0;
    z-index: 9999;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.35);
  }

  .expanded-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid #FDE68A;
  }

  .close-expanded-menu {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #7C2D12;
    cursor: pointer;
  }

  .expanded-menu-content {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 12px 0 24px 0;
  }

  .mobile-menu-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .mobile-menu-section-title {
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9A3412;
    border-bottom: 1px solid #FDE68A;
    padding-bottom: 4px;
    margin-bottom: 2px;
  }

  .mobile-menu-item {
    background: #FFFFFF;
    border: 1px solid #FDE68A;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #7C2D12;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
  }

  .mobile-menu-item:hover, .mobile-menu-item:active {
    background: #FEF3C7;
    border-color: #F59E0B;
  }

  .dj-hero-institutional-heading { 
    display: none !important;
  }
  /* Mobile Hero: Keep background image of praying children 100% visible and unobstructed */
  .dj-hero-banner-centered {
    display: none !important;
  }
  .dj-hero-flank-deck,
  .dj-hero-lower-deck {
    display: none !important;
  }
  .dj-hero-wrapper {
    min-height: clamp(320px, 48vh, 440px) !important;
    padding: 0 0 16px 0 !important;
    justify-content: flex-start !important;
  }
  .dj-hero-visitor-layout {
    min-height: clamp(320px, 48vh, 440px) !important;
    gap: 0 !important;
    width: 100% !important;
  }
  
  .dj-about-intro-card {
    padding: 20px 16px !important;
  }
  .dj-about-title {
    font-size: 1.3rem !important;
  }
  .dj-about-highlights-strip {
    gap: 8px !important;
  }
  .dj-about-pill-item {
    font-size: 0.76rem !important;
    padding: 4px 12px !important;
  }
  
  .dj-video-header-wide {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    text-align: left !important;
  }
  .dj-video-header-right {
    text-align: left !important;
    align-items: flex-start !important;
    max-width: 100% !important;
  }
  .dj-video-header-meta-chips {
    justify-content: flex-start !important;
  }
  
  .dj-hero-actions-visitor { display: none; }
  
  .dj-hero-guru-card-compact { 
    height: auto; 
    max-width: 100%; 
    padding: 0 !important; 
    margin-top: 4px; 
    opacity: 1 !important;
  }
  .dj-guru-full-name-oneline { 
    font-size: 0.76rem !important; 
    padding: 2px 10px !important;
  }
  .dj-guru-subtext-2lines { 
    padding: 2px 8px !important; 
  }
  .dj-guru-trust-line { font-size: 0.64rem !important; }
  .dj-guru-role-line { font-size: 0.60rem !important; }
  .dj-guru-ethos-quote-center { 
    display: none !important;
  }
  
  .dj-highlights-grid { grid-template-columns: 1fr; gap: 16px; }
  .dj-learn-grid { grid-template-columns: 1fr; }
  .dj-learn-intro-banner { flex-direction: column; text-align: center; gap: 12px; }
  .dj-focus-grid-16 { grid-template-columns: 1fr; }
  .dj-subpage-dashboard-wrapper {
    margin-top: 6px !important;
    padding-top: 0 !important;
    gap: 8px !important;
    min-height: clamp(280px, 36vh, 360px) !important;
  }
  .dj-subpage-dashboard-wrapper .dj-btn-signout,
  .dj-subpage-dashboard-wrapper #btnLogOut,
  .dj-subpage-dashboard-wrapper .dj-btn-work-admin {
    display: none !important;
  }
  .dj-dashboard-top-row { flex-direction: column; align-items: stretch; gap: 6px; }
  .dj-dashboard-user-greeting { 
    display: flex !important; 
    align-items: center !important; 
    gap: 10px !important; 
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  .dj-portal-workspace-tag {
    font-size: 0.70rem !important;
    background: rgba(20, 8, 4, 0.80) !important;
    border: 1px solid rgba(251, 191, 36, 0.45) !important;
    border-radius: var(--radius-pill) !important;
    padding: 2px 10px !important;
    display: inline-block !important;
    width: fit-content !important;
  }
  .dj-dashboard-avatar-large { 
    width: 44px; 
    height: 44px; 
    min-width: 44px; 
    min-height: 44px; 
    max-width: 44px; 
    max-height: 44px; 
    flex-shrink: 0 !important; 
    aspect-ratio: 1 / 1 !important; 
    border-radius: 50% !important; 
    font-size: 1.1rem;
  }
  .dj-dashboard-welcome-name { 
    font-size: 0.95rem !important; 
    word-break: break-word !important; 
    color: #FBBF24 !important; 
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    line-height: 1.2 !important;
  }
  .dj-dashboard-welcome-name .dj-welcome-name-text,
  .dj-dashboard-welcome-name > span {
    background: rgba(20, 8, 4, 0.80) !important;
    border: 1px solid rgba(251, 191, 36, 0.50) !important;
    border-radius: var(--radius-pill) !important;
    padding: 3px 12px !important;
    display: inline-block !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.40) !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85) !important;
    font-size: 0.95rem !important;
  }
  .dj-dashboard-role-badge {
    font-size: 0.72rem !important;
    padding: 2px 10px !important;
  }
  .home-badge-showcase-grid { grid-template-columns: 1fr; text-align: center; }
  .warm-info-cards-grid { grid-template-columns: 1fr; }
}
