/* 
   WE-GYAAN CLASSES - Exact 1:1 Design Replica of Full-Length Image & Ultra-Premium Footer
*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700;800&family=Montserrat:wght@700;800;900&display=swap');

:root {
  --bg-body: #ffffff;
  --bg-light-blue: #f0f7ff;
  --bg-slate: #f8fafc;
  
  --color-green: #00a86b;
  --color-green-hover: #008756;
  
  --color-blue: #007bff;
  --color-blue-hover: #0056b3;
  
  --color-yellow: #ffc107;
  --color-yellow-dark: #e0a800;
  
  --color-red: #e63946;
  --color-red-hover: #c82333;

  --text-dark: #111827;
  --text-body: #374151;
  --text-muted: #6b7280;
  --border-subtle: #e5e7eb;

  --radius-sm: 8px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 50px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .display-font {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--text-dark);
}

/* Top Bar */
.top-bar {
  background: #ffffff;
  color: var(--text-body);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.top-bar a {
  color: var(--color-blue);
  text-decoration: none;
  font-weight: 600;
}

/* Header Navbar */
.header-nav {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-atom-logo {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--color-blue), var(--color-green));
  color: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 168, 107, 0.3);
}
.brand-title-main {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--text-dark);
  line-height: 1.1;
  text-transform: uppercase;
}
.brand-title-main span {
  color: var(--color-green);
}
.brand-subtitle-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-link {
  color: var(--text-dark) !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 8px 12px !important;
  transition: all 0.2s ease;
}
.nav-link:hover, .nav-link.active {
  color: var(--color-red) !important;
  border-bottom: 2px solid var(--color-red);
}

.btn-header-green {
  background: var(--color-green);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 168, 107, 0.35);
  transition: all 0.3s ease;
}
.btn-header-green:hover {
  background: var(--color-green-hover);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Hero Section with Background Image */
.hero-replica-section {
  position: relative;
  min-height: 620px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(9, 13, 22, 0.82) 100%), url('../images/classroom_learning.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 90px 0 100px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-replica-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #007bff, #00a86b, #ffc107, #e63946);
  z-index: 10;
}

.hero-content-left {
  position: relative;
  z-index: 2;
}
.hero-heading-caps {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  line-height: 1.15;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
}

.hero-glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 20px;
  color: #ffffff;
  transition: all 0.3s ease;
  height: 100%;
}
.hero-glass-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
}

