/* ============================================
   Advocate M. Mahendran – Law Office
   Premium Black & White Theme
   ============================================ */

:root {
  --black: #0a0a0a;
  --black-soft: #111111;
  --black-card: #161616;
  --gray-dark: #1e1e1e;
  --gray-mid: #2a2a2a;
  --gray-text: #a8a8a8;
  --gray-light: #d4d4d4;
  --white: #ffffff;
  --off-white: #f5f5f5;
  --gold: #c9a962;
  --gold-light: #e8d5a3;
  --accent: rgba(201, 169, 98, 0.15);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', system-ui, sans-serif;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  --glass: rgba(255, 255, 255, 0.05);
  --header-h: 80px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--gray-light);
  line-height: 1.7;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 16px;
}

.section-desc {
  color: var(--gray-text);
  font-size: 1rem;
}

/* ========== PRELOADER ========== */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 0.05em;
}

.preloader-bar {
  width: 200px;
  height: 2px;
  background: var(--gray-mid);
  overflow: hidden;
  position: relative;
}

.preloader-bar::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: preloadSlide 1.2s ease-in-out infinite;
}

@keyframes preloadSlide {
  0% { left: -100%; }
  100% { left: 100%; }
}

.preloader-text {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray-text);
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  height: 70px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 48px;
  width: auto;
  max-width: min(320px, 72vw);
  object-fit: contain;
  object-position: left center;
  display: block;
  transition: opacity var(--transition);
}

.logo:hover .logo-img {
  opacity: 0.9;
}

.header.scrolled .logo-img {
  height: 42px;
  max-width: min(280px, 68vw);
}

.preloader-logo-img {
  height: 56px;
  width: auto;
  max-width: min(360px, 85vw);
  object-fit: contain;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  object-position: left center;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.logo-tagline {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-light);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  transition: background var(--transition), color var(--transition);
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--gold);
  color: var(--black) !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?w=1920&q=80') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.92) 0%,
    rgba(10, 10, 10, 0.75) 50%,
    rgba(10, 10, 10, 0.88) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 120px 24px 80px;
}

.hero-label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero-title {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.5s forwards;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--gray-text);
  max-width: 650px;
  margin: 0 auto 40px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.7s forwards;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.9s forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--white);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 169, 98, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray-text);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
  animation: bounce 2s ease infinite;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ========== PAGE BANNER ========== */
.page-banner {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  overflow: hidden;
}

.page-banner-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?w=1920&q=80') center/cover no-repeat;
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.85);
}

.page-banner-content {
  position: relative;
  z-index: 2;
}

.page-banner h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 12px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray-text);
}

.breadcrumb a:hover { color: var(--gold); }

.breadcrumb span { color: var(--gold); }

/* ========== STATS ========== */
.stats {
  background: var(--black-soft);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 50px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--transition);
}

.stat-item:last-child { border-right: none; }

.stat-item:hover {
  background: var(--accent);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--white);
  margin-bottom: 8px;
}

.stat-number span {
  color: var(--gold);
}

.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-text);
}

.stat-desc {
  font-size: 0.75rem;
  color: var(--gray-text);
  margin-top: 6px;
}

.trust-pillars .stat-number {
  font-size: 2rem;
  line-height: 1;
}

.local-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

.local-intro-grid h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 16px;
}

.local-intro-grid p {
  color: var(--gray-text);
  margin-bottom: 14px;
}

.nap-card address {
  font-style: normal;
  color: var(--gray-text);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.nap-card h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.75rem;
}

.cta-strip {
  background: linear-gradient(90deg, var(--black-soft), var(--gray-dark));
  border-top: 1px solid rgba(201, 169, 98, 0.2);
  border-bottom: 1px solid rgba(201, 169, 98, 0.2);
  padding: 48px 0;
}

.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-strip-text h2 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.cta-strip-text p {
  color: var(--gray-text);
  font-size: 0.9rem;
}

.cta-strip-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.eeat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.eeat-grid h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.eeat-grid p,
.eeat-grid li {
  color: var(--gray-text);
  font-size: 0.95rem;
  line-height: 1.7;
}

.process-list {
  padding-left: 20px;
}

