/* ==========================================================================
   ADV. KEDAR BHOI - OFFICIAL PERSONAL WEBSITE
   Bespoke Light Theme Design System
   Inspired by Reference Design (Clean, Human, Authoritative)
   ========================================================================== */

:root {
  /* Brand Colors - Official Red #a80b0b matching Logo */
  --color-primary: #a80b0b;
  --color-primary-light: #c21313;
  --color-primary-dark: #8e0909;
  --color-crimson: #a80b0b;
  --color-crimson-light: #c21313;
  --color-crimson-bg: #fdf2f2;
  
  --color-gold: #a80b0b;
  --color-gold-dark: #a80b0b;
  --color-gold-light: #fdf2f2;
  --color-gold-glow: rgba(168, 11, 11, 0.25);

  /* Surfaces & Backgrounds (Light Theme) */
  --bg-page: #ffffff;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f8fafc;
  --bg-warm-hero: linear-gradient(135deg, #1f0404 0%, #2b0707 50%, #111827 100%);
  --bg-hero-accent: linear-gradient(135deg, #8e0909 0%, #a80b0b 50%, #c21313 100%);
  
  /* Borders */
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-gold: rgba(168, 11, 11, 0.35);

  /* Typography Colors */
  --text-main: #a80b0b;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-white: #ffffff;
  --text-gold: #a80b0b;

  /* Fonts */
  --font-serif: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-devanagari: 'Noto Serif Devanagari', 'Cinzel', Georgia, serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 15px -3px rgba(0, 0, 0, 0.07), 0 2px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 28px -5px rgba(0, 0, 0, 0.08), 0 8px 12px -6px rgba(0, 0, 0, 0.04);
  --shadow-float: 0 20px 35px -10px rgba(168, 11, 11, 0.15);

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

:root {
  --site-header-height: 72px;
}

@media (max-width: 768px) {
  :root {
    --site-header-height: 56px;
  }
}

html {
  font-size: 18px; /* Increased font scale */
  color-scheme: light;
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: #ffffff;
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

/* Refined, Prestigious Heading Typography (Balanced, Smaller Scale) */
h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  font-weight: 800;
  line-height: 1.26;
  color: #0f172a;
}

h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  font-weight: 800;
  line-height: 1.28;
  color: #0f172a;
}

h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 700;
  line-height: 1.32;
  color: #a80b0b;
}

h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: #a80b0b;
}

h5, h6 {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  color: #0f172a;
}

.brand-title,
.card-title,
.feature-title {
  color: #a80b0b !important;
  font-family: var(--font-serif);
  font-weight: 800;
  line-height: 1.28;
}

.section-main-title {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem) !important;
  color: #0f172a !important;
  font-family: var(--font-serif);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 8px;
}

.section-tagline {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #a80b0b !important;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-block;
}

.section-subtitle,
.page-subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  color: #a80b0b !important;
  margin-bottom: 16px;
  line-height: 1.5;
}

.gold-highlight, .highlight-text, strong.highlight {
  color: #a80b0b !important;
}

/* ==========================================================================
   ENGLISH TYPOGRAPHY OVERRIDE (Refined, Executive & Proportional Scale)
   ========================================================================== */
html[lang="en"] {
  font-size: 15.5px !important;
}

html[lang="en"] body {
  font-size: 0.98rem !important;
  line-height: 1.66 !important;
  letter-spacing: -0.01em;
}

html[lang="en"] h1,
html[lang="en"] .hero-title,
html[lang="en"] .section-main-title {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem) !important;
  line-height: 1.25 !important;
  letter-spacing: 0.2px !important;
}

html[lang="en"] h2 {
  font-size: clamp(1.18rem, 1.7vw, 1.5rem) !important;
  line-height: 1.28 !important;
}

html[lang="en"] h3 {
  font-size: clamp(1.02rem, 1.3vw, 1.22rem) !important;
  line-height: 1.32 !important;
}

html[lang="en"] h4 {
  font-size: 0.95rem !important;
}

html[lang="en"] .hero-profile-tag {
  font-size: 0.95rem !important;
  margin-bottom: 14px !important;
}

html[lang="en"] .hero-desc {
  font-size: 0.95rem !important;
  line-height: 1.7 !important;
  max-width: 620px !important;
  margin-bottom: 24px !important;
}

