/* ==========================================================================
   RCS & Associates - Official Website Stylesheet
   Advocates & Legal Consultants | High Court of Uttarakhand Practice Focus
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Variables & Theme Configuration
   -------------------------------------------------------------------------- */
:root {
  --rcs-navy: #071B35;
  --rcs-navy-dark: #041021;
  --rcs-navy-light: #0D284C;
  --rcs-navy-card: #0A203E;
  
  --rcs-gold: #C59235;
  --rcs-gold-light: #DFB052;
  --rcs-gold-dark: #9F7220;
  --rcs-gold-subtle: rgba(197, 146, 53, 0.12);
  
  --rcs-white: #FFFFFF;
  --rcs-light: #F8F9FA;
  --rcs-light-subtle: #F3F5F8;
  --rcs-light-border: #E8ECEF;
  
  --rcs-whatsapp: #25D366;
  --rcs-whatsapp-dark: #1EBE5D;
  
  --rcs-text: #243142;
  --rcs-text-muted: #5B6B7E;
  --rcs-text-light: #8E9BAE;
  --rcs-border: #E2E8F0;
  
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-devanagari: 'Noto Sans Devanagari', 'Plus Jakarta Sans', system-ui, sans-serif;
  
  --transition-base: all 0.25s ease-in-out;
  --box-shadow-sm: 0 2px 8px rgba(7, 27, 53, 0.06);
  --box-shadow-md: 0 6px 20px rgba(7, 27, 53, 0.09);
  --box-shadow-lg: 0 14px 36px rgba(7, 27, 53, 0.14);
}

/* --------------------------------------------------------------------------
   2. Reset & Base Typography
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--rcs-text);
  background-color: var(--rcs-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Devanagari / Hindi Typography Enhancements */
html[lang="hi"] body,
html[lang="hi"] input,
html[lang="hi"] textarea,
html[lang="hi"] select,
html[lang="hi"] button {
  font-family: var(--font-devanagari);
  line-height: 1.75;
}

h1, h2, h3, h4, h5, h6,
.font-serif,
.site-title,
.section-heading,
.hero-title {
  font-family: var(--font-serif);
  color: var(--rcs-navy);
  font-weight: 600;
  line-height: 1.3;
}

html[lang="hi"] h1,
html[lang="hi"] h2,
html[lang="hi"] h3,
html[lang="hi"] h4,
html[lang="hi"] h5,
html[lang="hi"] h6,
html[lang="hi"] .font-serif,
html[lang="hi"] .site-title,
html[lang="hi"] .section-heading,
html[lang="hi"] .hero-title {
  font-family: var(--font-devanagari);
  font-weight: 700;
  line-height: 1.45;
}

p {
  margin-bottom: 1.15rem;
}

p.lead {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--rcs-text-muted);
  line-height: 1.7;
}

a {
  color: var(--rcs-navy);
  text-decoration: none;
  transition: var(--transition-base);
}

a:hover {
  color: var(--rcs-gold);
}

/* --------------------------------------------------------------------------
   3. Utility Classes & Accessibility
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -60px;
  left: 15px;
  background: var(--rcs-gold);
  color: var(--rcs-white);
  padding: 10px 18px;
  z-index: 99999;
  font-weight: 600;
  transition: top 0.2s ease;
  border-radius: 4px;
}

.skip-link:focus {
  top: 15px;
  color: var(--rcs-white);
}

.bg-navy { background-color: var(--rcs-navy) !important; }
.bg-navy-dark { background-color: var(--rcs-navy-dark) !important; }
.bg-navy-light { background-color: var(--rcs-navy-light) !important; }
.bg-light-subtle { background-color: var(--rcs-light-subtle) !important; }
.bg-gold-subtle { background-color: var(--rcs-gold-subtle) !important; }

.text-navy { color: var(--rcs-navy) !important; }
.text-gold { color: var(--rcs-gold) !important; }
.text-gold-light { color: var(--rcs-gold-light) !important; }
.text-white-75 { color: rgba(255, 255, 255, 0.78) !important; }
.text-white-50 { color: rgba(255, 255, 255, 0.55) !important; }

.border-gold { border-color: var(--rcs-gold) !important; }
.border-navy { border-color: var(--rcs-navy) !important; }

.not-italic { font-style: normal; }

.gold-divider {
  width: 50px;
  height: 3px;
  background-color: var(--rcs-gold);
  margin: 12px 0 20px 0;
  border-radius: 2px;
}

.gold-divider-center {
  width: 50px;
  height: 3px;
  background-color: var(--rcs-gold);
  margin: 12px auto 20px auto;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.4rem;
  border-radius: 4px;
  transition: var(--transition-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-gold {
  background-color: var(--rcs-gold);
  border: 1px solid var(--rcs-gold);
  color: var(--rcs-white);
}

.btn-gold:hover, .btn-gold:focus {
  background-color: var(--rcs-gold-dark);
  border-color: var(--rcs-gold-dark);
  color: var(--rcs-white);
  box-shadow: 0 4px 12px rgba(197, 146, 53, 0.35);
}

.btn-outline-gold {
  background-color: transparent;
  border: 1.5px solid var(--rcs-gold);
  color: var(--rcs-gold);
}

.btn-outline-gold:hover, .btn-outline-gold:focus {
  background-color: var(--rcs-gold);
  border-color: var(--rcs-gold);
  color: var(--rcs-white);
}

.btn-navy {
  background-color: var(--rcs-navy);
  border: 1px solid var(--rcs-navy);
  color: var(--rcs-white);
}

.btn-navy:hover, .btn-navy:focus {
  background-color: var(--rcs-navy-dark);
  border-color: var(--rcs-navy-dark);
  color: var(--rcs-white);
  box-shadow: 0 4px 12px rgba(7, 27, 53, 0.35);
}

.btn-outline-navy {
  background-color: transparent;
  border: 1.5px solid var(--rcs-navy);
  color: var(--rcs-navy);
}

.btn-outline-navy:hover, .btn-outline-navy:focus {
  background-color: var(--rcs-navy);
  border-color: var(--rcs-navy);
  color: var(--rcs-white);
  box-shadow: 0 4px 12px rgba(7, 27, 53, 0.2);
}

.btn-outline-navy.disabled, .btn-outline-navy:disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
  border-color: var(--rcs-border);
  color: var(--rcs-text-muted);
}

.btn-outline-light-gold {
  background-color: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: var(--rcs-white);
}

.btn-outline-light-gold:hover, .btn-outline-light-gold:focus {
  background-color: var(--rcs-white);
  border-color: var(--rcs-white);
  color: var(--rcs-navy);
}

.btn-whatsapp {
  background-color: var(--rcs-whatsapp);
  border: 1px solid var(--rcs-whatsapp);
  color: var(--rcs-white);
}

.btn-whatsapp:hover, .btn-whatsapp:focus {
  background-color: var(--rcs-whatsapp-dark);
  border-color: var(--rcs-whatsapp-dark);
  color: var(--rcs-white);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

/* --------------------------------------------------------------------------
   5. Top Utility Bar
   -------------------------------------------------------------------------- */