.process-list li {
  margin-bottom: 10px;
}

.why-grid h3 a {
  color: var(--white);
  transition: color var(--transition);
}

.why-grid h3 a:hover {
  color: var(--gold);
}

.footer-nap {
  font-size: 0.85rem;
  color: var(--gray-text);
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-keywords {
  font-size: 0.75rem;
  color: var(--gray-mid);
  margin-top: 12px;
  line-height: 1.6;
}

/* Landing pages */
.landing-prose {
  max-width: 820px;
  margin: 0 auto;
}

.landing-prose p {
  color: var(--gray-text);
  margin-bottom: 18px;
  line-height: 1.8;
  font-size: 0.98rem;
}

.landing-prose h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin: 48px 0 16px;
  padding-top: 8px;
}

.landing-prose h3 {
  font-size: 1.1rem;
  margin: 28px 0 12px;
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.landing-prose ul {
  margin: 0 0 20px 20px;
  color: var(--gray-text);
}

.landing-prose li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.landing-prose a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.landing-intro-card {
  background: var(--black-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px;
  margin-bottom: 24px;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.areas-item {
  text-align: center;
  padding: 16px 12px;
  background: var(--black-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  color: var(--gray-light);
  transition: border-color var(--transition);
}

.areas-item:hover {
  border-color: rgba(201, 169, 98, 0.35);
}

.related-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.related-service-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
}

.related-service-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
}

.internal-links-bar {
  text-align: center;
  margin-top: 32px;
  font-size: 0.9rem;
  color: var(--gray-text);
}

.internal-links-bar a {
  color: var(--gold);
}

.landing-trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.landing-trust-item {
  padding: 20px;
  border-left: 2px solid var(--gold);
  background: rgba(255, 255, 255, 0.02);
}

.landing-trust-item strong {
  display: block;
  color: var(--white);
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.landing-trust-item span {
  font-size: 0.85rem;
  color: var(--gray-text);
}

@media (max-width: 768px) {
  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .related-services-grid,
  .landing-trust-bar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .local-intro-grid,
  .eeat-grid {
    grid-template-columns: 1fr;
  }
  .cta-strip-inner {
    flex-direction: column;
    text-align: center;
  }
  .cta-strip-buttons {
    justify-content: center;
    width: 100%;
  }
}

/* ========== CARDS & GLASS ========== */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 36px 28px;
  transition: all var(--transition);
}

.glass-card:hover {
  border-color: rgba(201, 169, 98, 0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--gold);
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.card-text {
  font-size: 0.9rem;
  color: var(--gray-text);
  line-height: 1.6;
}

/* ========== WHY CHOOSE US ========== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ========== CTA BANNER ========== */
.cta-banner {
  background: linear-gradient(135deg, var(--gray-dark) 0%, var(--black) 100%);
  border-top: 1px solid rgba(201, 169, 98, 0.2);
  border-bottom: 1px solid rgba(201, 169, 98, 0.2);
  padding: 80px 0;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 24px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  background: var(--black-soft);
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-slide {
  min-width: 100%;
  padding: 20px;
}

.testimonial-card {
  text-align: center;
  padding: 48px 40px;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  color: var(--white);
  margin-bottom: 28px;
  line-height: 1.8;
}

.testimonial-quote::before {
  content: '"';
  font-size: 3rem;
  color: var(--gold);
  display: block;
  line-height: 0.5;
  margin-bottom: 16px;
}

.testimonial-author {
  font-weight: 600;
  color: var(--white);
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--gray-text);
  margin-top: 4px;
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.testimonial-btn {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.testimonial-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-mid);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.testimonial-dot.active {
  background: var(--gold);
  transform: scale(1.2);
}

/* ========== FAQ ========== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--gold); }

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform var(--transition);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--gold);
  transition: var(--transition);
}

.faq-icon::before {
  width: 14px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item.active .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-answer-inner {
  padding-bottom: 24px;
  color: var(--gray-text);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* ========== ABOUT PAGE ========== */
.about-profile {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter var(--transition);
}

.about-image:hover img {
  filter: grayscale(70%);
}

.about-image-frame {
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 1px solid var(--gold);
  z-index: -1;
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.about-qualification {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.about-bio {
  color: var(--gray-text);
  margin-bottom: 32px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.value-card {
  padding: 32px;
  background: var(--black-card);
  border-left: 3px solid var(--gold);
  transition: transform var(--transition);
}

.value-card:hover {
  transform: translateX(8px);
}

.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -40px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--black);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.timeline-content h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--gray-text);
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ========== PRACTICE AREAS ========== */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.practice-card {
  position: relative;
  background: var(--black-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 32px;
  overflow: hidden;
  transition: all var(--transition);
}

.practice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.practice-card:hover {
  border-color: rgba(201, 169, 98, 0.3);
  transform: translateY(-4px);
}

.practice-card:hover::before {
  transform: scaleX(1);
}

.practice-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  color: var(--gold);
}

.practice-card h3,
.practice-card-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-family: var(--font-display);
  color: var(--white);
  font-weight: 600;
}

.practice-card p {
  font-size: 0.9rem;
  color: var(--gray-text);
  margin-bottom: 24px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  position: relative;
}

.read-more::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.practice-card:hover .read-more::after {
  width: calc(100% - 24px);
}

.read-more svg {
  transition: transform var(--transition);
}

.practice-card:hover .read-more svg {
  transform: translateX(6px);
}

/* ========== TEAM ========== */
.team-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  background: var(--black-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: all var(--transition);
}

.team-card:hover {
  border-color: rgba(201, 169, 98, 0.25);
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.team-card.featured {
  grid-column: span 1;
}

.team-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--gray-dark);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter var(--transition), transform 0.6s ease;
}

.team-card:hover .team-photo img {
  filter: grayscale(30%);
  transform: scale(1.05);
}

.team-info {
  padding: 28px 24px;
  text-align: center;
}

.team-info h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.team-designation {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.team-bio {
  font-size: 0.85rem;
  color: var(--gray-text);
  margin-bottom: 16px;
  line-height: 1.6;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.team-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-text);
  transition: all var(--transition);
}

.team-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}

.team-banner {
  background: linear-gradient(90deg, var(--black-soft), var(--gray-dark), var(--black-soft));
  padding: 60px 0;
  text-align: center;
  margin-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.team-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-style: italic;
}

/* ========== CONTACT ========== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--black-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color var(--transition);
}

.contact-card:hover {
  border-color: rgba(201, 169, 98, 0.3);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  color: var(--gold);
}

.contact-card h4 {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.contact-card p,
.contact-card a {
  font-size: 0.9rem;
  color: var(--gray-text);
}

.contact-card a:hover { color: var(--gold); }

.contact-form {
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-text);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.map-section {
  margin-top: 80px;
}

.map-container {
  position: relative;
  height: 400px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(100%) contrast(1.1);
  transition: filter var(--transition);
}

.map-container:hover iframe {
  filter: grayscale(50%) contrast(1.1);
}

.hours-table {
  margin-top: 40px;
  width: 100%;
  border-collapse: collapse;
}

.hours-table td {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
}

.hours-table td:last-child {
  text-align: right;
  color: var(--white);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--black-soft);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-brand .logo-name {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--gray-text);
  margin-bottom: 24px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-text);
  transition: all var(--transition);
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}

.footer h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--white);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--gray-text);
  transition: color var(--transition), padding-left var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 6px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--gray-text);
}

.footer-contact svg {
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray-text);
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition);
  animation: whatsappPulse 2s ease infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  animation: none;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7), 0 0 0 12px rgba(37, 211, 102, 0.1); }
}

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 998;
  width: 44px;
  height: 44px;
  background: var(--black-card);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-4px);
}

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========== VISION MISSION ========== */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.vm-card {
  padding: 48px 40px;
  background: var(--black-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.vm-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gold);
}

.vm-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .commitment-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-profile { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 70px; }

  .menu-toggle { display: flex; }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    padding: 100px 40px 40px;
    transition: right var(--transition);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav.open { right: 0; }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; }
  .why-grid { grid-template-columns: 1fr; }
  .practice-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .vm-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .commitment-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; }
  .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
  .back-to-top { bottom: 85px; right: 20px; }
}
