/* 
   PRAVEEN BALWADA & ASSOCIATES - PREMIUM STYLESHEET
   An elite, luxury branding system for a world-class legal firm.
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Poppins:wght@300;400;500;600;700&family=Raleway:wght@400;500;600;700&display=swap');

/* ==========================================
   CSS CUSTOM VARIABLES
   ========================================== */
:root {
  /* Color Palette - Luxury Law Firm */
  --primary: #002943;
  /* Deep Navy Blue */
  --primary-dark: #001e30;
  /* Deeper Navy Blue for footers/modals */
  --secondary: #500808;
  /* Crimson Red */
  --accent: #C5A880;
  /* Warm Champagne Gold */
  --accent-light: #E2D3BE;
  /* Soft Light Gold */
  --accent-dark: #9E8159;
  /* Antique Gold */
  --accent-crimson: #8A151A;
  /* Accent Crimson Red */
  --bg-light: #F8F9FB;
  /* Soft Cool White */
  --bg-white: #FFFFFF;
  --bg-dark-card: #002237;
  /* Dark Navy Card Background */

  /* Text Colors */
  --text-dark: #111111;
  /* Headers and main titles */
  --text-main: #444850;
  /* Body copy (high legibility slate-grey) */
  --text-muted: #7A869A;
  /* Inactive or metadata labels */
  --text-light: #F0F4F8;
  /* Body copy on dark background */
  --text-gold: #C5A880;
  /* Gold text highlights */

  /* Borders */
  --border-gold-faint: rgba(197, 168, 128, 0.15);
  --border-gold-mid: rgba(197, 168, 128, 0.35);
  --border-gold-strong: rgba(197, 168, 128, 0.7);
  --border-light: rgba(0, 0, 0, 0.06);

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Poppins', 'Inter', system-ui, -apple-system, sans-serif;
  --font-nav: 'Raleway', sans-serif;

  /* Layout Constants */
  --max-width: 1240px;
  --header-height: 90px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Shadows & Transitions */
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-luxury: 0 10px 30px rgba(0, 41, 67, 0.04), 0 1px 3px rgba(197, 168, 128, 0.06);
  --shadow-luxury-hover: 0 30px 60px rgba(0, 41, 67, 0.08), 0 5px 15px rgba(197, 168, 128, 0.12);
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.8;
  overflow-x: hidden;
}

/* Typography elements */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-dark);
}

p {
  margin-bottom: 1.5rem;
}

p:last-child {
  margin-bottom: 0;
}

/* Premium Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-light);
}

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

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

ul {
  list-style: none;
}

/* Forms resetting */
button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* ==========================================
   UTILITY CONTAINERS
   ========================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

.section {
  padding: 7rem 0;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 4.5rem 0;
  }
}

.section-dark {
  background-color: var(--primary);
  color: var(--text-light);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--secondary);
  /* fallback or custom headers */
  color: #ffffff;
}

.section-light {
  background-color: var(--bg-light);
}

.section-white {
  background-color: var(--bg-white);
}

/* Header descriptors */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 5rem;
}

.section-subtitle {
  font-family: var(--font-nav);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 300;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.section-dark .section-title {
  color: #ffffff;
}

.section-desc {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0;
}

.section-dark .section-desc {
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================
   BUTTONS & ACTIONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.25rem;
  font-size: 0.8rem;
  font-family: var(--font-nav);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  z-index: 1;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--accent);
  box-shadow: 0 0 20px rgba(197, 168, 128, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--accent);
}

.btn-secondary:hover {
  background-color: var(--accent);
  color: var(--primary);
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--primary);
  border-color: #ffffff;
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--primary);
  border-color: rgba(0, 41, 67, 0.2);
}

.btn-outline-dark:hover {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.btn-text-link {
  font-size: 0.82rem;
  font-family: var(--font-nav);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-text-link::after {
  content: '→';
  transition: var(--transition-fast);
}

.btn-text-link:hover::after {
  transform: translateX(6px);
}

.btn-text-link:hover {
  color: var(--accent-light);
}

/* ==========================================
   SCROLL PROGRESS INDICATOR
   ========================================== */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 10000;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, var(--accent), var(--accent-light));
}

/* ==========================================
   LEGAL DISCLAIMER POPUP
   ========================================== */