.btn-blue-pill {
  background: var(--color-blue);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(0, 123, 255, 0.35);
  transition: all 0.3s ease;
  letter-spacing: 0.04em;
}
.btn-blue-pill:hover {
  background: var(--color-blue-hover);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-green-pill {
  background: var(--color-green);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(0, 168, 107, 0.35);
  transition: all 0.3s ease;
  letter-spacing: 0.04em;
}
.btn-green-pill:hover {
  background: var(--color-green-hover);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Feature Bar Section */
.feature-bar-section {
  padding: 30px 0 60px;
  background: #ffffff;
}

.color-feature-card {
  border-radius: var(--radius-md);
  padding: 28px 22px;
  color: #ffffff;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.color-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.color-card-yellow { background: #ffc107; color: #111827; }
.color-card-green  { background: #00a86b; color: #ffffff; }
.color-card-blue   { background: #007bff; color: #ffffff; }
.color-card-red    { background: #e63946; color: #ffffff; }

.color-card-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.color-card-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.color-card-desc {
  font-size: 0.85rem;
  line-height: 1.4;
  opacity: 0.95;
  margin-bottom: 0;
}

/* Featured Courses Section */
.featured-courses-section {
  padding: 60px 0;
  background: #ffffff;
}
.section-title-caps {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 2.2rem;
  text-transform: uppercase;
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 40px;
  letter-spacing: 0.04em;
}

.course-block-card {
  border-radius: var(--radius-md);
  padding: 34px 24px;
  color: #ffffff;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  transition: all 0.35s ease;
}
.course-block-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.course-card-green  { background: #00a86b; }
.course-card-blue   { background: #007bff; }
.course-card-yellow { background: #ffc107; color: #111827; }
.course-card-red    { background: #e63946; }

.course-big-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}
.course-title-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.course-desc-text {
  font-size: 0.85rem;
  line-height: 1.45;
  opacity: 0.95;
  margin-bottom: 24px;
}

.course-doodle-icons {
  display: flex;
  justify-content: center;
  gap: 14px;
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 20px;
}

.btn-learn-more-white {
  background: #ffffff;
  color: var(--text-dark) !important;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 10px 26px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  transition: all 0.25s ease;
}
.btn-learn-more-white:hover {
  background: #f3f4f6;
  transform: scale(1.05);
}

/* Learning Resources */
.learning-resources-section {
  padding: 60px 0;
  background: #ffffff;
}
.resource-white-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: center;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.resource-white-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.resource-icon-box {
  width: 58px;
  height: 58px;
  background: #007bff;
  color: #ffffff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 18px;
}
.resource-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0;
}

/* Avatar Icon Container & Faculty Badge */
.avatar-icon-box {
  width: 48px;
  height: 48px;
  background: #e0f2fe;
  color: var(--color-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.faculty-icon-badge {
  width: 110px;
  height: 110px;
  background: linear-gradient(135deg, var(--color-blue), var(--color-green));
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  margin: 0 auto 16px;
  box-shadow: 0 6px 18px rgba(0, 168, 107, 0.3);
}

/* Testimonials */
.testimonials-section {
  padding: 60px 0 80px;
  background: #f0f7ff;
}
.testimonial-card-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.star-rating {
  color: #ffc107;
  font-size: 1rem;
  margin-bottom: 14px;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}
.dot {
  width: 10px;
  height: 10px;
  background: #cbd5e1;
  border-radius: 50%;
}
.dot.active {
  background: var(--color-blue);
  width: 24px;
  border-radius: 12px;
}

/* Ultra-Attractive Premium Dark Footer */
.premium-footer {
  background: linear-gradient(180deg, #0f172a 0%, #090d16 100%);
  color: #94a3b8;
  padding: 70px 0 0;
  position: relative;
  font-size: 0.9rem;
}
.footer-top-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #007bff, #00a86b, #ffc107, #e63946);
}

.footer-brand-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 12px;
}
.footer-brand-title span {
  color: var(--color-green);
}
.footer-brand-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 24px;
}

.footer-heading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 8px;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--color-green);
  border-radius: 2px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links-list li {
  margin-bottom: 12px;
}
.footer-links-list a {
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-links-list a:hover {
  color: var(--color-green);
  transform: translateX(4px);
}
.footer-links-list a i {
  font-size: 0.75rem;
  color: var(--color-green);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: #cbd5e1;
}
.footer-contact-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.footer-social-btn {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}
.footer-social-btn:hover {
  background: var(--color-green);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 168, 107, 0.4);
}

.footer-bottom-bar {
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  margin-top: 60px;
}

/* Floating WhatsApp Button */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: #25d366;
  color: #ffffff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  text-decoration: none;
}
.floating-whatsapp-btn:hover {
  transform: scale(1.1);
  color: #ffffff;
}

/* Rich Content & Infographics Elements */
.infographic-banner-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-lg);
  color: #ffffff;
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.infographic-banner-box::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(0, 168, 107, 0.15);
  border-radius: 50%;
  filter: blur(40px);
}

.roadmap-step-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  transition: all 0.3s ease;
  height: 100%;
}
.roadmap-step-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-blue);
  box-shadow: var(--shadow-md);
}
.roadmap-number {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--color-red), var(--color-yellow));
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 16px;
  box-shadow: 0 4px 10px rgba(230, 57, 70, 0.3);
}