.top-bar {
  background-color: var(--rcs-navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-item {
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition-base);
}

.top-bar-item:hover {
  color: var(--rcs-gold-light);
}

.top-bar-notice {
  color: rgba(255, 255, 255, 0.82);
}

.top-bar-lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.top-lang-link {
  display: inline-block;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
  transition: var(--transition-base);
}

.top-lang-link:hover {
  color: var(--rcs-gold-light);
  background-color: rgba(255, 255, 255, 0.12);
}

.top-lang-link.active {
  color: #ffffff;
  background-color: var(--rcs-gold);
  font-weight: 700;
}

.top-lang-sep {
  opacity: 0.4;
  font-size: 0.75rem;
}

.modal-lang-toggle {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(197, 146, 53, 0.45);
  border-radius: 6px;
  padding: 3px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 44px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.modal-lang-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-decoration: none;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

.modal-lang-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
}

.modal-lang-btn.active {
  background-color: #C59235;
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

/* --------------------------------------------------------------------------
   6. Main Header & Premium Mega Menu System
   -------------------------------------------------------------------------- */
.site-header {
  background-color: var(--rcs-white);
  box-shadow: var(--box-shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: var(--transition-base);
}

.brand-logo {
  height: 52px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  display: block;
}

.footer-logo {
  height: 52px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
}

/* Desktop Navbar Items & Mega Menu Trigger */
.navbar-nav .nav-item {
  position: static;
}

.navbar-nav .nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--rcs-navy);
  padding: 1.25rem 0.95rem !important;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-base);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-item:hover > .nav-link {
  color: var(--rcs-gold);
}

.navbar-nav .nav-link.active {
  color: var(--rcs-gold);
  font-weight: 600;
}

.nav-chevron {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
  color: var(--rcs-text-muted);
}

.navbar-nav .nav-item:hover .nav-chevron {
  transform: rotate(180deg);
  color: var(--rcs-gold);
}

/* Mega Menu Dropdown Container */
.mega-menu-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: #ffffff;
  border-top: 3px solid var(--rcs-gold);
  border-bottom: 2px solid var(--rcs-light-border);
  box-shadow: 0 18px 40px rgba(7, 27, 53, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1.75rem 0 1.5rem 0;
  z-index: 1040;
}

/* Show Mega Menu on Desktop Hover / Focus-Within */
@media (min-width: 992px) {
  .navbar-nav .nav-item.has-mega-menu:hover .mega-menu-dropdown,
  .navbar-nav .nav-item.has-mega-menu:focus-within .mega-menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* Mega Menu Column & Card Styling */
.mega-col-title {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--rcs-gold);
  margin-bottom: 0.85rem;
  padding-bottom: 0.45rem;
  border-bottom: 1.5px solid var(--rcs-border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mega-link-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.mega-link-item {
  margin-bottom: 0.35rem;
}

.mega-link {
  font-size: 0.885rem;
  color: var(--rcs-text);
  padding: 0.45rem 0.65rem;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  transition: var(--transition-base);
  border-left: 2px solid transparent;
}

.mega-link i {
  font-size: 0.85rem;
  color: var(--rcs-gold);
  transition: transform 0.2s ease, color 0.2s ease;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.mega-link:hover {
  background-color: var(--rcs-gold-subtle);
  color: var(--rcs-navy);
  font-weight: 600;
  padding-left: 0.85rem;
  border-left-color: var(--rcs-gold);
}

.mega-link:hover i {
  transform: translateX(2px);
  color: var(--rcs-gold-dark);
}

/* Mega Menu Advocate Preview Cards */
.mega-advocate-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid var(--rcs-border);
  transition: var(--transition-base);
  text-decoration: none;
  margin-bottom: 0.65rem;
}

.mega-advocate-card:hover {
  border-color: var(--rcs-gold);
  background: var(--rcs-gold-subtle);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(7, 27, 53, 0.06);
}

.mega-advocate-thumb {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 1.5px solid var(--rcs-gold);
  flex-shrink: 0;
  background: var(--rcs-navy);
}

.mega-advocate-info {
  flex-grow: 1;
  min-width: 0;
}

.mega-advocate-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--rcs-navy);
  margin-bottom: 0.1rem;
  line-height: 1.25;
}

.mega-advocate-role {
  font-size: 0.725rem;
  color: var(--rcs-gold-dark);
  font-weight: 600;
  line-height: 1.2;
}

.mega-advocate-badge {
  font-size: 0.675rem;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  background: rgba(197, 146, 53, 0.12);
  color: var(--rcs-gold-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-top: 0.15rem;
}

/* Mega Menu Forum Interactive Cards */
.mega-forum-card {
  padding: 1rem 0.95rem;
  background: var(--rcs-light-subtle);
  border: 1px solid var(--rcs-border);
  border-radius: 6px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition-base);
  text-decoration: none;
}

.mega-forum-card:hover {
  border-color: var(--rcs-gold);
  background: #ffffff;
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-sm);
}