.disclaimer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 20, 35, 0.96);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.disclaimer-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.disclaimer-card {
  background-color: var(--primary-dark);
  border: 1px solid var(--border-gold-mid);
  border-radius: var(--radius-md);
  padding: 3.5rem;
  max-width: 680px;
  width: 100%;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), 0 0 40px rgba(197, 168, 128, 0.1);
  text-align: center;
  color: var(--text-light);
  transform: scale(1);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .disclaimer-card {
    padding: 2rem;
  }
}

.disclaimer-overlay.fade-out .disclaimer-card {
  transform: scale(0.95);
}

.disclaimer-logo-box {
  width: 75px;
  height: 75px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  border: 1px solid var(--border-gold-faint);
  padding: 4px;
}

.disclaimer-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.disclaimer-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.disclaimer-content {
  font-size: 0.95rem;
  color: rgba(240, 244, 248, 0.85);
  margin-bottom: 2rem;
  text-align: left;
  line-height: 1.8;
  overflow-y: auto;
  padding-right: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.disclaimer-content p {
  margin-bottom: 1.25rem;
}

.disclaimer-checkbox-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  cursor: pointer;
  user-select: none;
}

.disclaimer-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  background: transparent;
  outline: none;
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
}

.disclaimer-checkbox:checked {
  background-color: var(--accent);
}

.disclaimer-checkbox:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: bold;
}

.disclaimer-checkbox-label {
  font-size: 0.9rem;
  color: #ffffff;
}

.disclaimer-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.disclaimer-actions button {
  min-width: 180px;
}

.disclaimer-actions .btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background-color: transparent;
  color: rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================
   STICKY HEADER & NAVIGATION
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: transparent;
  display: flex;
  align-items: center;
  z-index: 10001;
  transition: var(--transition-smooth);
}

.header.scrolled {
  background-color: rgba(0, 41, 67, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  height: 80px;
  border-bottom: 1px solid var(--border-gold-faint);
  box-shadow: 0 10px 30px rgba(0, 20, 35, 0.15);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-wrapper {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--border-gold-faint);
}

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

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 2px;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 0.15rem;
}

.brand-tagline {
  font-size: 0.65rem;
  letter-spacing: 3px;
  font-weight: 300;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1;
}

/* Desktop Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  font-family: var(--font-nav);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 0.5rem 0;
  cursor: pointer;
}

.nav-link:hover,
.nav-link.active-link {
  color: var(--accent);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--accent);
  transition: var(--transition-fast);
}

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

/* Services Dropdown (Desktop Layout) */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.dropdown-toggle .arrow {
  font-size: 0.65rem;
  transition: transform var(--transition-fast);
}

.nav-dropdown:hover .dropdown-toggle .arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background-color: var(--primary-dark);
  border: 1px solid var(--border-gold-mid);
  box-shadow: 0 15px 40px rgba(0, 20, 35, 0.3);
  min-width: 270px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 100;
  border-radius: var(--radius-sm);
  padding: 0.75rem 0;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-nav);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition-fast);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  color: var(--accent);
  background-color: rgba(255, 255, 255, 0.02);
  padding-left: 1.85rem;
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
}

.header-cta .btn {
  padding: 0.65rem 1.5rem;
  font-size: 0.72rem;
}

/* Mobile Toggle Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  background: none;
  z-index: 10002;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  transition: var(--transition-fast);
}

/* Overlay back-shadow */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 20, 35, 0.5);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.mobile-only {
  display: none !important;
}