html[lang="en"] .hero-badge {
  font-size: 0.78rem !important;
  padding: 5px 14px !important;
  letter-spacing: 0.8px !important;
}

html[lang="en"] .section-tagline {
  font-size: 0.76rem !important;
  letter-spacing: 1.6px !important;
}

html[lang="en"] .section-subtitle,
html[lang="en"] .page-subtitle {
  font-size: 0.92rem !important;
  margin-bottom: 14px !important;
}

html[lang="en"] p {
  font-size: 0.95rem !important;
  line-height: 1.66 !important;
}

html[lang="en"] .lead-text {
  font-size: 1.02rem !important;
  line-height: 1.68 !important;
}

html[lang="en"] .nav-single-link {
  font-size: 0.83rem;
  letter-spacing: -0.01em;
}

html[lang="en"] .brand-single-name {
  font-size: 1.18rem;
}

html[lang="en"] .brand-single-sub {
  font-size: 0.76rem !important;
}

html[lang="en"] .float-card-metric {
  font-size: 1.45rem !important;
}

html[lang="en"] .float-card-title {
  font-size: 0.9rem !important;
}

html[lang="en"] .float-card-body {
  font-size: 0.88rem !important;
  line-height: 1.58 !important;
}

html[lang="en"] .btn {
  font-size: 0.88rem !important;
  padding: 10px 18px !important;
}

html[lang="en"] .btn-sm {
  font-size: 0.78rem !important;
  padding: 6px 12px !important;
}

html[lang="en"] .motto-meaning {
  font-size: 0.85rem !important;
}

html[lang="en"] .book-card-title,
html[lang="en"] .initiative-card-title {
  font-size: 1.15rem !important;
}

html[lang="en"] .bci-box {
  font-size: 0.8rem !important;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Announcement / Info Bar */
.top-bar {
  background: #0f172a;
  color: #94a3b8;
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
  text-decoration: none;
}

.top-bar-item:hover {
  color: #ffffff;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Language Switcher */
.lang-switcher-top {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 2px 4px;
  gap: 2px;
}

.lang-btn-top {
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  color: #cbd5e1;
  transition: all var(--transition);
}

.lang-btn-top.active {
  background: var(--color-gold);
  color: #0f172a;
  font-weight: 700;
}

.lang-btn-top:hover:not(.active) {
  color: #ffffff;
}

/* Site Header (Sticky Across Desktop, Tablet & Mobile) */
.site-header {
  background: #ffffff !important;
  border-bottom: 1.5px solid var(--border-light);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 99999;
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 20px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.brand-logo-img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-gold);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  background: #ffffff;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--color-primary);
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-gold-dark);
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.header-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--color-crimson-bg);
  border: 1px solid rgba(139, 20, 25, 0.2);
  color: var(--color-crimson);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-crimson);
  box-shadow: 0 0 0 3px rgba(139, 20, 25, 0.2);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all var(--transition);
}

