/* ==========================================================================
   alterationIP LAW FIRM - Main Stylesheet
   Theme: Black Luxury & Gold Accents
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design System & CSS Variables
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --bg-primary: #070707;
  --bg-secondary: #0f0f0f;
  --bg-tertiary: #161616;
  --bg-light: #f7f6f2;
  /* Cream/white for industries served */

  --gold-primary: #dfba5a;
  --gold-dark: #b8933b;
  --gold-light: #f5dc93;
  --gold-gradient: linear-gradient(135deg, #f9f5e8 0%, #dfba5a 50%, #c29a38 80%, #8c6715 100%);
  --gold-glow: 0 0 15px rgba(223, 186, 90, 0.3);
  --gold-border: rgba(223, 186, 90, 0.2);

  --text-white: #ffffff;
  --text-grey: #a0a0a0;
  --text-muted: #707070;
  --text-dark: #1c1c1c;

  /* Typography */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Shadows */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container-max-width: 1280px;
  --header-height: 85px;
  --header-height-sticky: 70px;
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-full: 50px;
}

/* --------------------------------------------------------------------------
   2. Reset & General Configuration
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-grey);
  background-color: var(--bg-primary);
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headings);
  color: var(--text-white);
  line-height: 1.25;
  font-weight: 600;
  text-wrap: balance;
  /* From modern-web-guidance */
}

p {
  text-wrap: pretty;
  /* From modern-web-guidance */
}

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

ul {
  list-style: none;
}

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

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

/* Utility Classes */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

.text-center {
  text-align: center;
}

.text-white {
  color: var(--text-white);
}

.gold-text {
  color: var(--gold-primary);
}

.gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* --------------------------------------------------------------------------
   3. Navigation Bar & Sticky Logic
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.header-sticky {
  height: var(--header-height-sticky);
  background-color: rgba(7, 7, 7, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--gold-border);
  box-shadow: var(--shadow-md);
}

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

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

.logo-icon {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 2px 6px rgba(223, 186, 90, 0.2));
  transition: var(--transition-normal);
}

.logo:hover .logo-icon {
  transform: rotate(-5deg) scale(1.05);
}

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

.logo-title {
  font-family: 'Lora', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--gold-primary);
  letter-spacing: -0.2px;
  line-height: 1;
  white-space: nowrap;
}

.logo-title span {
  font-weight: 700;
}

.logo-subtitle {
  font-size: 0.65rem;
  letter-spacing: 3.5px;
  color: var(--text-grey);
  margin-top: 2px;
  font-weight: 500;
}

/* Desktop Navigation */
.nav-list {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-grey);
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
}

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

/* Navigation underline hover effect */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold-gradient);
  transition: var(--transition-normal);
}

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

/* Header Buttons and Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Hamburger menu button styling */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--text-white);
  transition: var(--transition-normal);
  border-radius: 1px;
}

.hamburger-active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100vh;
  transform: translateX(100%);
  background-color: rgba(12, 12, 12, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--gold-border);
  z-index: 999;
  padding: 120px 40px 40px;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-lg);
}

.mobile-drawer-open {
  transform: translateX(0);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.mobile-nav-link {
  font-family: var(--font-headings);
  font-size: 1.2rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-white);
  display: block;
}

.mobile-nav-link:hover {
  color: var(--gold-primary);
  padding-left: 8px;
}

/* --------------------------------------------------------------------------
   4. Buttons System
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 14px 28px;
  border-radius: var(--border-radius-full);
  cursor: pointer;
  transition: var(--transition-normal);
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold-gradient);
  color: var(--bg-primary);
  box-shadow: var(--shadow-sm);
}

.btn-gold:hover {
  background: var(--gold-gradient);
  transform: translateY(-2px);
  box-shadow: var(--gold-glow), var(--shadow-md);
}

.btn-gold svg {
  transition: var(--transition-fast);
}

.btn-gold:hover svg {
  transform: translateX(4px);
}

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

.btn-outline:hover {
  background: rgba(223, 186, 90, 0.08);
  color: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-outline svg {
  transition: var(--transition-fast);
}

.btn-outline:hover svg {
  transform: translateX(4px);
}

.btn-full {
  width: 100%;
}

/* --------------------------------------------------------------------------
   5. Hero Section (World Map connection & Pedestal Emblem)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 40px);
  display: flex;
  align-items: center;
  background-color: var(--bg-primary);
  background-image: url('../images/backgrounds/hero-bg.png');
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Fallback/Overlay to darken background image and make text readable */
.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(7, 7, 7, 0.8) 0%, rgba(7, 7, 7, 0.95) 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(223, 186, 90, 0.08);
  border: 1px solid rgba(223, 186, 90, 0.2);
  padding: 6px 14px;
  border-radius: var(--border-radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gold-primary);
  width: max-content;
}