.mega-forum-card.featured-forum {
  border-color: var(--rcs-gold);
  background: rgba(197, 146, 53, 0.05);
}

.mega-forum-card.featured-forum:hover {
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(197, 146, 53, 0.18);
}

.mega-forum-badge {
  font-size: 0.675rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  background: var(--rcs-navy);
  color: var(--rcs-gold-light);
  display: inline-block;
  margin-bottom: 0.4rem;
  align-self: flex-start;
}

.mega-forum-badge.badge-primary-focus {
  background: var(--rcs-gold);
  color: #ffffff;
}

.mega-forum-title {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--rcs-navy);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.mega-forum-desc {
  font-size: 0.775rem;
  color: var(--rcs-text-muted);
  line-height: 1.45;
  margin-bottom: 0.6rem;
  flex-grow: 1;
}

.mega-forum-link-text {
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--rcs-gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Mega Menu Featured Consultation Box */
.mega-featured-card {
  background: linear-gradient(135deg, var(--rcs-navy) 0%, var(--rcs-navy-light) 100%);
  border: 1px solid rgba(197, 146, 53, 0.35);
  border-radius: 6px;
  padding: 1.25rem;
  height: 100%;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(7, 27, 53, 0.15);
}

.mega-featured-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--rcs-gold-light);
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.mega-featured-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin-bottom: 0.85rem;
}

/* Mega Menu Footer Banner Strip */
.mega-menu-footer-bar {
  margin-top: 1.25rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--rcs-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.mega-menu-footer-text {
  font-size: 0.8rem;
  color: var(--rcs-text-muted);
}

/* --------------------------------------------------------------------------
   2.2 Language Selector Dropdown (Desktop & Mobile)
   -------------------------------------------------------------------------- */
.lang-selector-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-selector-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(7, 27, 53, 0.04);
  border: 1.5px solid rgba(197, 146, 53, 0.55);
  color: var(--rcs-navy);
  padding: 0.38rem 0.85rem;
  border-radius: 6px;
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
  text-decoration: none;
  user-select: none;
}

.lang-selector-btn:hover,
.lang-selector-btn:focus {
  background: var(--rcs-gold);
  color: var(--rcs-white);
  border-color: var(--rcs-gold);
  box-shadow: 0 4px 12px rgba(197, 146, 53, 0.25);
  outline: none;
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--rcs-white);
  border: 1px solid rgba(7, 27, 53, 0.14);
  border-top: 2.5px solid var(--rcs-gold);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(7, 27, 53, 0.16);
  min-width: 145px;
  padding: 0.4rem 0;
  z-index: 1060;
  display: none;
}

.lang-dropdown-menu.show {
  display: block;
  animation: fadeInDown 0.2s ease forwards;
}

.lang-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--rcs-navy);
  text-decoration: none;
  transition: var(--transition-base);
}

.lang-dropdown-item:hover {
  background-color: var(--rcs-gold-subtle);
  color: var(--rcs-navy);
  font-weight: 600;
}

.lang-dropdown-item.active {
  color: var(--rcs-gold-dark);
  font-weight: 700;
  background-color: rgba(197, 146, 53, 0.1);
}

.mobile-lang-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  background: var(--rcs-light-subtle);
  border-radius: 8px;
  margin: 0.75rem 1rem;
  border: 1px solid var(--rcs-border);
}

.mobile-lang-btn {
  flex: 1;
  text-align: center;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--rcs-border);
  background: var(--rcs-white);
  color: var(--rcs-navy);
  text-decoration: none;
  transition: var(--transition-base);
}

.mobile-lang-btn.active {
  background: var(--rcs-navy);
  color: var(--rcs-gold-light);
  border-color: var(--rcs-navy);
  font-weight: 700;
}