.btn-primary,
.btn-gold {
  background: #a80b0b !important;
  color: #ffffff !important;
  border: 1.5px solid #8e0909 !important;
  box-shadow: 0 4px 14px rgba(168, 11, 11, 0.25);
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Noticeable Button Hover: changes distinctly from Red to Executive Slate Black #0f172a */
.btn-primary:hover,
.btn-gold:hover {
  background: #0f172a !important;
  border-color: #0f172a !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.28) !important;
}

.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-outline-light:hover {
  background: #a80b0b !important;
  border-color: #a80b0b !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(168, 11, 11, 0.25) !important;
}

.btn-outline-dark {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1 !important;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Noticeable Button Hover: changes distinctly from White to Theme Red #a80b0b */
.btn-outline-dark:hover {
  background: #a80b0b !important;
  border-color: #a80b0b !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(168, 11, 11, 0.25) !important;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* ==========================================================================
   HERO SECTION & DYNAMIC SLIDER (Light Theme + Warm Executive Contrast)
   ========================================================================== */
/* ==========================================================================
   HERO SECTION - CINEMATIC FULL-WIDTH BACKGROUND SLIDER
   Matching Sample Design: Full-bleed photo, Dark Gradient Overlay,
   Left-Aligned Clean Typography, White Pill Primary CTA & Glass Secondary CTA
   ========================================================================== */
.hero-wrapper,
.hero-cinematic-wrapper {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: var(--site-header-height, 72px) !important;
  z-index: 1 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: calc(100vh - var(--site-header-height, 72px)) !important;
  max-height: calc(100vh - var(--site-header-height, 72px)) !important;
  min-height: 520px;
  overflow: hidden;
  background: #0b1120;
  padding: 0 !important;
  margin: 0 !important;
  border-bottom: 2px solid rgba(168, 11, 11, 0.4);
}

.main-content-flow {
  position: relative !important;
  z-index: 10 !important;
  width: 100% !important;
  display: block;
}

.hero-slider-track {
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hero-slide,
.hero-cinematic-slide {
  display: none !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  position: relative;
  opacity: 0;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
}

.hero-slide.active,
.hero-cinematic-slide.active {
  display: block !important;
  opacity: 1;
  animation: heroCinematicFade 0.5s ease-in-out forwards;
}

.hero-slide-link,
.hero-slide-picture {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  text-decoration: none !important;
}

.hero-slide-img {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
  will-change: transform;
  transform-origin: center center;
  transform: scale(1.02) translate3d(0, 0, 0);
  transition: transform 0.05s linear;
}

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

.hero-cinematic-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(11, 17, 32, 0.94) 0%, rgba(11, 17, 32, 0.82) 42%, rgba(11, 17, 32, 0.42) 75%, rgba(11, 17, 32, 0.20) 100%);
  pointer-events: none;
  z-index: 2;
}

.hero-cinematic-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  z-index: 3;
  width: 100%;
  max-width: 1240px;
  padding: 40px 24px;
  margin: 0 auto;
}

.hero-cinematic-content {
  max-width: 680px;
  text-align: left;
}

.hero-cinematic-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
}

.hero-cinematic-title {
  font-family: var(--font-devanagari);
  font-size: clamp(2.15rem, 3.8vw, 3.15rem) !important;
  font-weight: 800;
  line-height: 1.22;
  color: #ffffff !important;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-cinematic-title.lang-en {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.2vw, 2.75rem) !important;
}

.hero-cinematic-title span.gold-highlight,
.hero-cinematic-title em,
.hero-cinematic-title .highlight-text {
  color: #facc15 !important;
  font-style: italic;
  font-family: 'Playfair Display', Georgia, serif;
  display: inline;
  background: none !important;
  -webkit-text-fill-color: initial !important;
}

.hero-cinematic-sub {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: 0.4px;
  margin-bottom: 16px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-cinematic-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
  margin-bottom: 30px;
  max-width: 630px;
  font-weight: 400;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-cinematic-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-cinematic-solid {
  background: #ffffff;
  color: #0f172a !important;
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-cinematic-solid:hover {
  background: #f8fafc;
  color: #a80b0b !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.btn-cinematic-outline {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-cinematic-outline:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.btn-arrow {
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.btn-cinematic-solid:hover .btn-arrow,
.btn-cinematic-outline:hover .btn-arrow {
  transform: translateX(4px);
}

/* Slider Prev / Next Navigation Buttons */
.hero-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.55);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
  outline: none;
}

.hero-slider-nav:hover {
  background: #ffffff;
  color: #a80b0b;
  border-color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transform: translateY(-50%) scale(1.08);
}

.hero-slider-nav:active {
  transform: translateY(-50%) scale(0.96);
}

.hero-slider-prev {
  left: 24px;
}

.hero-slider-next {
  right: 24px;
}

/* Slider Dot Indicators */
.hero-slider-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  z-index: 12;
  background: rgba(15, 23, 42, 0.55);
  padding: 6px 14px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  transition: opacity 0.25s ease;
}

.hero-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  outline: none;
}

.hero-slider-dot.active {
  width: 32px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.7);
}

.hero-slider-dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.8);
}

@media (max-width: 1260px) {
  .hero-slider-prev {
    left: 12px;
  }
  .hero-slider-next {
    right: 12px;
  }
}

