/* ==========================================================================
   LAL & ASSOCIATES - PREMIUM LEGAL PORTAL STYLESHEET
   Inspiration: GrlicaLaw (Dark Modern Editorial, High Trust, Conversion-Focused)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,400&display=swap');

:root {
  /* Color Palette */
  --bg-primary: #070B14;
  --bg-secondary: #0D1322;
  --bg-card: rgba(18, 25, 43, 0.75);
  --bg-card-hover: rgba(25, 36, 61, 0.9);
  --bg-glass: rgba(13, 19, 34, 0.7);
  
  --gold-100: #F9F1D8;
  --gold-300: #E5C578;
  --gold-500: #D4AF37;
  --gold-600: #B89225;
  --gold-glow: rgba(212, 175, 55, 0.25);

  --accent-blue: #1D4ED8;
  --accent-cyan: #0284C7;
  --accent-emerald: #10B981;
  --whatsapp-green: #25D366;

  --text-primary: #FFFFFF;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(212, 175, 55, 0.35);
  --border-glow: rgba(212, 175, 55, 0.6);

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

  /* Transitions & Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --container-max: 1240px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  line-height: 1.65;
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  overflow-x: hidden;
  position: relative;
}

/* Typography Defaults */
h1, h2, h3, h4, .title-serif {
  font-family: var(--font-serif);
  color: var(--text-primary);
  letter-spacing: 0.5px;
  font-weight: 700;
  line-height: 1.25;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--gold-300);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #FFFFFF;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

/* Background Ambient Glow */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle at 50% 30%, rgba(212, 175, 55, 0.08) 0%, rgba(29, 78, 216, 0.05) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  align-items: center;
  z-index: 1000;
  background: rgba(7, 11, 20, 0.9);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(7, 11, 20, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: -1;
  pointer-events: none;
}

.header.scrolled {
  height: 70px;
  background: rgba(7, 11, 20, 0.96);
  border-bottom-color: var(--border-gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
}

.header__logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1005;
}

.header__logo-link svg,
.header__logo-link img {
  height: 44px;
  width: auto;
}

.desktop-nav,
.header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.desktop-nav__list,
.header__nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.8rem;
}

.header__nav-link {
  color: var(--text-secondary);
  font-size: 0.925rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-500);
  transition: width var(--transition-smooth);
}

.header__nav-link:hover,
.header__nav-link.active {
  color: var(--gold-300);
}

.header__nav-link:hover::after,
.header__nav-link.active::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 1005;
}

.btn-header-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-300);
  border: 1px solid var(--border-gold);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.btn-header-call:hover {
  background: var(--gold-500);
  color: #070B14;
  border-color: var(--gold-500);
  box-shadow: 0 0 20px var(--gold-glow);
}

/* Mobile Hamburger */
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 2005;
  position: relative;
}

.header__burger span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-smooth);
}

.header__burger.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
  background: var(--gold-500);
}
.header__burger.active span:nth-child(2) {
  opacity: 0;
}
.header__burger.active span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
  background: var(--gold-500);
}

/* ==========================================================================
   DEDICATED FULLSCREEN MOBILE DRAWER (PINNED TOPBAR & ZERO BLEED-THROUGH)
   ========================================================================== */
.mobile-drawer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: #070B14; /* Solid Obsidian - Completely eliminates bleed-through */
  z-index: 99999;     /* Guaranteed above all hero, headers, and floating buttons */
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-drawer__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #0A0F1D;
  border-bottom: 1px solid var(--border-gold);
  flex-shrink: 0;
  width: 100%;
}

.mobile-drawer__brand img {
  height: 34px;
  width: auto;
  display: block;
}

.mobile-drawer__close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(212, 175, 55, 0.16);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-pill);
  color: var(--gold-300);
  font-family: var(--font-sans);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-drawer__close svg {
  stroke: currentColor;
}

.mobile-drawer__close:hover,
.mobile-drawer__close:active {
  background: var(--gold-500);
  color: #070B14;
  border-color: var(--gold-500);
  box-shadow: 0 0 16px var(--gold-glow);
}

.mobile-drawer__content {
  flex: 1;
  overflow-y: auto;
  padding: 24px 20px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-drawer__link {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 13px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: #FFFFFF;
  transition: all var(--transition-fast);
}

.mobile-drawer__link:hover,
.mobile-drawer__link:active {
  color: var(--gold-300);
  padding-left: 8px;
}

.mobile-drawer__num {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-500);
  opacity: 0.85;
  min-width: 24px;
}

.mobile-drawer__text {
  flex: 1;
}

.mobile-drawer__footer {
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  border-top: 1px solid var(--border-subtle);
}

.mobile-drawer__contact-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mobile-drawer__contact-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  font-weight: 600;
}