/* Mobile Navbar Styles & Dedicated Submenu Toggle */
@media (max-width: 991.98px) {
  .navbar-collapse {
    max-height: calc(100vh - 75px);
    max-height: calc(100dvh - 75px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2rem;
  }

  .nav-item-inner {
    border-bottom: 1px solid var(--rcs-light-border);
    padding: 0.15rem 0.5rem 0.15rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .navbar-nav .nav-item:not(.has-mega-menu) .nav-link {
    padding: 0.85rem 1rem !important;
    border-bottom: 1px solid var(--rcs-light-border);
  }

  .navbar-nav .has-mega-menu .nav-link {
    padding: 0.85rem 1rem !important;
    border-bottom: none !important;
  }

  .nav-submenu-toggle {
    background: rgba(197, 146, 53, 0.08);
    border: 1px solid rgba(197, 146, 53, 0.35);
    color: var(--rcs-navy);
    width: 44px;
    height: 38px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-right: 0.5rem;
    padding: 0;
  }

  .nav-submenu-toggle:hover,
  .nav-submenu-toggle:focus {
    background: var(--rcs-gold);
    color: #ffffff;
    border-color: var(--rcs-gold);
    outline: none;
  }

  .nav-submenu-toggle[aria-expanded="true"],
  .nav-item.show-mobile-menu .nav-submenu-toggle {
    background: var(--rcs-gold);
    color: #ffffff;
    border-color: var(--rcs-gold);
  }

  .nav-submenu-toggle .toggle-icon {
    font-size: 0.85rem;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-submenu-toggle[aria-expanded="true"] .toggle-icon,
  .nav-item.show-mobile-menu .nav-submenu-toggle .toggle-icon {
    transform: rotate(180deg);
  }

  .mega-menu-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    border-left: 3px solid var(--rcs-gold);
    background-color: var(--rcs-light-subtle);
    padding: 0.85rem 1rem;
    display: none;
  }

  .nav-item.show-mobile-menu .mega-menu-dropdown {
    display: block;
    animation: fadeInDown 0.25s ease forwards;
  }

  .mega-col-title {
    margin-top: 0.75rem;
  }

  .mega-advocate-card {
    background: #ffffff;
  }
}

@media (min-width: 992px) {
  .nav-item-inner {
    display: flex;
    align-items: center;
  }

  .nav-submenu-toggle {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   7. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 620px;
  background-color: var(--rcs-navy);
  background-image: url('../images/rcs-home-hero.webp');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(7, 27, 53, 0.96) 0%, rgba(7, 27, 53, 0.88) 44%, rgba(7, 27, 53, 0.32) 70%, rgba(7, 27, 53, 0) 88%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--rcs-white);
  padding: 4.5rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background-color: rgba(197, 146, 53, 0.2);
  border: 1px solid rgba(197, 146, 53, 0.45);
  color: var(--rcs-gold-light);
  font-size: 0.825rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.1rem, 3.8vw, 3.35rem);
  font-weight: 700;
  color: var(--rcs-white);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.hero-title .text-gold {
  color: var(--rcs-gold-light) !important;
}

.hero-lead {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 630px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

@media (min-width: 1200px) {
  .hero-section {
    min-height: 680px;
    background-position: right center;
  }
  .hero-content {
    padding: 5.5rem 0;
  }
}

@media (min-width: 1600px) {
  .hero-section {
    min-height: 740px;
    background-position: right center;
  }
  .hero-content {
    padding: 6.5rem 0;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    background-position: 70% center;
    min-height: 540px;
  }
  .hero-overlay {
    background: linear-gradient(to bottom, rgba(7, 27, 53, 0.95) 0%, rgba(7, 27, 53, 0.86) 55%, rgba(7, 27, 53, 0.92) 100%);
  }
  .hero-content {
    padding: 3.5rem 0;
  }
}

/* --------------------------------------------------------------------------
   8. Internal Page Header Banner
   -------------------------------------------------------------------------- */
.page-banner {
  background-color: var(--rcs-navy);
  background-image: linear-gradient(135deg, rgba(7, 27, 53, 0.98) 0%, rgba(13, 40, 76, 0.92) 100%);
  color: var(--rcs-white);
  padding: 3.5rem 0 3rem 0;
  border-bottom: 3px solid var(--rcs-gold);
}

.breadcrumb-nav {
  margin-bottom: 1rem;
}

.breadcrumb-nav a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.breadcrumb-nav a:hover {
  color: var(--rcs-gold-light);
}

.breadcrumb-nav .separator {
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0.5rem;
  font-size: 0.8rem;
}

.breadcrumb-nav .active {
  color: var(--rcs-gold-light);
  font-size: 0.875rem;
}

.page-title {
  font-size: clamp(2rem, 3vw, 2.75rem);
  color: var(--rcs-white);
  margin-bottom: 0.75rem;
}

.page-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 750px;
  margin-bottom: 0;
}

/* About Page Hero Banner Image Framing */
.page-banner-about {
  padding: 3.25rem 0 2.75rem 0;
}

.about-hero-img-box {
  background-color: var(--rcs-navy-dark);
  box-shadow: 0 12px 32px rgba(4, 16, 33, 0.45);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-hero-img-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(4, 16, 33, 0.6);
}

.about-hero-img-box img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-hero-img-caption {
  background: linear-gradient(to top, rgba(7, 27, 53, 0.96) 0%, rgba(7, 27, 53, 0.78) 70%, transparent 100%);
  border-top: 1px solid rgba(197, 146, 53, 0.3);
}

.advocate-banner-img-box {
  background-color: var(--rcs-navy-dark);
  box-shadow: 0 12px 32px rgba(4, 16, 33, 0.45);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.advocate-banner-img-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(4, 16, 33, 0.6);
}

.advocate-banner-img-box img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.advocate-banner-img-caption {
  background: linear-gradient(to top, rgba(7, 27, 53, 0.96) 0%, rgba(7, 27, 53, 0.78) 70%, transparent 100%);
  border-top: 1px solid rgba(197, 146, 53, 0.3);
}

.bg-white-10 {
  background-color: rgba(255, 255, 255, 0.1);
}

/* --------------------------------------------------------------------------
   9. Highlights Strip
   -------------------------------------------------------------------------- */
.highlights-strip {
  background-color: var(--rcs-navy-dark);
  color: var(--rcs-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0.75rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.highlight-item:last-child {
  border-right: none;
}

.highlight-icon {
  font-size: 1.85rem;
  color: var(--rcs-gold);
  flex-shrink: 0;
}

.highlight-text h6 {
  font-family: var(--font-sans);
  color: var(--rcs-white);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.highlight-text p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.825rem;
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .highlight-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .highlight-item:last-child {
    border-bottom: none;
  }
}

/* --------------------------------------------------------------------------
   10. Section Headings & Common Layouts
   -------------------------------------------------------------------------- */
.section-padding {
  padding: 4.5rem 0;
}

.section-padding-sm {
  padding: 3rem 0;
}

.section-tag {
  display: inline-block;
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--rcs-gold);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.75rem, 2.5vw, 2.35rem);
  font-weight: 700;
  color: var(--rcs-navy);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--rcs-text-muted);
  max-width: 750px;
}

/* --------------------------------------------------------------------------
   11. Practice Cards & Detail Styling
   -------------------------------------------------------------------------- */
.practice-card {
  background-color: var(--rcs-white);
  border: 1px solid var(--rcs-border);
  border-radius: 6px;
  padding: 2rem 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-base);
  overflow: hidden;
}