@media (max-width: 900px) {
  .hero-cinematic-overlay {
    background: rgba(11, 17, 32, 0.88);
  }
  .hero-cinematic-container {
    padding: 30px 16px;
  }
  .hero-slider-nav {
    display: none;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: #fdf2f2;
  border: 1.5px solid #fecdd3;
  color: #a80b0b;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 2.7vw, 2.2rem) !important;
  font-weight: 800;
  line-height: 1.28;
  color: #0f172a !important;
  margin-bottom: 14px;
}

.hero-title span.gold-highlight,
.hero-title .highlight-text {
  color: #a80b0b !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
  display: inline-block;
}

.hero-profile-tag {
  font-size: 1.12rem;
  font-weight: 800;
  color: #a80b0b !important;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.hero-desc {
  font-size: 1.12rem;
  color: #334155;
  line-height: 1.85;
  margin-bottom: 32px;
  max-width: 650px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Right Seal Card */
.hero-seal-card {
  background: #ffffff;
  border: 1.5px solid #ebdcc5;
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(168, 11, 11, 0.08);
  position: relative;
}

.seal-img-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.seal-img-main {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  object-fit: cover;
  background: #ffffff;
  border: 3.5px solid #a80b0b;
  box-shadow: 0 8px 24px rgba(168, 11, 11, 0.15);
}

.motto-banner-hero {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 8px;
  background: #fdf2f2;
  border: 1.5px solid #fecdd3;
  margin-bottom: 10px;
}

.motto-banner-hero .motto-text {
  font-family: var(--font-devanagari);
  font-size: 1.35rem;
  font-weight: 800;
  color: #a80b0b;
  letter-spacing: 2px;
}

.motto-meaning {
  font-size: 0.95rem;
  color: #64748b;
  font-style: italic;
  font-weight: 600;
}

/* ==========================================================================
   MILESTONE SECTION WITH CLOUD BACKGROUND & BRAND CARD
   ========================================================================== */
.hero-cloud-section {
  position: relative;
  width: 100%;
  background: transparent;
  margin-top: 0;
  padding-top: 15px;
  padding-bottom: 60px;
  z-index: 20;
}

.hero-cloud-section::before {
  content: '';
  position: absolute;
  top: 140px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  z-index: 1;
}

.hero-cloud-backdrop {
  position: absolute;
  top: -180px;
  left: 0;
  right: 0;
  width: 100%;
  height: clamp(380px, 45vw, 540px);
  z-index: 2;
  pointer-events: none;
  overflow: visible;
  will-change: transform;
  transform: translate3d(0, 180px, 0);
}

.hero-cloud-img {
  width: 100%;
  min-width: 1400px;
  height: 100%;
  object-fit: fill;
  display: block;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 -16px 32px rgba(0, 0, 0, 0.18));
}

.hero-cloud-brand {
  position: relative;
  z-index: 28;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -30px;
  margin-bottom: 24px;
  pointer-events: auto;
  will-change: transform, opacity;
  transition: opacity 0.15s ease-out;
  transform: translate3d(0, 150px, 0);
}

.hero-cloud-brand-card {
  background: #ffffff;
  padding: 18px 40px 20px;
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1.5px solid #ebdcc5;
  text-align: center;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  max-width: 90%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-cloud-brand-card:hover {
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.16), 0 4px 14px rgba(0, 0, 0, 0.06);
}

.hero-cloud-seal {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2.5px solid #a80b0b;
  box-shadow: 0 6px 18px rgba(168, 11, 11, 0.16);
  background: #ffffff;
  margin: 0 auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hero-cloud-seal:hover {
  transform: scale(1.06) rotate(3deg);
}

.hero-cloud-tagline {
  font-family: var(--font-devanagari);
  font-size: 0.95rem;
  font-weight: 800;
  color: #a80b0b;
  letter-spacing: 2.5px;
  margin-top: 8px;
}

.hero-cloud-title {
  font-family: var(--font-devanagari);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-top: 2px;
}

@media (max-width: 900px) {
  .hero-slider-dots {
    bottom: 24px;
  }
  .hero-cloud-section {
    margin-top: 0;
    padding-top: 15px;
    padding-bottom: 45px;
  }
  .hero-cloud-section::before {
    top: 110px;
  }
  .hero-cloud-backdrop {
    top: -140px;
    height: clamp(260px, 34vw, 360px);
    transform: translate3d(0, 140px, 0);
  }
  .hero-cloud-brand {
    margin-top: -20px;
    margin-bottom: 20px;
    transform: translate3d(0, 110px, 0);
  }
  .hero-cloud-brand-card {
    padding: 14px 26px 16px;
    border-radius: 16px;
  }
  .hero-cloud-seal {
    width: 54px;
    height: 54px;
  }
  .hero-cloud-tagline {
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin-top: 6px;
  }
  .hero-cloud-title {
    font-size: 1.02rem;
  }
}

/* Dedicated Mobile Rules (< 768px): Hide Cloud Image & Manage Slider Viewport (Full Width, Auto Height) */
@media (max-width: 768px) {
  .hero-wrapper,
  .hero-cinematic-wrapper,
  #heroSlider.hero-wrapper,
  #heroSlider.hero-cinematic-wrapper {
    position: relative !important;
    top: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    background: #0b1120 !important;
    padding: 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid rgba(168, 11, 11, 0.2) !important;
  }

  .hero-slider-track,
  #heroSlider .hero-slider-track {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .hero-slide,
  .hero-cinematic-slide,
  #heroSlider .hero-slide,
  #heroSlider .hero-cinematic-slide {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .hero-slide.active,
  .hero-cinematic-slide.active,
  #heroSlider .hero-slide.active,
  #heroSlider .hero-cinematic-slide.active {
    display: block !important;
    height: auto !important;
  }

  .hero-slide-link,
  .hero-slide-picture,
  #heroSlider .hero-slide-link,
  #heroSlider .hero-slide-picture,
  #heroSlider a,
  #heroSlider picture {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .hero-slide-img,
  #heroSlider .hero-slide-img {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: block !important;
    object-fit: contain !important;
    transform: none !important;
  }

  .hero-cloud-backdrop {
    display: none !important;
  }

  .hero-cloud-section {
    margin-top: 0 !important;
    padding-top: 20px !important;
    padding-bottom: 35px !important;
    background: #ffffff !important;
  }

  .hero-cloud-section::before {
    top: 0 !important;
  }

  .hero-cloud-brand {
    transform: none !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
  }

  .hero-slider-dots,
  #heroSlider .hero-slider-dots {
    position: absolute !important;
    bottom: 8px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 20 !important;
    background: rgba(0, 0, 0, 0.45) !important;
    padding: 3px 8px !important;
    border-radius: 9999px !important;
    max-width: 85vw !important;
    display: flex !important;
    gap: 6px !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .hero-slider-dot,
  #heroSlider .hero-slider-dot {
    width: 8px !important;
    height: 8px !important;
  }

  .hero-slider-dot.active,
  #heroSlider .hero-slider-dot.active {
    width: 20px !important;
  }

  .hero-slider-nav,
  #heroSlider .hero-slider-nav {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .hero-cloud-backdrop {
    display: none !important;
  }
  .hero-cloud-brand {
    margin-top: 0 !important;
    margin-bottom: 16px !important;
    transform: none !important;
  }
  .hero-cloud-brand-card {
    padding: 12px 20px 14px;
    border-radius: 14px;
  }
}