/* Mobile responsive menu */
@media (max-width: 991px) {
  .mobile-only {
    display: block !important;
  }

  .header-cta {
    display: none;
    /* Hide CTA inside menu to keep clean */
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background-color: rgba(0, 30, 50, 0.98);
    box-shadow: -15px 0 40px rgba(0, 10, 25, 0.35);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 6rem 2rem 3rem;
    gap: 1.25rem;
    z-index: 10001;
    transition: var(--transition-smooth);
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-link {
    font-size: 0.85rem;
    color: #ffffff;
    width: 100%;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-dropdown {
    width: 100%;
  }

  .dropdown-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .dropdown-menu {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    border: none !important;
    min-width: 100% !important;
    background-color: rgba(255, 255, 255, 0.03);
    margin-top: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }

  .nav-dropdown.active .dropdown-menu {
    max-height: 500px;
    padding: 0.5rem 0 0.5rem 1.25rem;
  }

  .dropdown-menu a {
    display: block;
    padding: 0.65rem 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .dropdown-menu a:hover {
    color: var(--accent);
  }

  .nav-dropdown.active .dropdown-toggle .arrow {
    transform: rotate(180deg);
  }

  .nav-menu.active {
    right: 0 !important;
  }
}

/* ==========================================
   PREMIUM HERO SECTION
   ========================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--primary);
  color: var(--text-light);
  position: relative;
  padding-top: var(--header-height);
  overflow: hidden;
  z-index: 2;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 75% 25%, rgba(197, 168, 128, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 15% 75%, rgba(80, 8, 8, 0.1) 0%, transparent 55%),
    linear-gradient(rgba(0, 20, 35, 0.8), rgba(0, 20, 35, 0.98));
  z-index: -2;
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.015;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 0),
    radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 0);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 4.5rem;
  align-items: center;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }
}

.hero-subtitle {
  font-family: var(--font-nav);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: block;
}

.hero-title {
  font-size: clamp(2.25rem, 5.5vw, 4.25rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: #ffffff;
}

.hero-title span {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
  display: block;
  font-weight: 400;
}

.hero-desc {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.85;
  color: rgba(240, 244, 248, 0.8);
  margin-bottom: 2.75rem;
  max-width: 680px;
}

@media (max-width: 1024px) {
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

@media (max-width: 1024px) {
  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* Hero Visual Box Frame */
.hero-visual-frame {
  position: relative;
  width: 100%;
  height: 440px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 1024px) {
  .hero-visual-frame {
    display: none;
  }

  /* Hide on mobile/tablet to preserve visual focus */
}

.hero-visual-frame img {
  width: 290px;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(197, 168, 128, 0.15);
  border: 1px solid var(--border-gold-mid);
  z-index: 5;
  transition: var(--transition-smooth);
}

.hero-visual-frame:hover img {
  transform: scale(1.03) translateY(-5px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 50px rgba(197, 168, 128, 0.25);
}

.hero-geometric-ring {
  position: absolute;
  border: 1px solid var(--border-gold-faint);
  border-radius: 50%;
  width: 380px;
  height: 380px;
  animation: spin 45s linear infinite;
  opacity: 0.5;
  z-index: 1;
}

.hero-geometric-ring-inner {
  position: absolute;
  border: 1px dashed rgba(197, 168, 128, 0.2);
  border-radius: 50%;
  width: 320px;
  height: 320px;
  animation: spin-reverse 30s linear infinite;
  opacity: 0.4;
  z-index: 2;
}

.hero-visual-core {
  position: absolute;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(197, 168, 128, 0.1) 0%, transparent 80%);
  border-radius: 50%;
  z-index: 3;
}

.hero-visual-logo {
  position: absolute;
  width: 60px;
  height: 60px;
  background-color: var(--primary-dark);
  border: 1px solid var(--accent);
  border-radius: 50%;
  padding: 10px;
  bottom: 10px;
  right: 15px;
  z-index: 6;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.hero-visual-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.hero-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

@media (max-width: 768px) {
  .hero-meta-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2.5rem;
  }
}

.hero-meta-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(197, 168, 128, 0.12);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  text-align: center;
  transition: var(--transition-fast);
}

.hero-meta-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(197, 168, 128, 0.25);
  transform: translateY(-2px);
}

.hero-meta-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.hero-meta-item span {
  font-family: var(--font-nav);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.6);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes spin-reverse {
  0% {
    transform: rotate(360deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

/* ==========================================
   SUCCESS METRICS
   ========================================== */
.stats-section {
  background-color: var(--primary-dark);
  border-top: 1px solid var(--border-gold-faint);
  border-bottom: 1px solid var(--border-gold-faint);
  padding: 5rem 0;
  position: relative;
  z-index: 3;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  text-align: center;
}

@media (max-width: 991px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1.5rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: var(--border-gold-faint);
}

@media (max-width: 991px) {
  .stat-item:nth-child(even)::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .stat-item::after {
    display: none !important;
  }
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-family: var(--font-nav);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: rgba(255, 255, 255, 0.65);
}

/* ==========================================
   ABOUT THE FIRM & PHILOSOPHY
   ========================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4.5rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

.about-philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 580px) {
  .about-philosophy-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.about-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 2.25rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-luxury);
  transition: var(--transition-smooth);
}

.about-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold-mid);
  box-shadow: var(--shadow-luxury-hover);
}

.about-card-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.about-card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--primary);
}

.about-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Founder Profile Sub-section */
.founder-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 1024px) {
  .founder-layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .founder-media-frame {
    order: -1;
  }
}

.founder-media-frame {
  position: relative;
  padding: 1.25rem;
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
}

.founder-img-outline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid var(--border-gold-mid);
}

.founder-img-outline-offset {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--accent);
  pointer-events: none;
}

.founder-img-container {
  position: relative;
  width: 100%;
  height: 440px;
  background-color: var(--bg-light);
  overflow: hidden;
  box-shadow: var(--shadow-luxury);
  border: 1px solid var(--border-light);
}

.founder-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.founder-img-container:hover img {
  transform: scale(1.05);
}

.founder-name {
  font-size: 3.25rem;
  font-weight: 300;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.founder-title {
  font-family: var(--font-nav);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 2rem;
  display: block;
}

.founder-quote {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--primary);
  margin-bottom: 2rem;
  border-left: 2px solid var(--accent);
  padding-left: 1.5rem;
}

.founder-bio {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.founder-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0;
}

.highlight-row {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.highlight-bullet {
  width: 10px;
  height: 10px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.highlight-text {
  font-size: 0.92rem;
}

.highlight-label {
  font-weight: 600;
  color: var(--primary);
  display: block;
  margin-bottom: 0.25rem;
}

.founder-signature {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

.signature-svg {
  width: 160px;
  height: 50px;
}

/* Why Choose Us section */
.why-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 1024px) {
  .why-layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

.why-bullets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem 2rem;
}

@media (max-width: 680px) {
  .why-bullets {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.why-bullet-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.why-bullet-icon {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.why-bullet-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--primary);
}

.why-bullet-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.why-visual-panel {
  position: relative;
  height: 400px;
  width: 100%;
}

@media (max-width: 1024px) {
  .why-visual-panel {
    height: 350px;
    margin-top: 1rem;
  }
}

.why-panel-box {
  position: absolute;
  width: 82%;
  height: 82%;
  border-radius: var(--radius-sm);
}

@media (max-width: 1024px) {
  .why-panel-box-2 {
    display: none;
  }
  .why-panel-box {
    width: 100%;
    height: 100%;
    position: relative;
  }
  .why-visual-panel {
    height: auto;
  }
}

.why-panel-box-1 {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border: 1px solid var(--accent);
  top: 0;
  left: 0;
  z-index: 1;
  padding: 3rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(0, 20, 35, 0.4), 0 0 20px rgba(197, 168, 128, 0.15);
}

.why-panel-box-2 {
  border: 2px solid var(--accent);
  bottom: 0;
  right: 0;
  z-index: 0;
  pointer-events: none;
}

.why-panel-headline {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  line-height: 1.45;
  margin-bottom: 1.5rem;
  font-weight: 500;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.why-panel-tag {
  font-family: var(--font-nav);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--primary-dark);
  background-color: var(--accent);
  padding: 0.35rem 0.85rem;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 1rem;
  font-weight: 600;
  font-weight: 600;
}

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

@media (max-width: 768px) {
  .practice-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.practice-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 3rem 2.25rem;
  text-align: center;
  box-shadow: var(--shadow-luxury);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.practice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: var(--transition-smooth);
  transform-origin: left;
}

.practice-card:hover::before {
  transform: scaleX(1);
}

.practice-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-gold-mid);
  box-shadow: var(--shadow-luxury-hover);
}

.practice-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: var(--primary);
  transition: var(--transition-smooth);
}

.practice-card:hover .practice-icon-wrapper {
  background-color: var(--accent);
  color: var(--primary-dark);
  box-shadow: 0 0 15px rgba(197, 168, 128, 0.3);
}

.practice-icon-wrapper svg {
  width: 26px;
  height: 26px;
}

.practice-card-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  color: var(--primary);
}