.mobile-drawer__contact-val {
  font-size: 0.95rem;
  color: var(--gold-200);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.mobile-drawer__contact-val:hover {
  color: #FFFFFF;
}

/* Mobile Menu Contact Card inside Drawer */
.mobile-nav-contact {
  display: none;
}

/* ==========================================================================
   RIGHT-SIDE DOT NAVIGATION (GRLICALAW STYLE)
   ========================================================================== */
.dots-nav {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 900;
}

.dots-nav__item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}

.dots-nav__label {
  position: absolute;
  right: 24px;
  background: rgba(13, 19, 34, 0.9);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--gold-100);
  border: 1px solid var(--border-gold);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: all var(--transition-fast);
}

.dots-nav__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.dots-nav__item:hover .dots-nav__label {
  opacity: 1;
  transform: translateX(0);
}

.dots-nav__item.active .dots-nav__dot {
  background: var(--gold-500);
  border-color: var(--gold-300);
  transform: scale(1.4);
  box-shadow: 0 0 12px var(--gold-glow);
}

/* ==========================================================================
   BUTTONS & ACCENTS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-600) 100%);
  color: #070B14;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
  font-weight: 700;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #E5C578 0%, var(--gold-500) 100%);
  color: #070B14;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.5);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid var(--border-gold);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold-500);
  color: var(--gold-300);
  transform: translateY(-2px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.775rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: var(--radius-pill);
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-300);
  border: 1px solid var(--border-gold);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 70px;
  background: radial-gradient(circle at 80% 20%, rgba(29, 78, 216, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.07) 0%, transparent 60%);
  z-index: 1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.hero__subtitle {
  margin-bottom: 1.25rem;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero__title span {
  display: block;
  background: linear-gradient(135deg, #FFFFFF 30%, var(--gold-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 620px;
  line-height: 1.7;
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero__pill-item {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--gold-100);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.hero__trust-badges {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.hero__stat-item strong {
  display: block;
  font-size: 1.8rem;
  font-family: var(--font-serif);
  color: var(--gold-300);
}

.hero__stat-item span {
  font-size: 0.825rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero Right: Signboard Feature Card */
.hero__card {
  position: relative;
  background: linear-gradient(145deg, rgba(22, 31, 53, 0.85) 0%, rgba(11, 16, 30, 0.95) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
}

.hero__card-header {
  text-align: center;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.hero__card-crest {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
}

.hero__card-title {
  font-size: 1.4rem;
  letter-spacing: 2px;
  color: #FFFFFF;
}

.hero__card-sub {
  font-size: 0.85rem;
  color: var(--gold-300);
  letter-spacing: 1.5px;
  font-weight: 600;
}

.hero__advocates {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.advocate-badge {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  transition: border-color var(--transition-fast);
}

.advocate-badge:hover {
  border-color: var(--gold-500);
  background: rgba(212, 175, 55, 0.05);
}

.advocate-badge__name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.advocate-badge__role {
  font-size: 0.85rem;
  color: var(--gold-300);
  font-weight: 600;
}

.advocate-badge__court {
  font-size: 0.775rem;
  color: var(--text-muted);
}

.hero__card-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-quick-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.contact-quick-link:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--border-gold);
  color: var(--gold-300);
}

/* ==========================================================================
   SECTIONS GENERAL
   ========================================================================== */
.section {
  padding: 6rem 0;
  position: relative;
  z-index: 1;
}

.section--alt {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}

.section__badge {
  margin-bottom: 1rem;
}

.section__title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}

.section__desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ==========================================================================
   PRACTICE AREAS GRID
   ========================================================================== */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.practice-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.practice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.practice-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.practice-card:hover::before {
  opacity: 1;
}

.practice-card__icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-gold);
}

.practice-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--gold-500);
}

.practice-card__title {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: #FFFFFF;
}

.practice-card__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.practice-card__points {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.practice-card__points li {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.practice-card__points li::before {
  content: '✓';
  color: var(--gold-500);
  font-weight: bold;
}

.practice-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-300);
  margin-top: auto;
}

.practice-card__link:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

/* ==========================================================================
   ABOUT / VISION SECTION (GRLICALAW INSPIRED)
   ========================================================================== */
.vision__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.vision__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.vision__quote {
  font-size: 1.25rem;
  line-height: 1.6;
  font-style: italic;
  color: var(--gold-100);
  border-left: 3px solid var(--gold-500);
  padding-left: 1.5rem;
}

.vision__pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}

.pillar-box {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.pillar-box h4 {
  font-size: 1.05rem;
  color: var(--gold-300);
  margin-bottom: 0.5rem;
}

.pillar-box p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.vision__sign {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
}

.vision__sign strong {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: #FFFFFF;
}

.vision__sign span {
  font-size: 0.85rem;
  color: var(--gold-300);
}

/* Vision Visual Box */
.vision__visual {
  position: relative;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.15) 0%, rgba(212, 175, 55, 0.08) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
}