/* ==========================================================================
   THREE FLOATING MILESTONE CARDS (Reference Design Inspired)
   ========================================================================== */
.floating-cards-section {
  margin-top: 24px;
  position: relative;
  z-index: 10;
  margin-bottom: 60px;
}

.floating-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
  position: relative;
  z-index: 26;
  will-change: transform;
}

.feature-float-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 30px 24px;
  box-shadow: var(--shadow-float);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  border-top: 4px solid var(--color-gold);
}

.feature-float-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 45px -10px rgba(15, 23, 42, 0.16);
  border-top-color: var(--color-crimson);
}

.float-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.float-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-dark);
  flex-shrink: 0;
}

.float-card-icon svg {
  width: 26px;
  height: 26px;
}

.float-card-metric {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a !important;
  line-height: 1.15;
}

.float-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #a80b0b !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.float-card-body {
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ==========================================================================
   GENERALIZED OVERVIEW SECTION (Clean White & Slate)
   ========================================================================== */
.overview-section {
  padding: 40px 0 70px;
}

.section-head-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.section-lead-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.overview-grid-light {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.overview-pillar-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  gap: 20px;
}

.overview-pillar-box:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md);
}

.pillar-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-dark);
  flex-shrink: 0;
}

.pillar-content h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.pillar-content p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* ==========================================================================
   LAUNCH NOTIFICATION BOX (Warm Executive Card)
   ========================================================================== */