.practice-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ==========================================
   LEGAL PROCESS TIMELINE
   ========================================== */
.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100%;
  background-color: var(--border-gold-mid);
  z-index: 1;
}

@media (max-width: 768px) {
  .timeline-line {
    left: 20px;
    transform: none;
  }
}

.timeline-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4.5rem;
  position: relative;
  z-index: 2;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-step:nth-child(even) {
  flex-direction: row-reverse;
}

@media (max-width: 768px) {

  .timeline-step,
  .timeline-step:nth-child(even) {
    flex-direction: row;
    padding-left: 50px;
  }
}

.timeline-content {
  width: 44%;
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 2.5rem;
  box-shadow: var(--shadow-luxury);
  transition: var(--transition-smooth);
}

@media (max-width: 768px) {
  .timeline-content {
    width: 100%;
    padding: 2rem;
  }
}

.timeline-step:hover .timeline-content {
  border-color: var(--border-gold-mid);
  box-shadow: var(--shadow-luxury-hover);
  transform: translateY(-4px);
}

.timeline-node {
  width: 42px;
  height: 42px;
  background-color: var(--primary-dark);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  transition: var(--transition-smooth);
}

@media (max-width: 768px) {
  .timeline-node {
    left: 20px;
    transform: translateX(-50%);
  }
}