.practice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: transparent;
  transition: var(--transition-base);
}

.practice-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--box-shadow-md);
  border-color: rgba(197, 146, 53, 0.4);
}

.practice-card:hover::before {
  background-color: var(--rcs-gold);
}

.practice-icon-box {
  width: 58px;
  height: 58px;
  background-color: var(--rcs-light-subtle);
  border: 1px solid var(--rcs-light-border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--rcs-gold);
  margin-bottom: 1.35rem;
  transition: var(--transition-base);
}

.practice-card:hover .practice-icon-box {
  background-color: var(--rcs-navy);
  border-color: var(--rcs-navy);
  color: var(--rcs-gold-light);
}

.practice-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.practice-desc {
  font-size: 0.925rem;
  color: var(--rcs-text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.practice-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rcs-navy);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.practice-link i {
  color: var(--rcs-gold);
  transition: transform 0.2s ease;
}

.practice-card:hover .practice-link {
  color: var(--rcs-gold);
}

.practice-card:hover .practice-link i {
  transform: translateX(4px);
}

/* Detail Practice Sidebar & Content */
.detail-sidebar {
  position: sticky;
  top: 95px;
}

.detail-nav-card {
  background: var(--rcs-white);
  border: 1px solid var(--rcs-border);
  border-radius: 6px;
  padding: 1.5rem;
  box-shadow: var(--box-shadow-sm);
  margin-bottom: 1.5rem;
}

.detail-nav-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rcs-navy);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--rcs-gold);
  margin-bottom: 0.85rem;
}

.detail-nav-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.detail-nav-link {
  font-size: 0.875rem;
  color: var(--rcs-text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.5rem;
  border-radius: 4px;
  transition: var(--transition-base);
}

.detail-nav-link:hover, .detail-nav-link.active {
  background-color: var(--rcs-gold-subtle);
  color: var(--rcs-navy);
  font-weight: 600;
  padding-left: 0.75rem;
}

/* --------------------------------------------------------------------------
   11.5 Judicial Forum Overview Cards & Best-Fit Frame
   -------------------------------------------------------------------------- */
.forum-card {
  background: var(--rcs-white);
  border: 1px solid var(--rcs-border);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition-base);
}

.forum-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--box-shadow-md);
  border-color: rgba(197, 146, 53, 0.45);
}

.forum-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background-color: var(--rcs-navy-dark);
  border-bottom: 2px solid rgba(197, 146, 53, 0.25);
}

.forum-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.35s ease;
}

.forum-card:hover .forum-img-box img {
  transform: scale(1.025);
}

/* --------------------------------------------------------------------------
   11.6 About Chambers Hero Image & Symmetric Capabilities Frame
   -------------------------------------------------------------------------- */
.about-chambers-img-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(7, 27, 53, 0.1);
  border: 1px solid var(--rcs-border);
  background-color: var(--rcs-navy);
}

.about-chambers-img-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}

.about-chambers-img-frame:hover img {
  transform: scale(1.025);
}

.about-img-overlay-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 2;
}

.about-capability-strip {
  background: var(--rcs-light-subtle);
  border: 1px solid var(--rcs-border);
  border-radius: 10px;
  padding: 0.85rem;
}

.about-cap-pill {
  background: var(--rcs-white);
  border: 1px solid rgba(197, 146, 53, 0.25);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  height: 100%;
  transition: var(--transition-base);
}

.about-cap-pill:hover {
  border-color: var(--rcs-gold);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-sm);
}

/* --------------------------------------------------------------------------
   11.7 Institutional Profile Portrait Card & Symmetry
   -------------------------------------------------------------------------- */
.profile-portrait-card {
  background-color: var(--rcs-navy-dark);
  box-shadow: 0 14px 36px rgba(7, 27, 53, 0.18);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.profile-portrait-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(7, 27, 53, 0.25);
}

.profile-portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}

.profile-portrait-card:hover img {
  transform: scale(1.025);
}

.profile-portrait-caption {
  background: linear-gradient(to top, rgba(7, 27, 53, 0.98) 0%, rgba(7, 27, 53, 0.85) 75%, transparent 100%);
  border-top: 1px solid rgba(197, 146, 53, 0.35);
}

/* --------------------------------------------------------------------------
   12. Legal Insights & Article Layouts
   -------------------------------------------------------------------------- */
.insight-card {
  background: var(--rcs-white);
  border: 1px solid var(--rcs-border);
  border-radius: 6px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition-base);
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--box-shadow-md);
  border-color: rgba(197, 146, 53, 0.4);
}

.insight-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.insight-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--rcs-gold);
  background: var(--rcs-gold-subtle);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.85rem;
  align-self: flex-start;
}

.insight-title {
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.insight-excerpt {
  font-size: 0.9rem;
  color: var(--rcs-text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.insight-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rcs-navy);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.insight-link:hover {
  color: var(--rcs-gold);
}

/* Article Reading View */
.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rcs-border);
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--rcs-text-muted);
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--rcs-text);
}