.subscribe-card-light {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: 18px;
  padding: 44px 36px;
  max-width: 820px;
  margin: 20px auto 60px;
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.subscribe-card-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-crimson), var(--color-gold));
}

.subscribe-card-light h3 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}

.subscribe-card-light p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 28px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.subscribe-form-row {
  display: flex;
  gap: 12px;
  max-width: 580px;
  margin: 0 auto 16px;
}

.form-input-light {
  flex: 1;
  background: #ffffff;
  border: 1.5px solid var(--border-medium);
  border-radius: 8px;
  padding: 13px 18px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-main);
  outline: none;
  transition: all var(--transition);
}

.form-input-light:focus {
  border-color: var(--color-gold-dark);
  box-shadow: 0 0 0 3px var(--color-gold-glow);
}

.interest-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-body);
}

.checkbox-label input {
  accent-color: var(--color-crimson);
  width: 16px;
  height: 16px;
}

.form-feedback-box {
  margin-top: 14px;
  font-size: 0.92rem;
  display: none;
  padding: 12px 18px;
  border-radius: 8px;
}

.form-feedback-box.success {
  display: block;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.form-feedback-box.error {
  display: block;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* ==========================================================================
   OFFICE ADDRESS & CONTACT STRIP
   ========================================================================== */
.office-strip {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 24px 30px;
  max-width: 1000px;
  margin: 0 auto 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}

.office-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.office-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-crimson-bg);
  border: 1px solid rgba(139, 20, 25, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-crimson);
  flex-shrink: 0;
}

.office-details h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 4px;
}

.office-details p {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-main);
}

/* ==========================================================================
   FOOTER (Clean, Compliant & Centered)
   ========================================================================== */
.site-footer-light {
  position: relative !important;
  z-index: 30 !important;
  width: 100% !important;
  display: block !important;
  clear: both !important;
  margin-top: 0 !important;
  background: #0f172a !important;
  color: #94a3b8;
  padding: 50px 0 24px;
  border-top: 1px solid #1e293b;
  text-align: center;
}

.site-footer-light .container {
  text-align: center;
}

.site-footer-light h4 {
  text-align: center;
}

.site-footer-light p {
  text-align: center;
}

.site-footer-light ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.site-footer-light ul li {
  text-align: center;
}

.footer-quick-links {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  text-align: center;
  width: 100%;
}

.footer-quick-links li {
  text-align: center;
}

.footer-quick-links li a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-quick-links li a:hover {
  color: #ffffff;
}

@media (max-width: 768px) {
  .footer-quick-links {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px 16px !important;
    width: 100% !important;
    max-width: 380px !important;
    margin: 0 auto !important;
    text-align: center !important;
    justify-items: center !important;
  }
  .footer-quick-links li {
    text-align: center !important;
    width: 100% !important;
  }
  .footer-quick-links li a {
    display: block !important;
    padding: 3px 4px !important;
    font-size: 0.84rem !important;
    line-height: 1.4 !important;
  }
}

.bci-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 0.82rem;
  line-height: 1.6;
  margin: 0 auto 24px;
  max-width: 900px;
  color: #94a3b8;
  text-align: center;
}

.bci-box strong {
  color: #e2e8f0;
}

.footer-bottom-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  font-size: 0.86rem;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-row div {
  text-align: center;
}

.footer-bottom-row a {
  color: var(--color-gold);
  text-decoration: none;
}

.footer-bottom-row a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   MODAL STYLES (Light Theme)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content-light {
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 540px;
  padding: 36px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(20px) scale(0.96);
  transition: transform var(--transition);
}

.modal-overlay.active .modal-content-light {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 6px;
}

.modal-close-btn:hover {
  color: var(--text-main);
}