.timeline-step:hover .timeline-node {
  background-color: var(--accent);
  color: var(--primary-dark);
  box-shadow: 0 0 15px var(--accent);
}

.timeline-spacer {
  width: 44%;
}

@media (max-width: 768px) {
  .timeline-spacer {
    display: none;
  }
}

.timeline-number {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
}

.timeline-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

/* Empanelments Section */
.empanelment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

@media (max-width: 600px) {
  .empanelment-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.empanelment-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--accent);
  padding: 2.25rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-luxury);
  transition: var(--transition-smooth);
}

.empanelment-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold-mid);
  box-shadow: var(--shadow-luxury-hover);
}

.empanelment-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.empanelment-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ==========================================
   TEAM SECTION - COMPLETELY REDESIGNED
   ========================================== */
.team-row--senior {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto 3rem;
}

.team-row--associates {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 1024px) {

  .team-row--senior,
  .team-row--associates {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 680px) {

  .team-row--senior,
  .team-row--associates {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.team-card-link {
  display: block;
}

.team-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-luxury);
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-gold-mid);
  box-shadow: var(--shadow-luxury-hover);
}

.team-photo-wrapper {
  height: 380px;
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.team-card:hover .team-photo-wrapper img {
  transform: scale(1.05);
}

.team-social-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 41, 67, 0.1) 60%, rgba(0, 41, 67, 0.85) 100%);
  opacity: 0;
  transition: var(--transition-fast);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 2rem;
  gap: 1.5rem;
}

.team-card:hover .team-social-overlay {
  opacity: 1;
}

.team-social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background-color: rgba(0, 41, 67, 0.6);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-nav);
  font-size: 0.75rem;
  font-weight: bold;
}

.team-info {
  padding: 2.25rem 2rem;
  text-align: center;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.team-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.team-role {
  font-family: var(--font-nav);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-dark);
  font-weight: 600;
  margin-bottom: 1.25rem;
  display: block;
}

.view-profile-btn {
  font-family: var(--font-nav);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  transition: var(--transition-fast);
}

.team-card:hover .view-profile-btn {
  color: var(--accent);
}

/* ==========================================
   INDIVIDUAL PROFILE TEMPLATE STYLING
   ========================================== */
.profile-hero {
  padding: 8rem 0 5rem;
  background-color: var(--primary);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.profile-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 80% 20%, rgba(197, 168, 128, 0.05) 0%, transparent 40%),
    linear-gradient(rgba(0, 41, 67, 0.7), rgba(0, 41, 67, 0.95));
  z-index: 1;
}

.profile-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 5;
}

.profile-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 991px) {
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }
}

.profile-image {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  height: 440px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold-mid);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  background-color: var(--primary-dark);
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-name {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 300;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.profile-role {
  font-family: var(--font-nav);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 2rem;
}

.profile-summary {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(240, 244, 248, 0.85);
  margin-bottom: 2.5rem;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.5rem;
}

.profile-stats .stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(197, 168, 128, 0.15);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  text-align: left;
}

@media (max-width: 991px) {
  .profile-stats .stat-card {
    text-align: center;
  }
}