.gold-svg {
  color: var(--gold-primary);
}

.hero-heading {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.15;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-grey);
  max-width: 580px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
}

/* Emblem Wrapper & Pedestal Animations */
.hero-illustration {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.emblem-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-emblem-img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.8));
  animation: floatEmblem 6s ease-in-out infinite;
  z-index: 2;
}

/* Subtle gold halo behind pedestal */
.emblem-glow {
  position: absolute;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(223, 186, 90, 0.15) 0%, rgba(223, 186, 90, 0) 70%);
  z-index: 1;
  border-radius: 50%;
  animation: pulseGlow 4s ease-in-out infinite alternate;
}

/* Location Indicator Badge */
.location-badge {
  position: absolute;
  bottom: 20px;
  right: 40px;
  background: rgba(15, 15, 15, 0.7);
  border: 1px solid var(--gold-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  z-index: 3;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--gold-primary);
  border-radius: 50%;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 16px;
  height: 16px;
  border: 1px solid var(--gold-primary);
  border-radius: 50%;
  animation: pulsePoint 1.8s infinite ease-out;
}

.location-text {
  font-family: var(--font-headings);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-white);
  letter-spacing: 0.5px;
}

/* Keyframes */
@keyframes floatEmblem {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulseGlow {
  0% {
    transform: scale(0.9);
    opacity: 0.5;
  }

  100% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

@keyframes pulsePoint {
  0% {
    transform: scale(0.5);
    opacity: 1;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   6. About Us Section
   -------------------------------------------------------------------------- */
.about-section {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
  align-items: flex-start;
}

.section-subtitle {
  display: block;
  font-family: var(--font-headings);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-primary);
  letter-spacing: 2px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 30px;
}

.about-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--text-grey);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Features Grid inside About Section */
.about-features {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  background-color: rgba(223, 186, 90, 0.06);
  border: 1.5px solid var(--gold-border);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  transition: var(--transition-normal);
}

.feature-item:hover .feature-icon {
  background-color: var(--gold-primary);
  color: var(--bg-primary);
  transform: translateY(-3px);
  box-shadow: var(--gold-glow);
}

.feature-text h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-white);
}

.feature-text p {
  font-size: 0.85rem;
  color: var(--text-grey);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   7. Practice Areas Section (12 Grid Cards)
   -------------------------------------------------------------------------- */
.practice-areas-section {
  background-color: var(--bg-primary);
}

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

.badge-icon {
  display: inline-flex;
  justify-content: center;
  margin-bottom: 12px;
}

.badge-icon svg {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 2px 4px rgba(223, 186, 90, 0.3));
}

.tracking-title {
  font-size: 1.6rem;
  letter-spacing: 4px;
  font-weight: 500;
  color: var(--gold-primary);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid rgba(223, 186, 90, 0.08);
}

.practice-card {
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  border: 1px solid rgba(223, 186, 90, 0.08);
  background-color: rgba(15, 15, 15, 0.3);
  transition: var(--transition-normal);
}

.practice-card:hover {
  background-color: rgba(223, 186, 90, 0.04);
  z-index: 5;
  box-shadow: inset 0 0 15px rgba(223, 186, 90, 0.08);
}

.card-icon {
  color: var(--gold-primary);
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.practice-card:hover .card-icon {
  transform: scale(1.15) translateY(-5px);
  color: var(--gold-light);
  filter: drop-shadow(0 4px 10px rgba(223, 186, 90, 0.3));
}

.practice-card h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-white);
  letter-spacing: 0.5px;
  line-height: 1.4;
  transition: var(--transition-fast);
}

.practice-card:hover h3 {
  color: var(--gold-primary);
}

/* --------------------------------------------------------------------------
   8. Why Choose Us Section (5 Column Cards)
   -------------------------------------------------------------------------- */
.why-us-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.why-card {
  background-color: var(--bg-tertiary);
  border: 1.5px solid rgba(255, 255, 255, 0.03);
  border-radius: var(--border-radius-md);
  padding: 40px 24px;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-border);
  box-shadow: var(--shadow-lg), var(--gold-glow);
}

