/* ==========================================================================
   CHAMBERS OF ADVOCATE ANMOL GOYAL - LUXURY LEGAL DESIGN SYSTEM
   Theme: Midnight Navy, Regal Gold & Brass, Cinematic Court Backdrops
   Full Mobile-First Responsive Overhaul
   ========================================================================== */

/* --- Design Tokens --- */
:root {
  --primary-navy: #0b192c;
  --primary-dark: #060e18;
  --navy-light: #1e3e62;
  --navy-subtle: #f1f5f9;
  
  --gold: #c5a059;
  --gold-dark: #9b7936;
  --gold-light: #fefce8;
  --gold-accent: #eab308;
  
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-dark: #0b192c;
  --bg-dark-surface: #112238;
  
  --border-light: #e2e8f0;
  --border-gold: rgba(197, 160, 89, 0.45);
  
  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;
  --danger-red: #ef4444;
  
  --shadow-sm: 0 2px 6px rgba(11, 25, 44, 0.06);
  --shadow-md: 0 8px 20px rgba(11, 25, 44, 0.10);
  --shadow-lg: 0 16px 36px rgba(11, 25, 44, 0.16);
  --shadow-gold: 0 4px 20px rgba(197, 160, 89, 0.35);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --font-heading: 'Playfair Display', 'Cinzel', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.28s cubic-bezier(0.25, 0.8, 0.25, 1);
  --container-max: 1240px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
  color: var(--primary-navy);
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-padding {
  padding-top: 72px;
  padding-bottom: 72px;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--gold-dark);
  background: var(--gold-light);
  padding: 5px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  border: 1px solid var(--border-gold);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 12px;
  line-height: 1.25;
}

.section-subtitle {
  font-size: clamp(0.92rem, 2vw, 1.02rem);
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  white-space: nowrap;
  touch-action: manipulation;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-gold);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.45);
  filter: brightness(1.08);
}

.btn-navy {
  background: var(--primary-navy);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-outline {
  border: 1.5px solid var(--gold);
  color: var(--gold-dark);
  background: transparent;
}

.btn-outline:hover {
  background: var(--gold);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-danger {
  background: var(--danger-red);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
  background: #dc2626;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.84rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   1. Top Emergency Helpline Bar
   ========================================================================== */
.top-contact-bar {
  background: var(--primary-dark);
  color: #e2e8f0;
  font-size: 0.8rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(197, 160, 89, 0.3);
}

.top-bar-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

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

.top-bar-item a:hover {
  color: var(--gold);
}

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

.court-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--gold-accent);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

/* ==========================================================================
   2. Main Header & Navigation
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 16px;
  width: 100%;
}

.law-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.law-emblem {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-navy) 0%, #1e3e62 100%);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.law-title-text h1, .law-title-text .law-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.15;
  white-space: nowrap;
}

.law-byline {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gold-dark);
  white-space: nowrap;
}

.nav-links-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 20px;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
}

.nav-item-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  display: inline-block;
}

.nav-item-link:hover, .nav-item-link.active {
  color: var(--gold-dark);
}

.nav-item-link.active::after, .nav-item-link:hover::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  border-radius: var(--radius-full);
}

/* Mobile Hamburger Toggle */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  color: var(--primary-navy);
  font-size: 28px;
  padding: 6px;
  align-items: center;
  justify-content: center;
}

/* Mobile Drawer Overlay */
.mobile-nav-drawer {
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 25, 44, 0.98);
  backdrop-filter: blur(14px);
  z-index: 99;
  display: none;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  display: flex;
  animation: slideDownNav 0.25s ease forwards;
}

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

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.mobile-nav-links a {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-links a:hover {
  color: var(--gold-accent);
}

/* ==========================================================================
   3. Rich Hero Section with Ambient Background Court Architecture
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: var(--primary-navy);
  /* Atmospheric Supreme Court Architecture Background with Rich Navy Overlay */
  background-image: 
    linear-gradient(135deg, rgba(6, 14, 24, 0.92) 0%, rgba(11, 25, 44, 0.90) 50%, rgba(14, 34, 56, 0.94) 100%),
    url('../assets/images/supreme-court.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #ffffff;
  padding-top: 52px;
  padding-bottom: 64px;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-carousel-container {
  position: relative;
  width: 100%;
}

.hero-slides-wrapper {
  position: relative;
  min-height: 480px;
}

.hero-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.45s ease-in-out;
}

.hero-slide.active {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  opacity: 1;
  animation: fadeInSlide 0.45s ease forwards;
}

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

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 160, 89, 0.22);
  border: 1px solid rgba(197, 160, 89, 0.6);
  color: var(--gold-accent);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 800;
  line-height: 1.16;
  color: #ffffff;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-title .gold-gradient-text {
  background: linear-gradient(120deg, #fef08a 0%, var(--gold-accent) 50%, #fef08a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: #cbd5e1;
  line-height: 1.75;
  margin-bottom: 26px;
  max-width: 560px;
}