.modal-title-light {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.modal-sub-light {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.form-group-light {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-label-light {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-main);
}

textarea.form-input-light {
  min-height: 95px;
  resize: vertical;
}

/* ==========================================================================
   RESPONSIVE GRID UTILITIES & MOBILE-FIRST ARCHITECTURE
   ========================================================================== */
.res-grid-2-equal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.res-grid-split {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
}

.res-grid-split-rev {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 40px;
  align-items: center;
}

.res-grid-book {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 40px;
  align-items: center;
}

.res-grid-2-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.res-form-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.res-grid-counter {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  align-items: center;
}

/* Base image & container containment */
img {
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   AREA OF PRACTICE / कार्यक्षेत्रे (Custom Chamber Practice Grid)
   ========================================================================== */
.practice-areas-section {
  background: linear-gradient(180deg, #fdfbf7 0%, #f6f1ea 100%);
  padding: 80px 0 90px;
  border-top: 1px solid #ebd9c8;
  border-bottom: 1px solid #ebd9c8;
  position: relative;
}

.practice-areas-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  max-width: 90vw;
  height: 350px;
  background: radial-gradient(circle, rgba(168, 11, 11, 0.035) 0%, rgba(197, 160, 89, 0.025) 50%, transparent 70%);
  pointer-events: none;
}

.practice-header-box {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 46px;
  position: relative;
  z-index: 2;
}

.practice-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e2d4c4;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #a80b0b;
  text-transform: uppercase;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.practice-custom-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.3px;
  margin: 0 0 12px;
  line-height: 1.25;
}

.practice-gold-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 16px;
  max-width: 220px;
}

.practice-gold-separator::before,
.practice-gold-separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c5a059, transparent);
}

.practice-gold-separator .crest-mark {
  color: #a80b0b;
  font-size: 0.95rem;
  line-height: 1;
}

.practice-sub-desc {
  font-size: 0.96rem;
  line-height: 1.65;
  color: #475569;
  margin: 0 auto;
}

/* 3-Column Bespoke Grid (21 Cards) */
.practice-bespoke-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Individual Bespoke Practice Card */
.practice-bespoke-card {
  background: #ffffff;
  border: 1px solid #e6ded3;
  border-radius: 8px;
  padding: 16px 20px 18px 22px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 98px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  text-decoration: none;
  box-sizing: border-box;
}

/* Vertical Crimson-to-Gold Accent Spine */
.practice-bespoke-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #a80b0b 0%, #c5a059 100%);
  transition: width 0.25s ease;
}