.why-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(223, 186, 90, 0.05);
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  transition: var(--transition-normal);
}

.why-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  transition: var(--transition-normal);
}

.why-card:hover .why-icon {
  background-color: var(--gold-primary);
  color: var(--bg-primary);
  transform: rotate(360deg);
  box-shadow: var(--gold-glow);
}

.why-card:hover .why-icon img {
  filter: brightness(0);
}

.why-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.why-card p {
  font-size: 0.8rem;
  color: var(--text-grey);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. Industries Served Section
   -------------------------------------------------------------------------- */
.industries-section {
  background-color: var(--bg-primary);
  padding-top: 80px;
  padding-bottom: 0;
  /* Merges into white layout banner */
}

.industries-container {
  max-width: 100%;
  padding: 0;
}

.industries-bar {
  background-color: var(--bg-light);
  width: 100%;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  padding: 45px 5%;
  border-top: 1.5px solid var(--gold-border);
  border-bottom: 1.5px solid var(--gold-border);
}

.industry-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  color: var(--text-dark);
  transition: var(--transition-normal);
  cursor: default;
}

.industry-icon {
  color: #554418;
  /* Dark gold line color for high contrast on light bg */
  transition: var(--transition-normal);
}

.industry-item:hover .industry-icon {
  transform: scale(1.15) translateY(-4px);
  color: var(--gold-dark);
}

.industry-item span {
  font-family: var(--font-headings);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #3a321d;
  transition: var(--transition-fast);
}

.industry-item:hover span {
  color: var(--gold-dark);
}

/* --------------------------------------------------------------------------
   10. Contact Us Section & Validation Form
   -------------------------------------------------------------------------- */
.contact-section {
  background-color: var(--bg-primary);
}

.contact-container {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
  align-items: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-desc {
  font-size: 1.05rem;
  color: var(--text-grey);
  line-height: 1.6;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 15px;
}

.contact-method-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  color: var(--text-white);
  transition: var(--transition-fast);
  width: max-content;
}

.contact-method-item:hover {
  color: var(--gold-primary);
  transform: translateX(5px);
}

.contact-method-icon {
  width: 42px;
  height: 42px;
  background-color: rgba(223, 186, 90, 0.05);
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  flex-shrink: 0;
}

/* Contact Form Layout */
.contact-form-wrapper {
  background-color: var(--bg-secondary);
  border: 1.5px solid rgba(255, 255, 255, 0.03);
  border-radius: var(--border-radius-lg);
  padding: 50px 40px;
  box-shadow: var(--shadow-lg);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.form-control {
  background-color: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-sm);
  padding: 16px 20px;
  color: var(--text-white);
  font-size: 0.9rem;
  transition: var(--transition-normal);
  width: 100%;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-control:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px rgba(223, 186, 90, 0.15);
  background-color: rgba(22, 22, 22, 0.8);
}

/* Select element specific overrides */
.select-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23dfba5a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 14px;
  padding-right: 45px;
}

.select-control option {
  background-color: var(--bg-tertiary);
  color: var(--text-white);
}

/* Textarea specific overrides */
textarea.form-control {
  resize: vertical;
}

/* Form validation states */
.form-control.is-invalid {
  border-color: #e74c3c;
  box-shadow: 0 0 10px rgba(231, 76, 60, 0.1);
}

.error-msg {
  font-size: 0.75rem;
  color: #e74c3c;
  margin-top: 6px;
  display: none;
}

/* --------------------------------------------------------------------------
   11. Footer Section
   -------------------------------------------------------------------------- */
.footer {
  background-color: #040404;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.1fr 1.1fr 1.5fr;
  gap: 50px;
  padding-bottom: 60px;
}

.footer-col h3 {
  font-size: 0.9rem;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--gold-primary);
  margin-bottom: 28px;
  text-transform: uppercase;
}

.brand-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.brand-desc {
  font-size: 0.85rem;
  color: var(--text-grey);
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-grey);
  background-color: rgba(255, 255, 255, 0.02);
}

.social-links a:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background-color: rgba(223, 186, 90, 0.05);
  transform: translateY(-2px);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-grey);
}

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

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-grey);
  line-height: 1.4;
}

.footer-contact-info li a:hover {
  color: var(--gold-primary);
}

.footer-contact-info svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Footer Newsletter group */
.newsletter-col p {
  font-size: 0.85rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.newsletter-input-group {
  display: flex;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-sm);
  background-color: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: var(--transition-normal);
}