.profile-stats .stat-title {
  font-family: var(--font-nav);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.35rem;
}

.profile-stats .stat-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: #ffffff;
}

.profile-stats .stat-value a {
  color: var(--accent);
}

.profile-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.profile-section h2 {
  font-size: 1.85rem;
  margin-bottom: 2rem;
  color: var(--primary);
  font-weight: 500;
}

.profile-content {
  font-size: 1rem;
  line-height: 1.85;
}

.profile-content p {
  margin-bottom: 1.5rem;
}

.cpr-box {
  background-color: var(--primary-dark);
  border: 1px solid var(--border-gold-mid);
  border-radius: var(--radius-sm);
  padding: 2.5rem;
  margin: 3rem 0;
  color: var(--text-light);
}

.cpr-box h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.cpr-box p {
  font-size: 0.92rem;
  color: rgba(240, 244, 248, 0.8);
  margin-bottom: 1rem;
}

.cpr-box p:last-child {
  margin-bottom: 0;
}

/* Practice Area Tags inside profiles */
.practice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.practice-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-family: var(--font-nav);
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--primary);
  box-shadow: var(--shadow-luxury);
  transition: var(--transition-fast);
}

.practice-item:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
  box-shadow: 0 4px 10px rgba(197, 168, 128, 0.1);
}

/* Profile Page Controls and Back links */
.team-back-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 10;
  font-family: var(--font-nav);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
}

.team-back-nav a {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.team-back-nav a:hover {
  color: var(--accent);
}

.nav-firm-name {
  color: var(--accent);
}

.profile-navigation-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3rem 0;
  border-top: 1px solid var(--border-light);
}

@media (max-width: 580px) {
  .profile-navigation-bar {
    flex-direction: column;
    gap: 1.5rem;
  }
}

.profile-nav-link {
  font-family: var(--font-nav);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.profile-nav-link:hover {
  color: var(--accent);
}

/* ==========================================
   TESTIMONIALS CAROUSEL
   ========================================== */
.testimonials-carousel {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  overflow: hidden;
  padding: 1.5rem 0 3.5rem;
}

.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-slide {
  min-width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 0 4rem;
}

@media (max-width: 580px) {
  .testimonial-slide {
    padding: 0 1.5rem;
  }
}

.testimonial-quote-mark {
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.3;
  display: block;
  height: 40px;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3.5vw, 1.65rem);
  font-style: italic;
  line-height: 1.6;
  color: var(--primary);
  margin-bottom: 2rem;
}

.testimonial-author-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-author-name {
  font-family: var(--font-nav);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-dark);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-80%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 10;
  box-shadow: var(--shadow-luxury);
}

.carousel-btn:hover {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.carousel-btn-prev {
  left: 0;
}

.carousel-btn-next {
  right: 0;
}

@media (max-width: 580px) {
  .carousel-btn {
    display: none;
  }
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(0, 41, 67, 0.15);
  cursor: pointer;
  transition: var(--transition-fast);
}

.carousel-dot.active {
  background-color: var(--accent);
  transform: scale(1.3);
}

/* ==========================================
   INSIGHTS & BLOG PAGE
   ========================================== */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 3rem 2rem;
}

@media (max-width: 768px) {
  .insights-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.insight-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-luxury);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.insight-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-gold-mid);
  box-shadow: var(--shadow-luxury-hover);
}

.insight-media-wrapper {
  height: 230px;
  position: relative;
  overflow: hidden;
  background-color: var(--primary);
}

.insight-media-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.insight-card:hover .insight-media-wrapper img {
  transform: scale(1.04);
}

.insight-category-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--secondary);
  color: #ffffff;
  font-family: var(--font-nav);
  font-size: 0.65rem;
  font-weight: bold;
  padding: 0.35rem 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  z-index: 2;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.insight-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.insight-date {
  font-family: var(--font-nav);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.insight-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--primary);
  margin-bottom: 1rem;
}

.insight-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.insight-info .btn-text-link {
  margin-top: auto;
}

/* ==========================================
   FAQ ACCORDION LIST
   ========================================== */
.faq-container {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-luxury);
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: var(--border-gold-mid);
}

.faq-item.active {
  border-color: var(--border-gold-strong);
  box-shadow: var(--shadow-luxury-hover);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem 2rem;
  text-align: left;
  cursor: pointer;
}