.hero-actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.stat-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.stat-box h4 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 800;
  color: var(--gold-accent);
  line-height: 1.1;
  margin-bottom: 2px;
}

.stat-box p {
  font-size: 0.74rem;
  color: #cbd5e1;
  font-weight: 600;
}

/* Slide Media Card */
.hero-media-wrapper {
  position: relative;
}

.hero-portrait-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6);
  border: 3px solid rgba(197, 160, 89, 0.5);
  background: #0e2238;
}

.hero-portrait-card img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.hero-portrait-card:hover img {
  transform: scale(1.02);
}

.hero-verified-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(11, 25, 44, 0.94);
  backdrop-filter: blur(10px);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(197, 160, 89, 0.5);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-verified-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.2);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.hero-verified-text h5 {
  font-size: 0.84rem;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.2;
}

.hero-verified-text p {
  font-size: 0.7rem;
  color: #cbd5e1;
}

/* Carousel Controls Bar */
.carousel-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  gap: 16px;
}

.carousel-nav-arrows {
  display: flex;
  gap: 10px;
}

.carousel-arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.carousel-arrow-btn:hover {
  background: var(--gold);
  color: var(--primary-navy);
}

.carousel-dots-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: var(--transition);
  cursor: pointer;
}

.carousel-dot.active {
  width: 28px;
  border-radius: var(--radius-full);
  background: var(--gold-accent);
  box-shadow: 0 0 10px var(--gold-accent);
}

.carousel-thumbnails-row {
  display: flex;
  gap: 10px;
}

.thumb-preview-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  color: #cbd5e1;
  font-size: 0.74rem;
  font-weight: 600;
  transition: var(--transition);
}

.thumb-preview-btn:hover, .thumb-preview-btn.active {
  background: rgba(197, 160, 89, 0.25);
  border-color: var(--gold);
  color: #ffffff;
}

/* ==========================================================================
   4. Court Admissions Ribbon
   ========================================================================== */
.courts-strip {
  background: linear-gradient(90deg, #9b7936 0%, #c5a059 50%, #9b7936 100%);
  color: #ffffff;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.courts-strip-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.courts-strip-label {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.courts-badges-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.court-pill {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   5. Interactive Case Timeline & Strategy Estimator Tool
   ========================================================================== */
.estimator-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--navy-subtle) 100%);
  border-bottom: 1px solid var(--border-light);
}

.estimator-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-md);
  padding: 32px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: start;
}

.estimator-controls h3 {
  font-size: 1.35rem;
  color: var(--primary-navy);
  margin-bottom: 6px;
}

.estimator-controls p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.estimator-step-group {
  margin-bottom: 16px;
}

.estimator-step-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.estimator-result-card {
  background: var(--primary-navy);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-lg);
}

.estimator-result-card h4 {
  font-size: 1.1rem;
  color: var(--gold-accent);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.estimator-metric-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.84rem;
}

.estimator-metric-row strong {
  color: #ffffff;
}

.estimator-metric-row span {
  color: #94a3b8;
}

.estimator-doc-list {
  list-style: none;
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.estimator-doc-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.45;
}

.estimator-doc-item .material-symbols-rounded {
  color: var(--gold);
  font-size: 15px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Category Chips for Document Checklists */
.cat-chip-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-light);
  background: #ffffff;
  color: var(--text-dark);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  touch-action: manipulation;
}