.newsletter-input-group:focus-within {
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px rgba(223, 186, 90, 0.1);
}

.newsletter-input-group input {
  flex-grow: 1;
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--text-white);
  width: 70%;
}

.newsletter-input-group input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.newsletter-input-group button {
  width: 48px;
  background: var(--gold-gradient);
  color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-normal);
}

.newsletter-input-group button:hover {
  background: var(--gold-light);
  transform: scale(1.02);
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding: 30px 0;
  margin-top: 40px;
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-legal a:hover {
  color: var(--gold-primary);
}

.footer-legal .divider {
  color: rgba(255, 255, 255, 0.05);
}

/* --------------------------------------------------------------------------
   12. Entry Animations (IntersectionObserver Class Triggers)
   -------------------------------------------------------------------------- */
/* General Reveal Initial State */
.scroll-reveal {
  opacity: 0;
  transition: opacity var(--transition-slow), transform var(--transition-slow);
  will-change: transform, opacity;
}

/* Fade Up */
.fade-up {
  transform: translateY(40px);
}

/* Fade Left */
.fade-left {
  transform: translateX(-40px);
}

/* Fade Right */
.fade-right {
  transform: translateX(40px);
}

/* Zoom In */
.zoom-in {
  transform: scale(0.92);
}

/* Revealed State */
.revealed {
  opacity: 1 !important;
  transform: translate(0) scale(1) !important;
}

/* CSS-only Initial Load Animations (Non-scroll dependent) */
.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  animation: entranceReveal 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  animation: entranceReveal 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.2s;
}

@keyframes entranceReveal {
  to {
    opacity: 1;
    transform: translate(0);
  }
}

/* --------------------------------------------------------------------------
   13. Toast Notification UI
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.toast {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--gold-border);
  border-left: 4px solid var(--gold-primary);
  border-radius: var(--border-radius-sm);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-lg);
  color: var(--text-white);
  min-width: 320px;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast-show {
  transform: translateX(0);
}

.toast-icon {
  color: var(--gold-primary);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.toast-message {
  font-size: 0.85rem;
  font-weight: 500;
  flex-grow: 1;
}

.toast-close {
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
}

.toast-close:hover {
  color: var(--text-white);
}

/* --------------------------------------------------------------------------
   15. Bar Council of India Disclaimer Popup Modal
   -------------------------------------------------------------------------- */
.disclaimer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(7, 7, 7, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.disclaimer-show {
  opacity: 1;
  visibility: visible;
}

.disclaimer-modal {
  background-color: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  max-width: 680px;
  width: 90%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg), var(--gold-glow);
  transform: scale(0.92);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.disclaimer-show .disclaimer-modal {
  transform: scale(1);
}

.disclaimer-header {
  padding: 30px 40px 15px;
  border-bottom: 1px solid rgba(223, 186, 90, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.disclaimer-logo {
  height: 48px;
  width: auto;
}

.disclaimer-title {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--gold-primary);
  margin: 0;
}

.disclaimer-body {
  padding: 20px 40px;
  overflow-y: auto;
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-grey);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.disclaimer-body::-webkit-scrollbar {
  width: 6px;
}

.disclaimer-body::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

.disclaimer-body::-webkit-scrollbar-thumb {
  background: var(--gold-border);
  border-radius: 3px;
}

.disclaimer-body::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

.disclaimer-body p {
  margin: 0;
  text-wrap: pretty;
}

.disclaimer-body strong {
  color: var(--gold-light);
}

.disclaimer-confirm-text {
  background-color: rgba(223, 186, 90, 0.03);
  border-left: 3px solid var(--gold-primary);
  padding: 15px 20px;
  border-radius: 0 8px 8px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.disclaimer-list {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

.disclaimer-list li {
  list-style-type: disc;
  color: var(--text-grey);
}

.disclaimer-actions {
  padding: 20px 40px 30px;
  border-top: 1px solid rgba(223, 186, 90, 0.1);
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

.disclaimer-actions .btn {
  padding: 12px 28px;
  font-size: 0.9rem;
  min-width: 130px;
  justify-content: center;
}

body.disclaimer-active {
  overflow: hidden;
}

@media (max-width: 768px) {
  .disclaimer-header {
    padding: 25px 20px 15px;
  }

  .disclaimer-body {
    padding: 15px 20px;
  }

  .disclaimer-actions {
    padding: 15px 20px 25px;
    justify-content: center;
    flex-direction: column-reverse;
  }

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