.article-content h2 {
  font-size: 1.65rem;
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  color: var(--rcs-navy);
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--rcs-border);
}

.article-content h3 {
  font-size: 1.35rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--rcs-navy);
}

.article-content ul, .article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.key-takeaway-box {
  background: var(--rcs-light-subtle);
  border-left: 4px solid var(--rcs-gold);
  border-radius: 4px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.faq-accordion-item {
  border: 1px solid var(--rcs-border);
  border-radius: 6px !important;
  margin-bottom: 0.85rem;
  overflow: hidden;
}

.faq-accordion-button {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--rcs-navy);
  background-color: var(--rcs-light-subtle);
  padding: 1rem 1.25rem;
}

.faq-accordion-button:not(.collapsed) {
  color: var(--rcs-gold);
  background-color: var(--rcs-white);
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   13. Founder & About Cards
   -------------------------------------------------------------------------- */
.founder-image-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow-md);
  border: 2px solid var(--rcs-gold);
}

.founder-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.founder-badge-box {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(7, 27, 53, 0.98), rgba(7, 27, 53, 0.75), transparent);
  padding: 1.5rem 1.25rem 1rem 1.25rem;
  color: var(--rcs-white);
}

.founder-badge-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--rcs-white);
  margin-bottom: 0.2rem;
}

.founder-badge-role {
  color: var(--rcs-gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   14. Forms & Contact Controls
   -------------------------------------------------------------------------- */
.form-card {
  background: var(--rcs-white);
  border: 1px solid var(--rcs-border);
  border-radius: 8px;
  padding: 2.25rem 2rem;
  box-shadow: var(--box-shadow-md);
}

.form-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--rcs-navy);
  margin-bottom: 0.35rem;
}

.form-control, .form-select {
  font-size: 0.925rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--rcs-border);
  border-radius: 4px;
  color: var(--rcs-text);
  background-color: var(--rcs-white);
  transition: var(--transition-base);
}

.form-control:focus, .form-select:focus {
  border-color: var(--rcs-gold);
  box-shadow: 0 0 0 0.2rem rgba(197, 146, 53, 0.2);
  outline: none;
}

.form-notice {
  font-size: 0.825rem;
  color: var(--rcs-text-muted);
  line-height: 1.5;
}

/* Honeypot hidden input */
.honeypot-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  overflow: hidden !important;
  z-index: -1 !important;
}

/* --------------------------------------------------------------------------
   15. Floating Action Buttons (WhatsApp, Call, Scroll-to-Top)
   -------------------------------------------------------------------------- */
.floating-actions-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 9998;
}

.btn-floating-whatsapp {
  width: 48px;
  height: 48px;
  border-radius: 50% !important;
  background-color: var(--rcs-whatsapp) !important;
  border: 2px solid var(--rcs-whatsapp) !important;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  font-size: 1.45rem;
}

.btn-floating-whatsapp:hover,
.btn-floating-whatsapp:focus {
  background-color: var(--rcs-whatsapp-dark) !important;
  border-color: var(--rcs-whatsapp-dark) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
  transform: translateY(-3px) scale(1.06);
}

.btn-floating-call {
  width: 48px;
  height: 48px;
  border-radius: 50% !important;
  background-color: var(--rcs-gold) !important;
  border: 2px solid var(--rcs-gold) !important;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(197, 146, 53, 0.4);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  font-size: 1.25rem;
}

.btn-floating-call:hover,
.btn-floating-call:focus {
  background-color: var(--rcs-navy) !important;
  border-color: var(--rcs-navy) !important;
  color: var(--rcs-gold-light) !important;
  box-shadow: 0 6px 20px rgba(7, 27, 53, 0.45);
  transform: translateY(-3px) scale(1.06);
}

.btn-back-to-top {
  width: 48px;
  height: 48px;
  border-radius: 50% !important;
  background-color: var(--rcs-navy) !important;
  border: 2px solid var(--rcs-gold) !important;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(7, 27, 53, 0.35);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.btn-back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-back-to-top:hover,
.btn-back-to-top:focus {
  background-color: var(--rcs-gold) !important;
  border-color: var(--rcs-gold) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(197, 146, 53, 0.45);
  transform: translateY(-3px) scale(1.06);
}

.btn-back-to-top svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.btn-back-to-top:hover svg {
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   16. Print Stylesheet
   -------------------------------------------------------------------------- */
@media print {
  .top-bar, .site-header, .site-footer, .btn, .floating-actions-container, .skip-link, .mega-menu-dropdown {
    display: none !important;
  }
  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 12pt;
  }
  h1, h2, h3, h4, h5, h6 {
    color: #000 !important;
  }
  .container {
    max-width: 100% !important;
    padding: 0 !important;
  }
}

/* --------------------------------------------------------------------------
   17. Legal Insights Pagination & Team Profile Cards
   -------------------------------------------------------------------------- */
.pagination-wrapper {
  background: var(--rcs-light-subtle);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--rcs-border);
}

.pagination .page-link {
  color: var(--rcs-navy);
  border: 1px solid var(--rcs-border);
  background-color: var(--rcs-white);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.4rem 0.75rem;
  transition: var(--transition-base);
}

.pagination .page-link:hover {
  background-color: var(--rcs-gold-subtle);
  border-color: var(--rcs-gold);
  color: var(--rcs-navy);
}

.pagination .page-item.active .page-link {
  background-color: var(--rcs-gold) !important;
  border-color: var(--rcs-gold) !important;
  color: var(--rcs-white) !important;
  box-shadow: 0 2px 6px rgba(197, 146, 53, 0.35);
}