.cat-chip-btn:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.cat-chip-btn.active {
  background: var(--primary-navy);
  color: #ffffff;
  border-color: var(--primary-navy);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   6. Key Practice Areas Section
   ========================================================================== */
.practice-section {
  background: #ffffff;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.practice-card {
  background: var(--bg-page);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.practice-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  background: #ffffff;
}

.practice-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--navy-subtle);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 24px;
  transition: var(--transition);
}

.practice-card:hover .practice-icon-box {
  background: var(--gold);
  color: #ffffff;
  transform: rotate(6deg);
}

.practice-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 10px;
}

.practice-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
  flex-grow: 1;
}

.practice-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.practice-point-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
}

.practice-point-item .material-symbols-rounded {
  font-size: 15px;
  color: var(--gold-dark);
  flex-shrink: 0;
}

.practice-action-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-top: auto;
}

.practice-action-link:hover {
  color: var(--primary-navy);
  gap: 8px;
}

/* ==========================================================================
   7. About Advocate & Chambers Advantage
   ========================================================================== */
.about-section {
  background: var(--bg-page);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 52px;
}

.about-media-box {
  position: relative;
}

.about-main-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
}

.about-badge-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary-navy);
  color: #ffffff;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--gold);
  text-align: center;
}

.about-badge-card h4 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  color: var(--gold-accent);
  margin-bottom: 2px;
}

.about-badge-card span {
  font-size: 0.72rem;
  color: #cbd5e1;
  font-weight: 600;
  text-transform: uppercase;
}

.about-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 14px;
  line-height: 1.2;
}

.about-lead {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 14px;
}

.about-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 22px;
}

.advocate-credentials-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.credential-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--gold-light);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.credential-item h5 {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 2px;
}

.credential-item p {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ==========================================================================
   8. Legal Consultation Booking Section (with Ambient Chambers Background)
   ========================================================================== */
.consultation-section {
  position: relative;
  background-color: var(--primary-navy);
  background-image: 
    linear-gradient(135deg, rgba(6, 14, 24, 0.94) 0%, rgba(11, 25, 44, 0.92) 100%),
    url('../assets/images/court-chambers.jpg');
  background-position: center center;
  background-size: cover;
  color: #ffffff;
}

.consultation-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 44px;
  align-items: center;
}

.consultation-info-col h2 {
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  color: #ffffff;
  margin-bottom: 14px;
}

.consultation-info-col p {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.75;
  margin-bottom: 24px;
}

.consultation-benefits {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.benefit-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.benefit-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.2);
  color: var(--gold-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-text strong {
  display: block;
  font-size: 0.88rem;
  color: #ffffff;
}

.benefit-text span {
  font-size: 0.76rem;
  color: #94a3b8;
}

.consultation-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-lg);
  color: var(--text-dark);
}

.consultation-card h3 {
  font-size: 1.4rem;
  color: var(--primary-navy);
  margin-bottom: 4px;
}

.consultation-card .card-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.booking-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group.full-span {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.86rem;
  color: var(--text-dark);
  background: #ffffff;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2);
}

.form-textarea {
  resize: vertical;
  min-height: 64px;
}

/* Booking Success Screen */
.booking-success-box {
  display: none;
  text-align: center;
  padding: 20px 10px;
}

.success-icon {
  font-size: 52px;
  color: #16a34a;
  margin-bottom: 10px;
}

.token-badge {
  display: inline-block;
  background: var(--gold-light);
  border: 1.5px dashed var(--gold);
  padding: 8px 18px;
  border-radius: var(--radius-md);
  margin: 12px 0;
}

.token-badge strong {
  font-size: 1.25rem;
  color: var(--gold-dark);
}

/* ==========================================================================
   9. Client Testimonials & Google Reviews
   ========================================================================== */
.reviews-section {
  background: #ffffff;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.review-card {
  background: var(--bg-page);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.stars-rating {
  color: #f59e0b;
  letter-spacing: 1px;
}

.google-icon-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
}

.review-quote {
  font-size: 0.88rem;
  color: var(--text-dark);
  line-height: 1.65;
  margin-bottom: 18px;
  flex-grow: 1;
  font-style: italic;
}