.practice-card-topbar {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.practice-card-index {
  font-family: var(--font-serif);
  font-size: 0.76rem;
  font-weight: 800;
  color: #8f6b32;
  letter-spacing: 0.5px;
  background: #fbf7f0;
  border: 1px solid #eedecb;
  padding: 2px 7px;
  border-radius: 4px;
  line-height: 1.25;
}

.practice-card-title-text {
  font-family: 'Plus Jakarta Sans', 'Noto Serif Devanagari', sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.48;
  margin: 0;
  transition: color 0.22s ease;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Hover State */
.practice-bespoke-card:hover {
  transform: translateY(-3px);
  border-color: #d6b8a8;
  box-shadow: 0 10px 24px rgba(168, 11, 11, 0.08), 0 2px 6px rgba(0, 0, 0, 0.03);
  background: #ffffff;
}

.practice-bespoke-card:hover::before {
  width: 6px;
}

.practice-bespoke-card:hover .practice-card-title-text {
  color: #a80b0b;
}

.practice-bespoke-card:hover .practice-card-index {
  background: #fdf2f2;
  border-color: #f5c2c2;
  color: #a80b0b;
}

/* Bottom Chamber Consultation Banner */
.practice-bottom-cta {
  margin-top: 45px;
  background: #ffffff;
  border: 1.5px solid #e6ded3;
  border-radius: 10px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

.practice-bottom-cta-text h4 {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px;
}

.practice-bottom-cta-text p {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 36px;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-row {
    justify-content: center;
  }
  .hero-seal-card {
    max-width: 360px;
    margin: 0 auto;
  }
  .floating-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 18px;
    margin-top: 0;
  }
  .overview-grid-light {
    grid-template-columns: 1fr !important;
  }
  .res-grid-2-equal,
  .res-grid-split,
  .res-grid-split-rev,
  .res-grid-book,
  .res-grid-counter {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }
  .practice-simple-grid {
    gap: 14px 18px !important;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: clip !important;
    width: 100%;
    max-width: 100%;
  }
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .hero-wrapper:not(#heroSlider) {
    padding: 35px 0 50px;
  }
  .hero-title {
    font-size: clamp(1.4rem, 5.2vw, 1.8rem) !important;
    line-height: 1.35 !important;
  }
  .hero-profile-tag {
    font-size: 0.98rem !important;
    margin-bottom: 14px;
  }
  .hero-desc {
    font-size: 0.95rem !important;
    line-height: 1.75 !important;
    margin-bottom: 24px;
  }
  .hero-cta-row {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .hero-cta-row .btn {
    width: 100%;
    justify-content: center;
  }
  .floating-cards-section {
    margin-top: 20px;
    padding-bottom: 25px;
  }
  .feature-float-card {
    padding: 22px 18px !important;
    border-radius: 12px;
  }
  .float-card-metric {
    font-size: 1.3rem !important;
  }
  .float-card-title {
    font-size: 0.88rem !important;
  }
  .float-card-body {
    font-size: 0.9rem !important;
  }
  .section-card-pad {
    padding: 26px 18px !important;
    border-radius: 14px !important;
  }
  .res-grid-2-equal,
  .res-grid-split,
  .res-grid-split-rev,
  .res-grid-book,
  .res-grid-counter,
  .res-grid-2-card,
  .res-form-2-col {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .section-main-title {
    font-size: clamp(1.25rem, 5vw, 1.6rem) !important;
  }
  .section-subtitle {
    font-size: 0.98rem !important;
  }
@media (max-width: 1100px) {
  .practice-bespoke-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}

  .practice-areas-section {
    padding: 55px 0 65px !important;
  }
  .practice-header-box {
    margin-bottom: 32px !important;
  }
  .practice-custom-heading {
    font-size: clamp(1.6rem, 5vw, 2.1rem) !important;
  }
  .practice-sub-desc {
    font-size: 0.9rem !important;
  }
  .practice-bespoke-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .practice-bespoke-card {
    padding: 15px 18px 16px 20px !important;
    min-height: 80px !important;
  }
  .practice-card-title-text {
    font-size: 0.91rem !important;
  }
  .practice-bottom-cta {
    flex-direction: column !important;
    text-align: center !important;
    padding: 20px 18px !important;
    gap: 16px !important;
  }
  .practice-bottom-cta .btn {
    width: 100% !important;
    justify-content: center !important;
  }
  .office-strip {
    flex-direction: column;
    text-align: center;
  }
  .office-info {
    flex-direction: column;
    text-align: center;
  }
  .subscribe-form-row {
    flex-direction: column;
  }
  .modal-content-light {
    padding: 24px 18px !important;
    width: 92% !important;
    margin: 20px auto;
  }
  .header-status-badge {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-badge {
    font-size: 0.76rem;
    padding: 4px 8px;
  }
  .btn {
    padding: 10px 16px;
    font-size: 0.86rem;
  }
  .seal-img-main {
    width: 130px !important;
    height: 130px !important;
  }
  .book-mockup-wrap {
    width: 220px !important;
    height: 310px !important;
  }
}

/* Mobile Drawer & Toggle System */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: #a80b0b;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu-toggle svg {
  pointer-events: none;
  display: block;
}
.mobile-menu-toggle .icon-close {
  display: none;
}
.mobile-menu-toggle.active .icon-menu {
  display: none;
}
.mobile-menu-toggle.active .icon-close {
  display: block;
}

@media (max-width: 1260px) {
  .site-header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
  }
  .header-inner-single {
    position: static !important;
  }
  .mobile-menu-toggle {
    display: inline-flex !important;
  }
  .nav-single-row {
    display: none !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    padding: 16px 24px 24px;
    border-bottom: 2px solid #e2e8f0;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
    gap: 6px;
    text-align: left;
    max-height: calc(100vh - 75px);
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box !important;
    z-index: 999999;
  }
  .nav-single-row.active {
    display: flex !important;
  }
  .nav-single-row li {
    width: 100%;
    box-sizing: border-box;
  }
  .nav-single-link {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 11px 14px;
    font-size: 1.02rem !important;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
  }
  .nav-single-link:hover, .nav-single-link.active {
    background: #fdf2f2;
    color: #a80b0b;
  }
  .nav-single-link.active::after {
    display: none;
  }
}