.faq-question {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--primary);
}

.faq-icon-node {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(0, 41, 67, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition-fast);
}

.faq-item.active .faq-icon-node {
  background-color: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
  transform: rotate(45deg);
}

.faq-icon-node svg {
  width: 14px;
  height: 14px;
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer {
  padding: 0 2rem 1.75rem;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.8;
  border-top: 1px solid rgba(0, 0, 0, 0.02);
}

/* ==========================================
   CONTACT PAGE & INTEGRATED FORMS
   ========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
  margin-bottom: 5rem;
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.contact-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-luxury);
  transition: var(--transition-smooth);
}

.contact-card:hover {
  border-color: var(--border-gold-mid);
  transform: translateY(-4px);
}

.contact-card-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.contact-card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.contact-card-link {
  font-family: var(--font-nav);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: bold;
  color: var(--accent);
}

.contact-form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 4rem;
  box-shadow: var(--shadow-luxury);
}

@media (max-width: 768px) {
  .contact-form-container {
    padding: 2.5rem 1.5rem;
  }
}

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

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.form-group {
  position: relative;
  border-bottom: 1.5px solid rgba(0, 41, 67, 0.12);
  padding-top: 1.25rem;
  transition: var(--transition-fast);
}

.form-group.focused {
  border-bottom-color: var(--accent);
}

.form-group.filled {
  border-bottom-color: var(--primary);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: transparent;
  border: none;
  position: relative;
  z-index: 2;
}

.form-label {
  position: absolute;
  left: 0;
  top: 1.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
  z-index: 1;
  pointer-events: none;
}

.form-group.focused .form-label,
.form-group.filled .form-label {
  top: 0;
  font-size: 0.72rem;
  font-family: var(--font-nav);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}

.form-select {
  cursor: pointer;
}

/* Style option tags inside premium select dropdown */
.form-select option {
  background-color: #ffffff;
  color: var(--text-dark);
  padding: 10px;
}

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

.contact-form button[type="submit"] {
  margin-top: 2rem;
  width: 100%;
}

.form-success-box {
  display: none;
  background-color: var(--primary-dark);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.form-success-box.show {
  display: block;
}

.form-success-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.form-success-desc {
  font-size: 0.95rem;
  color: rgba(240, 244, 248, 0.8);
}

/* Consultation Modal Styles */
.consult-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 20, 35, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.consult-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.consult-modal-card {
  background-color: #ffffff;
  border: 1px solid var(--border-gold-mid);
  border-radius: var(--radius-sm);
  padding: 3.5rem;
  max-width: 680px;
  width: 100%;
  box-shadow: 0 25px 50px rgba(0, 20, 35, 0.3);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

@media (max-width: 580px) {
  .consult-modal-card {
    padding: 2rem 1.5rem;
  }
}

.consult-overlay.show .consult-modal-card {
  transform: translateY(0);
}

.consult-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
  line-height: 1;
  background: none;
  border: none;
  z-index: 10;
  padding: 0;
  outline: none;
}

.consult-modal-title {
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--primary);
  margin-bottom: 0.75rem;
  text-align: center;
}

.consult-modal-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

/* ==========================================
   FOOTER REDESIGN - WITH MONOGRAM WATERMARK
   ========================================== */
.footer {
  background-color: var(--primary-dark);
  border-top: 1px solid var(--border-gold-mid);
  color: var(--text-light);
  padding: 6.5rem 0 3rem;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* Large transparent watermark in background */
.footer::before {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -50px;
  width: 500px;
  height: 500px;
  background-image: url('image/logo.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.035;
  /* extremely faint watermark */
  pointer-events: none;
  filter: grayscale(1);
  border-radius: 50%;
  z-index: -1;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

@media (max-width: 991px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

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

.footer-brand-column .brand-name {
  color: #ffffff;
}

.footer-brand-desc {
  font-size: 0.88rem;
  color: rgba(240, 244, 248, 0.65);
  line-height: 1.8;
}

.footer-socials {
  display: flex;
  gap: 1.25rem;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-fast);
}

.footer-social-link:hover {
  background-color: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
}

.footer-column-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-link {
  font-family: var(--font-nav);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(240, 244, 248, 0.7);
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.footer-contact-icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-contact-text {
  font-size: 0.9rem;
  color: rgba(240, 244, 248, 0.75);
  line-height: 1.6;
}

.footer-contact-address {
  font-size: 0.85rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 680px) {
  .footer-bottom {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }
}

.copyright {
  font-size: 0.82rem;
  color: rgba(240, 244, 248, 0.45);
}

.footer-bottom-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(240, 244, 248, 0.45);
}

.footer-bottom-link {
  color: rgba(240, 244, 248, 0.65);
  cursor: pointer;
}

.footer-bottom-link:hover {
  color: var(--accent);
}

/* ==========================================
   BACK TO TOP BUTTON
   ========================================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--accent);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  border: 1px solid var(--accent);
}

.back-to-top:hover {
  background-color: transparent;
  color: var(--accent);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

/* ==========================================
   MICRO-ANIMATIONS & ENHANCEMENTS
   ========================================== */
.reveal-init {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-init.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-slide-left {
  transform: translateX(30px);
}

.reveal-init.reveal-slide-left.reveal-visible {
  transform: translateX(0);
}

.reveal-slide-right {
  transform: translateX(-30px);
}

.reveal-init.reveal-slide-right.reveal-visible {
  transform: translateX(0);
}

.reveal-fade {
  transform: scale(0.97);
}

.reveal-init.reveal-fade.reveal-visible {
  transform: scale(1);
}

/* Delay classes for staggered reveals */
.delay-1 {
  transition-delay: 0.15s;
}

.delay-2 {
  transition-delay: 0.3s;
}

.delay-3 {
  transition-delay: 0.45s;
}

.delay-4 {
  transition-delay: 0.6s;
}

/* Submenu layout tags inside litigation template or others */
.service-details-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4.5rem;
}

@media (max-width: 991px) {
  .service-details-layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

.service-sidebar-card {
  background-color: var(--primary-dark);
  border: 1px solid var(--border-gold-mid);
  padding: 2.5rem;
  border-radius: var(--radius-sm);
  color: #ffffff;
}

.service-sidebar-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.75rem;
}

.service-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-sidebar-list a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-sidebar-list a:hover {
  color: var(--accent);
}

.service-sidebar-list a::before {
  content: '▶';
  font-size: 0.6rem;
  color: var(--accent);
}

.legal-intro-lead {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 2rem;
}

/* Homepage Hero Main Logo Styling */
.hero-visual-frame img.hero-logo-main {
  width: 320px;
  height: 320px;
  object-fit: contain;
  background-color: var(--primary-dark);
  border: 2px solid var(--accent);
  border-radius: 50%;
  padding: 25px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 50px rgba(197, 168, 128, 0.15);
  z-index: 5;
  transition: var(--transition-smooth);
}

.hero-visual-frame:hover img.hero-logo-main {
  transform: scale(1.05);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 60px rgba(197, 168, 128, 0.25);
}

/* Expert Witness Team Cards Section */
.expert-team-section {
  padding: 5rem 0;
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-gold-faint);
  border-bottom: 1px solid var(--border-gold-faint);
  margin-bottom: 4rem;
}

.expert-team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 900px;
  margin: 3rem auto 0;
}

@media (max-width: 768px) {
  .expert-team-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 0 1rem;
  }
}

.expert-team-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-gold-mid);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-luxury);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.expert-team-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-luxury-hover);
}

.expert-passport-photo {
  width: 140px;
  height: 175px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 2px solid var(--accent);
  box-shadow: 0 8px 20px rgba(0, 41, 67, 0.1);
  margin-bottom: 1.5rem;
  transition: var(--transition-fast);
}

.expert-team-card:hover .expert-passport-photo {
  transform: scale(1.02);
  border-color: var(--accent-dark);
}

.expert-name {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.expert-role {
  font-family: var(--font-nav);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-dark);
  font-weight: 600;
  margin-bottom: 1rem;
}

.expert-brief {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.expert-card-link {
  font-family: var(--font-nav);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: var(--transition-fast);
}

.expert-card-link:hover {
  color: var(--accent-crimson);
  border-color: var(--accent-crimson);
}

@media (max-width: 991px) {
  .nav-menu.active {
    right: 0 !important;
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .nav-toggle {
    display: flex !important;
    pointer-events: auto !important;
  }

  .nav-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}