.stat-counter-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.stat-counter-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-red);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.stat-subtext {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.methodology-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 28px;
  border-left: 4px solid var(--color-blue);
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: all 0.3s ease;
}
.methodology-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pillar-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.badge-blue { background: #e0f2fe; color: #0284c7; }
.badge-green { background: #dcfce7; color: #16a34a; }
.badge-yellow { background: #fef9c3; color: #ca8a04; }
.badge-red { background: #fee2e2; color: #dc2626; }

/* Custom Infographic Visual SVG Container */
.svg-infographic-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border-subtle);
  text-align: center;
}

/* Floating Contact Widget Stacks Removed */
.floating-contact-stack,
.floating-action-stack {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-size: 1.4rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}
.floating-btn:hover {
  transform: scale(1.12) translateY(-2px);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.floating-btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.floating-btn-phone {
  background: linear-gradient(135deg, #007bff, #0056b3);
}

.floating-btn-email {
  background: linear-gradient(135deg, #e63946, #c82333);
}




/* Official We-Gyaan Brand Logo Styles (Inspired by Official Brand Identity) */
.brand-logo-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0070f3 0%, #00b894 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.35rem;
  box-shadow: 0 4px 14px rgba(0, 184, 148, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}
.brand-logo-badge.footer-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 1.15rem;
  box-shadow: 0 3px 10px rgba(0, 184, 148, 0.2);
}
.navbar-brand:hover .brand-logo-badge {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 184, 148, 0.4);
}
.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
}
.brand-title-main {
  font-family: 'Inter', 'Outfit', 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.35rem;
  color: #1e293b;
  letter-spacing: -0.4px;
  text-transform: uppercase;
}
.brand-title-main span {
  color: #00b894;
  font-weight: 900;
}
.brand-subtitle-sub {
  font-family: 'Inter', 'Outfit', sans-serif;
  font-size: 0.62rem;
  color: #64748b;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-top: 2px;
}


/* Smooth Auto-Sliding Carousel Custom Styles */
#latestInsightsCarousel .carousel-inner .carousel-item {
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
#latestInsightsCarousel .carousel-inner {
  overflow: hidden;
}





/* Button Gradient Colors */
.float-wa {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}
.float-call {
  background: linear-gradient(135deg, #0070f3 0%, #0051b3 100%);
}
.float-email {
  background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
}

/* Scroll-to-Top Button (Bottom Right) */
#scrollTopBtn {
  position: fixed;
  right: 20px;
  bottom: 25px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
}
#scrollTopBtn:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  background: #2563eb;
  color: #ffffff;
}



/* Site Search */
.btn-nav-search {
  background: var(--bg-slate);
  border: 1px solid var(--border-subtle);
  color: var(--text-dark);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  margin-left: 10px;
  transition: all 0.2s ease;
}
.btn-nav-search:hover {
  background: var(--color-green);
  color: #ffffff;
  border-color: var(--color-green);
}

#searchModal .modal-content {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
#searchModal .modal-header {
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px 24px;
}
#searchModal .modal-body {
  padding: 0;
}
.search-input-wrap {
  position: relative;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-subtle);
}
.search-input-wrap i {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}
#searchInput {
  width: 100%;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 12px 20px 12px 44px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease;
}
#searchInput:focus {
  border-color: var(--color-green);
}
#searchResults {
  max-height: 55vh;
  overflow-y: auto;
  padding: 8px;
}
.search-hint {
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.search-result-item {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-dark);
  position: relative;
  transition: background 0.15s ease;
}
.search-result-item:hover {
  background: var(--bg-light-blue);
}
.search-result-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 2px;
  padding-right: 90px;
}
.search-result-title mark {
  background: rgba(0, 168, 107, 0.2);
  color: var(--color-green-hover);
  padding: 0 1px;
  border-radius: 3px;
}
.search-result-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.search-result-category {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-blue);
  background: var(--bg-light-blue);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

/* Faculty Photo Badge (replaces icon placeholder with real photo) */
.faculty-photo-badge {
  width: 110px;
  height: 110px;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  margin: 0 auto 16px;
  box-shadow: 0 6px 18px rgba(0, 168, 107, 0.3);
  display: block;
}