.vision__visual-crest {
  width: 110px;
  height: 110px;
  margin: 0 auto 2rem;
}

.vision__jurisdiction {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.court-badge {
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   TEAM SECTION
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-gold);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.team-card__top {
  height: 180px;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.25) 0%, rgba(13, 19, 34, 0.95) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
}

.team-card__avatar-crest {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.team-card__avatar-crest svg {
  width: 44px;
  height: 44px;
  color: var(--gold-300);
}

.team-card__body {
  padding: 2rem;
}

.team-card__name {
  font-size: 1.45rem;
  margin-bottom: 4px;
  color: #FFFFFF;
}

.team-card__role {
  font-size: 0.9rem;
  color: var(--gold-300);
  font-weight: 600;
  margin-bottom: 1.25rem;
  display: block;
}

.team-card__bio {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.team-card__specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.team-card__spec-item {
  font-size: 0.775rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  color: var(--gold-100);
  border: 1px solid var(--border-subtle);
}

.team-card__contact-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.team-card__contact-channels {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.team-contact-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
  overflow: hidden;
  width: 100%;
}

.team-contact-badge:hover {
  background: rgba(212, 175, 55, 0.09);
  border-color: var(--gold-500);
  transform: translateX(2px);
}

.team-contact-badge__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold-400);
  flex-shrink: 0;
}

.team-contact-badge__icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

.team-contact-badge__label {
  font-size: 0.725rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  font-weight: 600;
  flex-shrink: 0;
}

.team-contact-badge__val {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--gold-200);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-card__btn {
  width: 100%;
  justify-content: center;
  margin-top: 0.35rem;
  padding: 10px 16px;
  font-size: 0.85rem;
  text-align: center;
}