.pagination .page-item.disabled .page-link {
  color: var(--rcs-text-light);
  background-color: var(--rcs-light);
  border-color: var(--rcs-light-border);
  cursor: not-allowed;
  opacity: 0.6;
}

.team-card {
  background: var(--rcs-white);
  border: 1px solid var(--rcs-border);
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  box-shadow: var(--box-shadow-sm);
  transition: var(--transition-base);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--box-shadow-md);
  border-color: rgba(197, 146, 53, 0.4);
}


.team-card-photo-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: linear-gradient(135deg, var(--rcs-navy) 0%, var(--rcs-navy-light) 100%);
  color: var(--rcs-white);
  padding: 1.5rem;
  border-bottom: 3px solid var(--rcs-gold);
}

.team-card-avatar {
  width: 95px;
  height: 115px;
  border-radius: 6px;
  object-fit: cover;
  object-position: top center;
  border: 2px solid var(--rcs-gold);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  background-color: var(--rcs-navy-dark);
}

@media (max-width: 575.98px) {
  .team-card-photo-header {
    flex-direction: column;
    text-align: center;
    gap: 0.85rem;
  }
}

.team-card-header {
  background: linear-gradient(135deg, var(--rcs-navy) 0%, var(--rcs-navy-light) 100%);
  color: var(--rcs-white);
  padding: 1.5rem;
  border-bottom: 3px solid var(--rcs-gold);
}

.team-card-body {
  padding: 1.75rem 1.5rem;
}

.member-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--rcs-gold-light);
  background: rgba(197, 146, 53, 0.18);
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   Practice Areas Hub Jump Navigation & Overview Cards
   -------------------------------------------------------------------------- */
.jump-nav {
  position: sticky;
  top: 90px;
  background: var(--rcs-white);
  border: 1px solid var(--rcs-border);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(7, 27, 53, 0.07);
  overflow: hidden;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.jump-nav-header {
  background: linear-gradient(135deg, var(--rcs-navy) 0%, var(--rcs-navy-light) 100%);
  padding: 1.1rem 1.25rem;
  border-bottom: 3px solid var(--rcs-gold);
}

.jump-nav-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--rcs-gold-light);
  margin-bottom: 0.25rem;
}

.jump-nav-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rcs-white);
  margin: 0;
  line-height: 1.3;
}

.jump-nav-list {
  list-style: none !important;
  padding: 0.75rem !important;
  margin: 0 !important;
  max-height: calc(100vh - 220px);
  overflow-y: auto;
}

.jump-nav-list::-webkit-scrollbar {
  width: 5px;
}
.jump-nav-list::-webkit-scrollbar-track {
  background: #f1f3f6;
  border-radius: 4px;
}
.jump-nav-list::-webkit-scrollbar-thumb {
  background: #c5cdd8;
  border-radius: 4px;
}
.jump-nav-list::-webkit-scrollbar-thumb:hover {
  background: var(--rcs-gold);
}

.jump-nav-item {
  list-style: none !important;
  margin-bottom: 0.4rem;
}
.jump-nav-item:last-child {
  margin-bottom: 0;
}

.jump-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.6rem 0.8rem;
  background: var(--rcs-light);
  border: 1px solid var(--rcs-light-border);
  border-radius: 8px;
  color: var(--rcs-navy);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
  transition: all 0.2s ease-in-out;
}

.jump-nav-link-content {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex: 1;
}