/* Floating Action Stack (WhatsApp and Call) at Bottom Right, Just Above Scroll-to-Top */
.floating-action-stack {
  position: fixed;
  right: 20px;
  bottom: 74px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1050;
}
.float-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.float-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  color: #ffffff !important;
}

/* Button Gradient Colors */
.float-wa {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}
.float-call {
  background: linear-gradient(135deg, #0070f3 0%, #0051b3 100%);
}

/* Scroll-to-Top Button (Bottom Right) */
#scrollTopBtn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
}
#scrollTopBtn:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  background: #2563eb;
  color: #ffffff;
}






/* Premium Full-Width Mega Menu Styling */
.navbar > .container,
.navbar > .container-fluid {
  position: relative;
}
.navbar-nav .dropdown-mega {
  position: static;
}
@media (min-width: 992px) {
  .navbar .dropdown-menu.mega-menu-content {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    top: 100%;
    margin-top: 12px;
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.06);
    background: #ffffff;
    border: none;
    animation: fullWidthMegaMenuFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }
}
@keyframes fullWidthMegaMenuFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.mega-menu-item {
  display: flex;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: #1e293b;
  transition: all 0.2s ease;
}
.mega-menu-item:hover {
  background: #f8fafc;
  transform: translateX(4px);
}
.mega-menu-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-right: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.mega-menu-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: #0f172a;
  margin-bottom: 2px;
}
.mega-menu-desc {
  font-size: 0.76rem;
  color: #64748b;
  line-height: 1.35;
}
.mega-feature-callout {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 14px;
  padding: 22px;
  color: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


/* Insights Hub Author Filter Tabs */
.insights-filter-tabs {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.btn-tab {
  border: none;
  background: transparent;
  color: #475569;
  font-size: 0.92rem;
  transition: all 0.25s ease;
}
.btn-tab:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.btn-tab.active {
  background: #2563eb !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}
.btn-tab.active .badge {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

/* Faculty Portrait Image Styling */
.faculty-photo-img {
  object-fit: cover;
  object-position: top center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.faculty-photo-img:hover {
  transform: scale(1.02);
}
.faculty-avatar-round {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  flex-shrink: 0;
}
.mega-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* ================================================================
   STRICT CIRCULAR FACULTY AVATARS & REFINED LAYOUT TOKENS
   ================================================================ */
.faculty-avatar-circle-lg {
  width: 150px !important;
  height: 150px !important;
  border-radius: 50% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: center top !important;
  border: 4px solid #ffffff !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.faculty-avatar-circle-lg:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16) !important;
}

.faculty-avatar-circle-md {
  width: 96px !important;
  height: 96px !important;
  border-radius: 50% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: center top !important;
  border: 3px solid #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1) !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
  transition: transform 0.3s ease;
}
.faculty-avatar-circle-md:hover {
  transform: scale(1.04);
}

.faculty-avatar-circle-sm {
  width: 80px !important;
  height: 80px !important;
  border-radius: 50% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: center top !important;
  border: 3px solid #ffffff !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08) !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
}

.faculty-avatar-round {
  border-radius: 50% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: center top !important;
  border: 3px solid #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  flex-shrink: 0 !important;
}

.mega-avatar-img {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  object-position: center top !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
  flex-shrink: 0 !important;
}


/* ================================================================
   MASTER MOBILE VIEW EXCELLENCE FOR ALL PAGES & SCREEN SIZES
   ================================================================ */

/* 1. Global Viewport & Box Sizing Rules */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, canvas, svg {
  max-width: 100% !important;
  height: auto !important;
}

pre, code, kbd, samp {
  max-width: 100% !important;
  overflow-x: auto !important;
  word-break: break-word !important;
  white-space: pre-wrap !important;
}

/* Prevent iOS Safari 16px Auto-Zoom on Form Inputs */
input, select, textarea, button {
  font-size: 16px !important;
}

@media (min-width: 768px) {
  input, select, textarea {
    font-size: 0.95rem !important;
  }
}

/* 2. Top Bar Responsiveness */
@media (max-width: 767.98px) {
  .top-bar {
    font-size: 0.76rem !important;
    padding: 6px 0 !important;
  }
  .top-bar .container {
    gap: 4px !important;
  }
}

/* 3. Header Navbar & Brand Title Sizing */
@media (max-width: 991.98px) {
  .navbar {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  .navbar > .container,
  .navbar > .container-fluid {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .navbar-brand {
    display: flex !important;
    align-items: center !important;
    margin-right: 8px !important;
    max-width: calc(100% - 96px) !important;
    overflow: hidden !important;
    text-decoration: none !important;
  }

  .brand-logo-badge {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    font-size: 1.1rem !important;
    margin-right: 8px !important;
  }

  .brand-text {
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  .brand-title-main {
    font-size: 0.92rem !important;
    white-space: nowrap !important;
    letter-spacing: 0.3px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
  }

  .brand-subtitle-sub {
    font-size: 0.48rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.2 !important;
  }

  .btn-nav-search {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    font-size: 0.9rem !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .navbar-toggler {
    padding: 4px 6px !important;
    font-size: 1.25rem !important;
    line-height: 1 !important;
    border: none !important;
    background: transparent !important;
  }

  .navbar-toggler:focus {
    box-shadow: none !important;
    outline: none !important;
  }

  /* Mobile Drawer Menu */
  .navbar-collapse {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 16px 14px !important;
    margin-top: 10px !important;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.16) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .navbar-nav {
    gap: 4px !important;
  }

  .navbar-nav .nav-link {
    padding: 10px 12px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    border-radius: 8px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    background-color: #f1f5f9 !important;
    color: #2563eb !important;
  }

  /* Dropdown & Mega Menu Accordion in Mobile */
  .navbar-nav .dropdown-menu {
    position: static !important;
    float: none !important;
    width: 100% !important;
    margin: 4px 0 10px 0 !important;
    padding: 10px !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
  }

  .navbar-nav .dropdown-menu:not(.show) {
    display: none !important;
  }

  .navbar-nav .dropdown-menu.show {
    display: block !important;
  }

  .mega-menu-item {
    padding: 8px 10px !important;
    margin-bottom: 6px !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
  }

  .mega-menu-title {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
  }

  .mega-menu-desc {
    font-size: 0.72rem !important;
    color: #64748b !important;
    line-height: 1.35 !important;
  }

  .mega-avatar-img {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    object-position: center top !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
  }

  .mega-feature-callout {
    padding: 14px !important;
    border-radius: 12px !important;
    margin-top: 8px !important;
  }
}

/* 4. Small Devices Responsive Typography & Hero Adjustments (<= 576px) */
@media (max-width: 576px) {
  .hero-section {
    padding-top: 28px !important;
    padding-bottom: 36px !important;
  }

  .display-3 {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }

  .display-4 {
    font-size: 1.8rem !important;
    line-height: 1.22 !important;
  }

  .display-5 {
    font-size: 1.6rem !important;
    line-height: 1.25 !important;
  }

  h1, .h1 {
    font-size: 1.65rem !important;
    line-height: 1.25 !important;
  }

  h2, .h2 {
    font-size: 1.4rem !important;
    line-height: 1.3 !important;
  }

  h3, .h3 {
    font-size: 1.2rem !important;
    line-height: 1.35 !important;
  }

  p.lead {
    font-size: 0.98rem !important;
    line-height: 1.6 !important;
  }

  .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  /* Faculty Avatar Sizes on Mobile */
  .faculty-avatar-circle-lg {
    width: 110px !important;
    height: 110px !important;
    border-width: 3px !important;
  }

  .faculty-avatar-circle-md {
    width: 75px !important;
    height: 75px !important;
    border-width: 3px !important;
  }

  /* Stats Grid on Mobile */
  .stats-bar-section .col-md-3,
  .stats-bar-section .col-6 {
    padding-left: 6px !important;
    padding-right: 6px !important;
    margin-bottom: 12px !important;
  }

  .stat-card-modern {
    padding: 14px 10px !important;
    border-radius: 12px !important;
  }

  .stat-number {
    font-size: 1.6rem !important;
    font-weight: 800 !important;
  }

  .stat-label {
    font-size: 0.75rem !important;
  }

  /* Form and Button Mobile Stacking */
  .btn-header-green,
  .hero-section .btn,
  .cta-section .btn,
  .card .btn {
    width: 100% !important;
    margin-bottom: 6px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    font-size: 0.92rem !important;
  }

  /* Pagination Controls on Insights Hub */
  #insightsPagination {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
  }

  #insightsPagination .btn {
    padding: 6px 14px !important;
    font-size: 0.85rem !important;
  }

  #pageEntryInput {
    width: 50px !important;
    padding: 4px 6px !important;
    font-size: 0.88rem !important;
  }

  /* Insights Author Tabs on Mobile */
  .author-filter-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    justify-content: center !important;
  }

  .author-tab-btn {
    padding: 8px 14px !important;
    font-size: 0.82rem !important;
  }

  /* Article Detail Hero & Bio Box */
  .article-header {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }

  .article-content {
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
  }

  .article-author-card {
    padding: 18px 14px !important;
    border-radius: 14px !important;
  }

  .article-author-card img {
    width: 65px !important;
    height: 65px !important;
  }
}

/* 5. Fixed Floating Action Stack Removed & Scroll-to-Top (Desktop & Mobile) */
.floating-action-stack {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.float-btn {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  font-size: 1.2rem !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28) !important;
  text-decoration: none !important;
  border: 2px solid rgba(255, 255, 255, 0.35) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.float-btn:active {
  transform: scale(0.92) !important;
}

.float-wa {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
}

.float-call {
  background: linear-gradient(135deg, #0070f3 0%, #0051b3 100%) !important;
}

#scrollTopBtn {
  position: fixed !important;
  right: 16px !important;
  bottom: 16px !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.25) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.1rem !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
  cursor: pointer !important;
  z-index: 1050 !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

/* 6. Footer Stacking & Touch Target Safety on Mobile */
@media (max-width: 767.98px) {
  .premium-footer {
    padding-top: 40px !important;
    padding-bottom: 80px !important; /* Bottom clearance for floating buttons */
  }

  .footer-links-list li a {
    padding: 6px 0 !important;
    display: inline-block !important;
    font-size: 0.9rem !important;
  }

  .footer-contact-item {
    margin-bottom: 14px !important;
  }

  .footer-bottom-bar {
    text-align: center !important;
  }

  .footer-bottom-bar .text-start {
    text-align: center !important;
    margin-bottom: 8px !important;
  }
}

/* ================================================================
   DEDICATED ULTRA-CLEAN MOBILE NAVBAR & ACCORDION SYSTEM
   ================================================================ */

/* 1. Navbar Container Header on Mobile */
@media (max-width: 991.98px) {
  .navbar {
    padding: 10px 0 !important;
    background: #ffffff !important;
  }

  .navbar > .container,
  .navbar > .container-fluid {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .navbar-brand {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: calc(100% - 94px) !important;
    text-decoration: none !important;
  }

  .brand-logo-badge {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    font-size: 1.1rem !important;
    margin-right: 8px !important;
    border-radius: 10px !important;
  }

  .brand-text {
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .brand-title-main {
    font-size: 0.92rem !important;
    white-space: nowrap !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
  }

  .brand-subtitle-sub {
    font-size: 0.46rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.2 !important;
    color: #64748b !important;
  }

  .btn-nav-search {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    font-size: 0.9rem !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .navbar-toggler {
    padding: 4px 6px !important;
    font-size: 1.25rem !important;
    border: none !important;
    background: transparent !important;
    color: #0f172a !important;
  }

  .navbar-toggler:focus {
    box-shadow: none !important;
    outline: none !important;
  }

  /* Mobile Drawer Container */
  .navbar-collapse {
    position: absolute !important;
    top: 100% !important;
    left: 10px !important;
    right: 10px !important;
    background: #ffffff !important;
    border-radius: 18px !important;
    padding: 16px !important;
    margin-top: 8px !important;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    max-height: 82vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    z-index: 1050 !important;
  }

  .navbar-nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    margin-bottom: 12px !important;
    padding: 0 !important;
  }

  .navbar-nav .nav-item {
    width: 100% !important;
  }

  /* Nav Links in Mobile Drawer */
  .navbar-nav .nav-link {
    padding: 12px 14px !important;
    font-size: 0.98rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    border-radius: 10px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    transition: all 0.2s ease !important;
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    background: #eff6ff !important;
    color: #2563eb !important;
    border-color: #bfdbfe !important;
  }

  /* Mobile Dropdown Sub-menu */
  .navbar-nav .dropdown-menu {
    position: static !important;
    float: none !important;
    width: 100% !important;
    margin: 6px 0 10px 0 !important;
    padding: 8px !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02) !important;
  }

  .navbar-nav .dropdown-menu:not(.show) {
    display: none !important;
  }

  .navbar-nav .dropdown-menu.show {
    display: block !important;
    animation: mobileMenuFadeIn 0.2s ease-out !important;
  }

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

  /* Compact Mobile Sub-menu Items */
  .navbar .dropdown-menu.mega-menu-content {
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 10px !important;
    background: #f8fafc !important;
  }

  .navbar .dropdown-menu.mega-menu-content .row {
    --bs-gutter-y: 0.6rem !important;
    --bs-gutter-x: 0 !important;
    margin: 0 !important;
  }

  .navbar .dropdown-menu.mega-menu-content [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 8px !important;
  }

  .navbar .dropdown-menu.mega-menu-content .text-uppercase {
    font-size: 0.72rem !important;
    letter-spacing: 0.5px !important;
    font-weight: 800 !important;
    color: #64748b !important;
    margin-top: 4px !important;
    margin-bottom: 6px !important;
    padding-left: 4px !important;
  }

  .mega-menu-item {
    padding: 8px 10px !important;
    margin-bottom: 5px !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
  }

  .mega-menu-item:hover {
    background: #eff6ff !important;
    border-color: #93c5fd !important;
  }

  .mega-menu-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    font-size: 0.95rem !important;
    border-radius: 8px !important;
    margin-right: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .mega-menu-title {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    line-height: 1.25 !important;
  }

  .mega-menu-desc {
    font-size: 0.72rem !important;
    color: #64748b !important;
    line-height: 1.3 !important;
    margin-top: 1px !important;
  }

  .mega-avatar-img {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 50% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    object-position: center top !important;
    border: 1.5px solid #2563eb !important;
    margin-right: 8px !important;
  }

  .mega-feature-callout {
    display: none !important; /* Hide bulky promo callouts on mobile to keep drawer clean */
  }

  /* Compact Insight Author Cards in Mobile Drawer */
  .navbar .dropdown-menu.mega-menu-content .card {
    padding: 10px !important;
    margin-bottom: 6px !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
  }

  .navbar .dropdown-menu.mega-menu-content .card p,
  .navbar .dropdown-menu.mega-menu-content .card .d-flex.flex-wrap {
    display: none !important; /* Hide long paragraph teasers in mobile menu */
  }

  .navbar .dropdown-menu.mega-menu-content .card .btn {
    padding: 6px 12px !important;
    font-size: 0.82rem !important;
    margin-top: 4px !important;
  }

  /* Bottom Actions Inside Mobile Drawer */
  .mobile-drawer-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-top: 14px !important;
    padding-top: 14px !important;
    border-top: 1px solid #e2e8f0 !important;
  }

  .mobile-drawer-actions .btn {
    width: 100% !important;
    padding: 10px 14px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* 2. Desktop Mega Menu View (min-width: 992px) */
@media (min-width: 992px) {
  .mobile-drawer-actions {
    display: none !important;
  }
  .navbar-nav .nav-link {
    border: none !important;
    background: transparent !important;
  }
}