.review-client-info {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
}

.client-avatar-initial {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.client-meta h5 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.client-meta span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ==========================================================================
   10. Frequently Asked Questions (FAQ) Accordion
   ========================================================================== */
.faq-section {
  background: var(--bg-page);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
}

.faq-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: #ffffff;
  font-weight: 700;
  color: var(--primary-navy);
  font-size: 0.94rem;
}

.faq-header:hover {
  color: var(--gold-dark);
}

.faq-icon {
  font-size: 20px;
  transition: transform 0.3s ease;
  color: var(--gold-dark);
}

.faq-card.open .faq-icon {
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 20px 16px;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.7;
  display: none;
}

.faq-card.open .faq-body {
  display: block;
}

/* ==========================================================================
   11. Mandatory Bar Council of India Disclaimer
   ========================================================================== */
.bci-disclaimer-strip {
  background: var(--navy-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 22px 0;
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.bci-disclaimer-inner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.bci-icon {
  font-size: 22px;
  color: var(--gold-dark);
  flex-shrink: 0;
}

/* ==========================================================================
   12. Footer
   ========================================================================== */
.main-footer {
  background: var(--primary-dark);
  color: #cbd5e1;
  padding-top: 56px;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.footer-desc {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-top: 10px;
}

.footer-heading {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 6px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--gold);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-list a {
  color: #94a3b8;
  font-size: 0.82rem;
}

.footer-links-list a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
}

.footer-contact-row .material-symbols-rounded {
  color: var(--gold);
  font-size: 17px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom-bar {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #64748b;
}

/* ==========================================================================
   13. Mobile Sticky Bottom Bar
   ========================================================================== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(11, 25, 44, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(197, 160, 89, 0.35);
  z-index: 990;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  align-items: center;
  justify-content: space-around;
  padding: 0 6px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.mobile-bar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #ffffff;
  font-size: 0.66rem;
  font-weight: 600;
  flex: 1;
  padding: 4px 0;
  touch-action: manipulation;
}

.mobile-bar-btn .material-symbols-rounded {
  font-size: 20px;
  color: var(--gold-accent);
}

.mobile-bar-btn.cta-btn {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  height: 40px;
  flex: 1.35;
  margin: 0 4px;
  box-shadow: 0 2px 8px rgba(197, 160, 89, 0.4);
}

.mobile-bar-btn.cta-btn .material-symbols-rounded {
  color: #ffffff;
  font-size: 16px;
}

/* Floating WhatsApp Button */
.floating-whatsapp-container {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 999;
}

.floating-whatsapp-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: var(--whatsapp);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.floating-whatsapp-btn:hover {
  transform: scale(1.08);
  background-color: var(--whatsapp-dark);
}

.floating-whatsapp-btn svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
}

/* ==========================================================================
   14. Complete Responsive Overhaul (< 1024px, < 768px, < 480px)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-slide.active {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions-row {
    justify-content: center;
  }

  .hero-stats-row {
    max-width: 520px;
    margin: 0 auto;
  }

  .hero-portrait-card {
    max-width: 420px;
    margin: 0 auto;
  }

  .hero-portrait-card img {
    height: 360px;
  }

  .carousel-controls-bar {
    flex-direction: column;
    gap: 14px;
  }

  .estimator-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }

  .practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-badge-card {
    right: 12px;
    bottom: -16px;
  }

  .consultation-grid {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 60px;
  }

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

  .section-padding {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .section-title {
    font-size: 1.65rem;
    line-height: 1.25;
  }

  .section-subtitle {
    font-size: 0.88rem;
  }

  /* Top Bar hidden on mobile */
  .top-contact-bar {
    display: none;
  }

  /* Header */
  .main-header {
    height: 62px;
  }

  .header-flex {
    height: 62px;
  }

  .law-brand .law-name {
    font-size: 1.05rem;
  }

  .law-byline {
    font-size: 0.58rem;
    letter-spacing: 0.8px;
  }

  .law-emblem {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .nav-links-list, .main-header .btn-sm {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  /* Sticky Bottom Bar */
  .mobile-bottom-bar {
    display: flex;
    height: 56px;
  }

  /* HIDE Floating WhatsApp Button on Mobile to avoid overlay clutter */
  .floating-whatsapp-container {
    display: none !important;
  }

  /* Hero Section Mobile Optimization */
  .hero-section {
    padding-top: 24px;
    padding-bottom: 36px;
  }

  .hero-slide.active {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }

  .hero-badge-pill {
    padding: 4px 12px;
    font-size: 0.7rem;
    margin-bottom: 10px;
  }

  .hero-title {
    font-size: 1.65rem;
    line-height: 1.22;
    margin-bottom: 10px;
  }

  .hero-desc {
    font-size: 0.85rem;
    line-height: 1.55;
    margin-bottom: 16px;
    color: #cbd5e1;
  }

  .hero-actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
    margin-bottom: 16px;
  }

  .hero-actions-row .btn {
    width: 100%;
    padding: 10px 8px;
    font-size: 0.8rem;
    gap: 4px;
    white-space: normal;
  }

  .hero-actions-row .btn:nth-child(3) {
    grid-column: span 2;
  }

  .hero-stats-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    width: 100%;
    padding-top: 14px;
  }

  .stat-box {
    padding: 6px 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
  }

  .stat-box h4 {
    font-size: 1.35rem;
    margin-bottom: 0px;
  }

  .stat-box p {
    font-size: 0.62rem;
    line-height: 1.2;
  }

  /* Compact Media Card on Mobile */
  .hero-media-wrapper {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
  }

  .hero-portrait-card {
    border-radius: var(--radius-md);
    border-width: 2px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
  }

  .hero-portrait-card img {
    height: 180px;
    object-fit: cover;
  }

  .hero-verified-badge {
    bottom: 8px;
    left: 8px;
    right: 8px;
    padding: 6px 10px;
    gap: 8px;
  }

  .hero-verified-icon {
    width: 26px;
    height: 26px;
    font-size: 14px;
  }

  .hero-verified-text h5 {
    font-size: 0.74rem;
  }

  .hero-verified-text p {
    font-size: 0.62rem;
  }

  /* Carousel Controls */
  .carousel-controls-bar {
    margin-top: 16px;
    padding-top: 12px;
    justify-content: center;
  }

  .carousel-thumbnails-row {
    display: none;
  }

  .carousel-arrow-btn {
    width: 34px;
    height: 34px;
  }

  /* Courts Ribbon */
  .courts-strip {
    padding: 12px 0;
  }

  .courts-strip-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .courts-strip-label {
    font-size: 0.85rem;
    justify-content: center;
  }

  .courts-badges-list {
    justify-content: center;
    gap: 6px;
  }

  .court-pill {
    font-size: 0.68rem;
    padding: 3px 10px;
  }

  /* Practice Grid */
  .practice-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .practice-card {
    padding: 20px 16px;
  }

  /* Estimator Tool */
  .estimator-card {
    grid-template-columns: 1fr;
    padding: 18px 14px;
    gap: 20px;
  }

  .estimator-controls h3 {
    font-size: 1.2rem;
  }

  .estimator-result-card {
    padding: 18px 14px;
  }

  /* Document Checklist */
  .doc-tab-btn {
    font-size: 0.76rem;
    padding: 6px 12px;
  }

  /* About Section */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-badge-card {
    position: static;
    margin-top: 12px;
    padding: 12px;
  }

  .advocate-credentials-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Consultation Booking */
  .consultation-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .consultation-card {
    padding: 20px 14px;
  }

  .booking-form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full-span {
    grid-column: span 1;
  }

  /* Reviews & FAQs */
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .faq-header {
    padding: 12px 14px;
    font-size: 0.88rem;
  }

  .faq-body {
    padding: 0 14px 14px;
    font-size: 0.82rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 6px;
    text-align: center;
    font-size: 0.72rem;
  }

  .modal-backdrop {
    padding: 12px;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .hero-actions-row {
    grid-template-columns: 1fr;
  }

  .hero-actions-row .btn:nth-child(3) {
    grid-column: span 1;
  }

  .stat-box h4 {
    font-size: 1.15rem;
  }

  .stat-box p {
    font-size: 0.58rem;
  }
}