.jump-nav-link-icon {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 6px;
  background: rgba(197, 146, 53, 0.12);
  color: var(--rcs-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  transition: all 0.2s ease;
}

.jump-nav-link-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jump-nav-link-arrow {
  font-size: 0.72rem;
  color: var(--rcs-text-light);
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.jump-nav-link:hover,
.jump-nav-link:focus,
.jump-nav-link.active {
  background: var(--rcs-navy);
  border-color: var(--rcs-gold);
  color: var(--rcs-white) !important;
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(7, 27, 53, 0.15);
  text-decoration: none;
}

.jump-nav-link:hover .jump-nav-link-icon,
.jump-nav-link:focus .jump-nav-link-icon,
.jump-nav-link.active .jump-nav-link-icon {
  background: var(--rcs-gold);
  color: var(--rcs-navy);
}

.jump-nav-link:hover .jump-nav-link-arrow,
.jump-nav-link:focus .jump-nav-link-arrow,
.jump-nav-link.active .jump-nav-link-arrow {
  color: var(--rcs-gold-light);
  transform: translateX(3px);
}

.jump-nav-footer {
  padding: 0.9rem 1rem;
  background: var(--rcs-light-subtle);
  border-top: 1px solid var(--rcs-border);
  text-align: center;
}

.jump-nav-footer-title {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--rcs-navy);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.jump-nav-footer-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.45rem 0.75rem;
  background: var(--rcs-navy);
  color: var(--rcs-gold-light);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.jump-nav-footer-phone:hover {
  background: var(--rcs-gold);
  color: var(--rcs-navy);
  text-decoration: none;
}

.practice-overview-card {
  border: 1px solid var(--rcs-border) !important;
  border-radius: 12px !important;
  background: var(--rcs-white);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.practice-overview-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(7, 27, 53, 0.1) !important;
  border-color: var(--rcs-gold) !important;
}

.practice-card-icon-box {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mobile-practice-nav {
  background: #ffffff;
  border: 1px solid var(--rcs-border);
  border-radius: 10px;
}

.mobile-practice-pill {
  font-size: 0.78rem;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  border: 1px solid var(--rcs-border);
  background: var(--rcs-light);
  color: var(--rcs-navy);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}

.mobile-practice-pill:hover,
.mobile-practice-pill:focus {
  background: var(--rcs-navy);
  color: var(--rcs-gold-light);
  border-color: var(--rcs-navy);
}


/* ==========================================================================
   Bar Council of India Disclaimer Popup Modal
   ========================================================================== */
.disclaimer-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(4, 16, 33, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  padding-top: max(1rem, env(safe-area-inset-top));
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
  opacity: 0;
  transition: opacity 0.25s ease;
  box-sizing: border-box;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.disclaimer-modal-overlay.show {
  display: flex !important;
  opacity: 1 !important;
}

.disclaimer-modal-dialog {
  background: var(--rcs-white);
  max-width: 660px;
  width: 100%;
  max-height: calc(100dvh - 2rem);
  max-height: calc(100vh - 2rem);
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  border: 1.5px solid var(--rcs-gold);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  box-sizing: border-box;
  margin: auto;
  transform: translateY(15px) scale(0.98);
  transition: transform 0.25s ease;
}

.disclaimer-modal-overlay.show .disclaimer-modal-dialog {
  transform: translateY(0) scale(1);
}

.disclaimer-modal-header {
  background: linear-gradient(135deg, var(--rcs-navy) 0%, var(--rcs-navy-light) 100%);
  color: var(--rcs-white);
  padding: 1.25rem 1.5rem;
  border-bottom: 3px solid var(--rcs-gold);
  flex-shrink: 0;
}

.disclaimer-emblem {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(197, 146, 53, 0.2);
  border: 1.5px solid var(--rcs-gold);
  color: var(--rcs-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.disclaimer-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--rcs-gold-light);
  background: rgba(197, 146, 53, 0.18);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  margin-bottom: 0.25rem;
}

.disclaimer-modal-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--rcs-white);
  margin: 0;
  line-height: 1.3;
}

.disclaimer-modal-body {
  padding: 1.25rem 1.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--rcs-text-main);
  flex: 1 1 auto;
  min-height: 0;
  padding: 1.25rem 1.5rem 1.75rem 1.5rem;
}

.disclaimer-points-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.disclaimer-points-list li {
  margin-bottom: 0.65rem;
  padding-left: 0.25rem;
  color: var(--rcs-text-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.disclaimer-top-action-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.btn-disclaimer-accept {
  background-color: var(--rcs-gold);
  color: var(--rcs-white);
  border: 1px solid var(--rcs-gold);
  padding: 0.7rem 2.25rem;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  min-height: 44px;
  white-space: nowrap;
}

.btn-disclaimer-accept:hover, .btn-disclaimer-accept:focus {
  background-color: var(--rcs-gold-hover, #9F7220);
  border-color: var(--rcs-gold-hover, #9F7220);
  color: var(--rcs-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(197, 146, 53, 0.35);
}

@media (max-width: 575.98px) {
  .disclaimer-modal-overlay {
    padding: 0.5rem;
    padding-top: max(0.5rem, env(safe-area-inset-top));
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
    padding-left: max(0.5rem, env(safe-area-inset-left));
    padding-right: max(0.5rem, env(safe-area-inset-right));
  }
  .disclaimer-modal-dialog {
    max-height: calc(100dvh - 1.25rem);
    max-height: calc(100vh - 1.25rem);
    border-radius: 10px;
  }
  .disclaimer-modal-header {
    padding: 0.75rem 1rem;
  }
  .disclaimer-top-action-wrap {
    width: 100%;
    margin-top: 0.35rem;
  }
  .disclaimer-top-action-wrap .btn-disclaimer-accept {
    width: 100%;
    min-height: 44px;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
  }
  .disclaimer-emblem {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  .disclaimer-modal-title {
    font-size: 1rem;
  }
  .disclaimer-badge {
    font-size: 0.65rem;
  }
  .disclaimer-modal-body {
    padding: 0.85rem 1rem 1.25rem 1rem;
    font-size: 0.82rem;
    line-height: 1.4;
  }
  .disclaimer-points-list li {
    margin-bottom: 0.45rem;
    font-size: 0.8rem;
    line-height: 1.35;
  }
}

/* Math Captcha Anti-Spam Widget */
.math-captcha-card {
  background-color: var(--rcs-light-subtle, #f8fafc);
  border: 1px solid var(--rcs-border, #e2e8f0);
  border-left: 4px solid var(--rcs-gold, #c59235);
  border-radius: 6px;
  transition: all 0.2s ease-in-out;
}
.math-captcha-card:hover {
  border-color: #cbd5e1;
  border-left-color: var(--rcs-gold, #c59235);
}
.btn-outline-navy {
  color: var(--rcs-navy, #071b35);
  border-color: #cbd5e1;
  background: #ffffff;
  border-radius: 4px;
}
.btn-outline-navy:hover {
  background: var(--rcs-navy, #071b35);
  color: var(--rcs-gold, #c59235);
  border-color: var(--rcs-navy, #071b35);
}

/* Cookie Consent Notification Banner */
.cookie-consent-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
  background: var(--rcs-navy, #071B35);
  color: #FFFFFF;
  border: 1px solid rgba(197, 146, 53, 0.45);
  border-radius: 12px;
  box-shadow: 0 14px 38px rgba(7, 27, 53, 0.55);
  z-index: 1040;
  padding: 1rem 1.4rem;
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.cookie-consent-banner.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.cookie-consent-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cookie-consent-text {
  flex: 1 1 auto;
}
.cookie-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
}
.cookie-desc {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.45;
}
.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .cookie-consent-banner {
    bottom: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    padding: 0.9rem 1rem;
    padding-bottom: max(0.9rem, env(safe-area-inset-bottom));
  }
  .cookie-consent-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .cookie-consent-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }
  .cookie-consent-actions .btn {
    width: 100%;
  }
}