/* Backwards compatibility */
.team-card__info-line {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.team-card__email,
.team-card__phone {
  color: var(--gold-300);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  white-space: nowrap;
}

/* ==========================================================================
   TESTIMONIALS SLIDER (GRLICALAW STYLE)
   ========================================================================== */
.testimonials__slider-container {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonials__track {
  display: flex;
  transition: transform 0.45s ease-in-out;
}

.testimonials__slide {
  min-width: 100%;
  padding: 0 1rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.testimonial__stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 1.5rem;
}

.testimonial__star {
  color: var(--gold-500);
  font-size: 1.2rem;
}

.testimonial__text {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 2rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial__author strong {
  display: block;
  font-size: 1.1rem;
  color: var(--gold-300);
  font-family: var(--font-serif);
}

.testimonial__author span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.slider-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  color: var(--gold-300);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.slider-btn:hover {
  background: var(--gold-500);
  color: #070B14;
  box-shadow: 0 0 16px var(--gold-glow);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-indicator.active {
  background: var(--gold-500);
  width: 24px;
  border-radius: 10px;
}

/* ==========================================================================
   CONSULTATION & CONTACT SECTION
   ========================================================================== */
.contact__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.contact-form__title {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: #FFFFFF;
}

.contact-form__sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background: rgba(7, 11, 20, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  outline: none;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
  background: rgba(7, 11, 20, 0.9);
}

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

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.form-checkbox input {
  margin-top: 4px;
  accent-color: var(--gold-500);
  width: 16px;
  height: 16px;
}

.form-checkbox span {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.form-status {
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34D399;
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #F87171;
}

/* Contact Info & Locations */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.office-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: border-color var(--transition-fast);
}

.office-card:hover {
  border-color: var(--border-gold);
}

.office-card__badge {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-300);
  background: rgba(212, 175, 55, 0.1);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

.office-card__title {
  font-size: 1.2rem;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.office-card__address {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.office-card__numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.phone-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--gold-100);
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.phone-badge:hover {
  border-color: var(--gold-500);
  color: #FFFFFF;
}

.email-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--gold-300);
  background: rgba(212, 175, 55, 0.08);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold);
}

.email-badge:hover {
  background: var(--gold-500);
  color: #070B14;
}

/* Map Embed Container */
.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  height: 280px;
  position: relative;
  background: var(--bg-card);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #04060C;
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2rem;
  position: relative;
  z-index: 1;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer__brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 320px;
}

.footer__col-title {
  font-size: 1.05rem;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  letter-spacing: 0.5px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.footer__links a:hover {
  color: var(--gold-300);
  transform: translateX(4px);
}

.footer__bci-notice {
  font-size: 0.775rem;
  color: var(--text-dim);
  line-height: 1.6;
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.825rem;
  color: var(--text-dim);
}

/* ==========================================================================
   FLOATING ACTION BUTTONS (CALL & WHATSAPP) - POSITIONED ON RIGHT
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  left: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  z-index: 999;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-bounce);
  color: #FFFFFF;
  position: relative;
}

.floating-btn:hover {
  transform: scale(1.1);
  color: #FFFFFF;
}

.floating-btn--whatsapp {
  background: var(--whatsapp-green);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.floating-btn--phone {
  background: var(--accent-blue);
  box-shadow: 0 6px 20px rgba(29, 78, 216, 0.4);
}

.floating-btn svg {
  width: 26px;
  height: 26px;
}

.floating-tooltip {
  position: absolute;
  right: 64px;
  left: auto;
  background: rgba(13, 19, 34, 0.95);
  border: 1px solid var(--border-gold);
  color: #FFFFFF;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.775rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: all var(--transition-fast);
}

.floating-btn:hover .floating-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   BAR COUNCIL OF INDIA (BCI) DISCLAIMER MODAL
   ========================================================================== */
.bci-modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 12, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.bci-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.bci-modal__card {
  background: linear-gradient(145deg, #111827 0%, #0B0F19 100%);
  border: 1px solid var(--gold-500);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-lg);
  max-width: 660px;
  width: 100%;
  padding: 2.75rem;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bci-modal.active .bci-modal__card {
  transform: translateY(0);
}

.bci-modal__header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.bci-modal__crest {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
}

.bci-modal__title {
  font-size: 1.35rem;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.bci-modal__sub {
  font-size: 0.825rem;
  color: var(--gold-300);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.bci-modal__body {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 0.5rem;
  margin-bottom: 2rem;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.bci-modal__body p {
  margin-bottom: 0.85rem;
}

.bci-modal__actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.bci-modal__decline {
  padding: 10px 20px;
  font-size: 0.85rem;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.bci-modal__decline:hover {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET FIXES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__grid,
  .vision__wrapper,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .dots-nav {
    display: none;
  }

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

@media (max-width: 768px) {
  /* Header adjustments to prevent text-wrapping on mobile */
  .header {
    height: 72px;
  }

  .header.scrolled {
    height: 64px;
  }

  .header__logo-link svg,
  .header__logo-link img {
    height: 38px;
    width: auto;
  }

  .header__actions {
    gap: 0.6rem;
  }

  /* Compact call button: Icon-only circular touch target on mobile */
  .btn-header-call {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.16);
    border: 1px solid var(--border-gold);
  }

  .btn-header-call span {
    display: none; /* Hide long text on mobile to avoid breaking into 2 lines */
  }

  .btn-header-call svg {
    width: 17px;
    height: 17px;
  }

  .header__burger {
    display: flex;
  }

  /* Hide desktop nav on mobile screens */
  .desktop-nav,
  .header__nav {
    display: none !important;
  }

  /* Hero Section Mobile Polish - Prevent Overlap */
  .hero {
    padding-top: 100px;
    padding-bottom: 50px;
  }

  .hero__title {
    font-size: 2.35rem;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  .hero__trust-badges {
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-start;
  }

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

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .bci-modal__card {
    padding: 1.75rem;
  }

  /* Floating Actions Bottom-Right Mobile Alignment */
  .floating-actions {
    bottom: 1.25rem;
    right: 1.25rem;
    left: auto;
    gap: 0.65rem;
  }

  .floating-btn {
    width: 48px;
    height: 48px;
  }

  .floating-btn svg {
    width: 24px;
    height: 24px;
  }

  .floating-tooltip {
    display: none; /* Hide tooltips on touch devices */
  }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   MOBILE NAV TOPBAR & CLOSE BUTTON
   ========================================================================== */
.mobile-nav-topbar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-nav-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
  }

  .mobile-nav-brand img {
    height: 36px;
    width: auto;
  }

  .mobile-nav-close-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.16);
    border: 1px solid var(--border-gold);
    color: var(--gold-300);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.825rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all var(--transition-fast);
  }

  .mobile-nav-close-btn:hover,
  .mobile-nav-close-btn:active {
    background: var(--gold-500);
    color: #070B14;
    border-color: var(--gold-500);
    box-shadow: 0 0 16px var(--gold-glow);
  }

  /* Ensure Sanjeev Lal (Father/Senior) strictly appears before Kunal Lal */
  .team-card--sanjeev {
    order: 1 !important;
  }
  .team-card--kunal {
    order: 2 !important;
  }
}

.team-card--sanjeev {
  order: 1;
}
.team-card--kunal {
  order: 2;
}

.qualification-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-100);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 0.85rem;
  line-height: 1.4;
}

@media (min-width: 769px) {
  .mobile-drawer {
    display: none !important;
  }
}
