:root {
  --law-m2-gold: #b59449;
  --law-m2-dark: #12191b;
  --law-m2-white: #ffffff;
  --law-m2-bg-light: #f4f1ea;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  font-family: "poppins", sans-serif;
  box-sizing: border-box;
}

/* --- HERO SECTION --- */
.law-m2-hero {
  background-color: var(--law-m2-dark);
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0;
  padding-top: 250px;
}

.law-m2-subtitle {
  color: var(--law-m2-gold);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 10px;
  margin-right: 50px;
}

/* JUSTICE Logo Styling */
.law-m2-justice-wrap {
  display: flex;
  align-items: center;
  color: var(--law-m2-white);
  font-size: 100px;
  font-weight: 400;
  line-height: 1;
  position: relative;
}

.law-m2-char-i {
  position: relative;
  display: inline-block;
}
/* I ka upar ka stretch */
.law-m2-char-i::after {
  content: "";
  position: absolute;
  top: -105px;
  left: 50%;
  width: 10px;
  height: 130px;
  background: var(--law-m2-white);
  transform: translateX(-50%);
}

.law-m2-char-t {
  position: relative;
  display: inline-block;
}
/* T ka niche ka stretch */
.law-m2-char-t::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: 50%;
  width: 10px;
  height: 200px;
  background: var(--law-m2-white);
  transform: translateX(-50%);
}

.law-m2-demo-text {
  color: var(--law-m2-gold);
  font-size: 18px;
  margin-top: 10px;
  letter-spacing: 1px;
  margin-left: 300px;
}

.law-m2-apt-btn {
  margin-top: 200px; /* Space for the T stretch */
  background: var(--law-m2-gold);
  color: white;
  padding: 15px 40px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

/* --- CONSULTATION BOXES --- */
.law-m2-consult-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  width: 70%;
  margin: -60px 0;
  position: relative;
  z-index: 20;
  column-gap: 10px;
  margin-left: auto;
  top: 200px;
}

.law-m2-box {
  padding: 20px;
}
.law-m2-box-gold {
  background: var(--law-m2-gold);
  color: var(--law-m2-dark);
}
.law-m2-box-white {
  background: var(--law-m2-white);
  color: var(--law-m2-dark);
}

.law-m2-box h3 {
  font-size: 24px;
  margin-top: 0;
}
.law-m2-box p {
  line-height: 1.6;
  font-size: 14px;
}

.law-m2-inner-btn {
  padding: 10px 25px;
  border-radius: 20px;
  border: none;
  font-weight: bold;
  margin-top: 20px;
  cursor: pointer;
}
.law-m2-btn-black {
  background: var(--law-m2-dark);
  color: white;
}
.law-m2-btn-white {
  background: white;
  color: var(--law-m2-dark);
}

/* --- RESPONSIVE TABLET (786px) --- */
@media (max-width: 786px) {
  .law-m2-justice-wrap {
    font-size: 70px;
  }
  .law-m2-char-i::after {
    height: 80px;
    top: -80px;
    width: 5px;
  }
  .law-m2-char-t::after {
    height: 180px;
    bottom: -100px;
    width: 5px;
  }
  .law-m2-consult-container {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 20px;
  }
}

/* --- RESPONSIVE MOBILE (425px) --- */
@media (max-width: 425px) {
  .law-m2-justice-wrap {
    font-size: 50px;
  }
  .law-m2-char-i::after {
    height: 100px;
    top: -92px;
  }
  .law-m2-char-t::after {
    height: 140px;
    bottom: -105px;
  }
  .law-m2-apt-btn {
    margin-top: 100px;
  }

  .law-m2-box {
    padding: 30px;
  }
  .law-m2-demo-text {
    margin-left: 200px;
  }
  .law-m2-subtitle {
    margin-right: 80px;
  }
  .law-m2-hero {
    padding-top: 400px;
  }
}

/* Base Styles */
.law-td-myself-section {
  position: relative;
  background: radial-gradient(circle at center, #f5f2e9 0%, #dcd1b3 100%);
  padding: 200px 0;
  min-height: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: "poppins", sans-serif;
  padding-bottom: 150px;
}

/* Background "MYSELF" Text Styling */
.law-td-bg-text-container {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

.law-td-bg-char {
  font-size: 22rem;
  font-weight: 500;
  color: rgb(255, 255, 255);
  line-height: 1;
  position: relative;
  font-family: "poppins", sans-serif;
}

/* Stretching "L" upwards */
.law-td-stretch-up {
  position: relative;
}

.law-td-stretch-up::before {
  content: "";
  position: absolute;
  bottom: 60px;
  left: 28px;
  width: 34px; /* Adjust based on font weight */
  height: 700px; /* Long vertical stretch */
  background-color: rgb(255, 255, 255);
  z-index: -1;
}

/* Content Card Overlapping the BG Text */
.law-td-content-card {
  position: relative;
  z-index: 10;
  background: rgb(255 255 255 / 66%);
  width: 70%;
  max-width: 1000px;
  display: flex;
  padding: 60px;
  gap: 40px;
  margin-left: auto;
  padding-left: 10px;
  margin-top: 200px;
}

.law-td-text-wrapper {
  flex: 2;
}

.law-td-description {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin: 0;
  font-family: "poppins", sans-serif;
}

.law-td-title-wrapper {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.law-td-section-title {
  font-size: 55px;
  color: #121d21;
  margin: 0;
  letter-spacing: 2px;
  font-weight: 300;
  margin-top: 100px;
}

/* Button Styling */
.law-td-button-container {
  margin-top: 150px;
  z-index: 10;
}

.law-td-btn-main {
  background-color: #121d21;
  color: #ffffff;
  padding: 15px 40px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.law-td-btn-main:hover {
  transform: scale(1.05);
}

/* --- RESPONSIVE 768px (Tablet) --- */
@media (max-width: 768px) {
  .law-td-bg-char {
    font-size: 150px;
  }

  .law-td-stretch-up::before {
    width: 20px;
  }

  .law-td-content-card {
    flex-direction: column-reverse; /* Title moves above text */
    width: 85%;
    padding: 40px;
    text-align: center;
  }

  .law-td-title-wrapper {
    justify-content: center;
    margin-bottom: 20px;
  }

  .law-td-section-title {
    font-size: 48px;
  }
  .law-td-stretch-up::before {
    bottom: 60px;
    left: 12px;
    width: 14px;
    height: 700px;
  }
  .law-td-button-container {
    margin-top: 150px;
  }
  .law-td-myself-section {
    padding: 100px 0;
  }
}

/* --- RESPONSIVE 425px (Mobile) --- */
@media (max-width: 425px) {
  .law-td-bg-char {
    font-size: 80px;
  }

  .law-td-stretch-up::before {
    bottom: 60px;
    left: 6px;
    width: 8px;
    height: 500px;
  }

  .law-td-content-card {
    width: 90%;
    padding: 25px;
  }

  .law-td-section-title {
    font-size: 36px;
  }

  .law-td-description {
    font-size: 14px;
  }

  .law-td-btn-main {
    width: 100%;
    padding: 12px 20px;
  }
}

:root {
  --law-ct-gold: #b59449;
  --law-ct-dark: #12191b;
  --law-ct-white: #ffffff;
}

.law-ct-expertise-section {
  position: relative;
  padding: 100px 0;
  background-color: var(--law-ct-white);
  overflow: hidden;
  font-family: "poppins", sans-serif;
  height: 150vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- Title Styling --- */
.law-ct-title-container {
  position: relative;
  margin-bottom: -50px; /* Overlap with cards */
  z-index: 5;
}

.law-ct-title-prefix {
  color: var(--law-ct-gold);
  font-size: 8rem;
  display: block;
  margin-bottom: -100px;
  margin-left: 13px;
}

.law-ct-main-title {
  font-size: 17rem;
  color: var(--law-ct-gold);
  text-transform: uppercase;
  margin: 0;
  display: flex;
  align-items: baseline;
  font-weight: 300;
}

/* Stretched T (Downwards) */
.law-ct-stretch-t {
  position: relative;
}
.law-ct-stretch-t::after {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 50%;
  width: 19px;
  height: 600px; /* Stretch length */
  background-color: var(--law-ct-gold);
  transform: translateX(-50%);
  z-index: -1;
}

/* Stretched I (Upwards) */
.law-ct-stretch-i {
  position: relative;
}
.law-ct-stretch-i::before {
  content: "";
  position: absolute;
  bottom: 0.5em;
  left: 50%;
  width: 19px;
  height: 500px; /* Stretch length */
  background-color: var(--law-ct-gold);
  transform: translateX(-50%);
  z-index: -1;
}

/* --- Cards Grid --- */

.law-ct-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 180px) 40px;
  gap: 20px;
  align-items: end;
  margin-top: 20px;
}
.law-ct-card {
  height: 300px;
  position: relative;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.4s ease-in-out;
  overflow: hidden;
}

/* Card base */
.law-ct-card {
  position: relative;
  overflow: hidden;
  height: 300px; /* Ya jo aapne set kiya ho */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  transition: all 0.4s ease-in-out;
}

/* Background image with dark tint */
.law-ct-card-dark {
  background:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../img/home/img-01.jpg");
  background-size: cover;
  color: var(--law-ct-gold);
}

/* Content wrapper taaki z-index handle ho sake */
.law-ct-card-content {
  position: relative;
  z-index: 2; /* Overlay ke upar rakhne ke liye */
  transition: color 0.4s ease-in-out;
}

/* White overlay layer */
.law-ct-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: all 0.4s ease-in-out;
  z-index: 1;
}

/* --- HOVER EFFECTS --- */

/* 1. White Overlay trigger */
.law-ct-card:hover::before {
  background: rgba(
    255,
    255,
    255,
    0.8
  ); /* White level 0.8 professional dikhta hai */
}

/* 2. Target H3 on Hover */
.law-ct-card:hover h3 {
  color: #000000 !important;
}

/* 3. Target A tag (Appointment) on Hover */
.law-ct-card:hover .law-ct-apt-link {
  color: #000000 !important;
}

/* Links ki default styling (taaki transition smooth ho) */
.law-ct-apt-link {
  color: inherit; /* Default me parent ka color lega */
  text-decoration: none;
  transition: color 0.4s ease-in-out;
  display: inline-block;
  margin-top: 10px;
}

.law-ct-apt-link {
  margin-top: 50px;
  font-size: 10px;
  color: var(--law-ct-dark);
  text-decoration: none;
  font-weight: bold;
}

.law-ct-see-all-btn {
  background: var(--law-ct-dark);
  color: var(--law-ct-gold);
  border: 1px solid var(--law-ct-dark); /* Border transition ke liye */
  padding: 14px 20px;
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 2px; /* Professional spacing */
  text-transform: uppercase;
  white-space: nowrap;


  /* Smooth Transition */
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* --- Premium Hover Effect --- */
.law-ct-see-all-btn:hover {
  background: transparent; /* Light feel ke liye */
  color: var(--law-ct-dark); /* Text dark ho jayega */
  border: 1px solid var(--law-ct-dark);
  letter-spacing: 4px; /* Space badhne se "Open" feel aata hai */
  transform: translateY(-3px); /* Halka sa lift */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/* Optional: Click effect */
.law-ct-see-all-btn:active {
  transform: translateY(-1px);
}

/* --- RESPONSIVE 768px --- */
@media (max-width: 768px) {
  .law-ct-cards-grid {
    grid-template-columns: 1fr 1fr;
  }
  .law-ct-action-box {
    grid-column: span 2;
  }
  .law-ct-main-title {
    font-size: 8rem;
  }
  .law-ct-stretch-t::after {
    top: 0.5em;
    left: 50%;
    width: 9px;
    height: 100px;
  }
  .law-ct-stretch-i::before {
    top: -250px;
    left: 50%;
    width: 9px;
    height: 300px;
  }
  .law-ct-title-prefix {
    margin-bottom: -40px;
    margin-left: 4px;
  }
}

/* --- RESPONSIVE 425px --- */
@media (max-width: 425px) {
  .law-ct-cards-grid {
    grid-template-columns: 1fr;
  }
  .law-ct-action-box {
    grid-column: span 1;
  }
  .law-ct-main-title {
    font-size: 70px;
  }
  .law-ct-card {
    height: 200px;
  }
  .law-td-button-container {
    margin-top: 100px;
  }
  .law-ct-title-prefix {
    margin-bottom: -20px;
    margin-left: 0px;
  }
  .law-ct-stretch-t::after {
    top: 0.5em;
    left: 50%;
    width: 5px;
    height: 200px;
  }
  .law-ct-stretch-i::before {
    top: -250px;
    left: 50%;
    width: 5px;
    height: 300px;
  }
}

:root {
  --law-nm-gold: #b59449;
  --law-nm-dark: #12191b;
  --law-nm-gray: #e0e0e0;
}

.law-nm-numbers-section {
  padding: 100px 0;
  background-color: #ffffff;
  overflow: hidden;
  font-family: "poppins", sans-serif;
}

.law-nm-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-left: 400px;
}

/* Background Vertical Text */
.law-nm-bg-vertical {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  font-size: 180px;
  font-weight: 900;
  color: var(--law-nm-gray);
  opacity: 0.5;
  letter-spacing: 20px;
  z-index: 1;
  pointer-events: none;
  white-space: nowrap;
}

/* Statue Image Styling */
.law-nm-image-box {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  z-index: 2;
}

.law-nm-statue {
  max-width: 100%;
  height: auto;
  /* filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1)); */
}

/* Stats Styling */
.law-nm-stats-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
  z-index: 3;
}

.law-nm-stat-item {
  display: flex;
  flex-direction: column;
}

.law-nm-stat-val {
  font-size: 48px;
  font-weight: bold;
  color: var(--law-nm-gold);
  line-height: 1;
}

.law-nm-stat-label {
  font-size: 18px;
  color: var(--law-nm-dark);
  margin-top: 5px;
  font-weight: 500;
}

/* --- RESPONSIVE 786px --- */
@media (max-width: 786px) {
  .law-nm-container {
    flex-direction: column;
    text-align: center;
    margin-left: 0px;
  }

  .law-nm-bg-vertical {
    font-size: 120px;
    transform: translate(-50%, -50%); /* Remove rotation for mobile if needed */
    rotate: 0deg;
    opacity: 0.2;
  }

  .law-nm-image-box {
    justify-content: center;
  }

  .law-nm-stats-list {
    align-items: center;
  }
  .law-nm-stats-list {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    z-index: 3;
    margin-top: 100px;
  }
  .law-nm-numbers-section {
    padding: 40px 0;
  }
  .law-whatsapp-icon {
    margin-top: 0px;
  }
 
}

/* --- RESPONSIVE 425px --- */
@media (max-width: 425px) {
  .law-nm-stat-val {
    font-size: 36px;
  }
  .law-nm-stat-label {
    font-size: 16px;
  }
  .law-nm-bg-vertical {
    font-size: 80px;
  }
  .law-nm-container {
    margin-left: 0px;
  }
}

:root {
  --law-gr-gold: #b59449;
  --law-gr-dark: #12191b;
  --law-gr-bg: #f8f9fa;
  --law-gr-blue: #4285f4;
}

.law-gr-reviews-section {
  padding: 60px 5%;
  background-color: #ffffff;
  font-family: "poppins", sans-serif;
}

/* Header Summary Card */
.law-gr-summary-card {
  background-color: transparent;
  padding: 30px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  border-radius: 4px;
}

.law-gr-google-text {
  font-size: 28px;
  font-weight: bold;
  color: var(--law-gr-dark);
}
.law-gr-review-text {
  font-size: 28px;
  font-weight: bold;
  color: #5f6368;
  margin-left: 5px;
}

.law-gr-rating-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
}
.law-gr-rating-num {
  font-size: 32px;
  font-weight: bold;
}
.law-gr-stars {
  color: #fbbc05;
  font-size: 24px;
}
.law-gr-count {
  color: var(--law-gr-gold);
  font-size: 24px;
}

.law-gr-write-btn {
  background: white;
  border: 1px solid #ddd;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Reviews Grid */
.law-gr-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.law-gr-card {
  background-color: var(--law-gr-bg);
  padding: 30px;
  border-radius: 4px;
}

.law-gr-user-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.law-gr-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.law-gr-user-name {
  display: block;
  font-weight: bold;
  font-size: 16px;
  color: var(--law-gr-dark);
}
.law-gr-verified {
  color: #4285f4;
  font-style: normal;
  font-size: 14px;
}
.law-gr-date {
  font-size: 13px;
  color: #888;
}

.law-gr-card-stars {
  color: #fbbc05;
  margin-bottom: 15px;
  font-size: 20px;
}
.law-gr-text {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 50px;
}
.law-gr-readmore {
  color: #4285f4;
  text-decoration: underline;
  font-weight: bold;
  font-size: 14px;
}

/* --- RESPONSIVE 786px --- */
@media (max-width: 786px) {
  .law-gr-summary-card {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .law-gr-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* --- RESPONSIVE 425px --- */
@media (max-width: 425px) {
  .law-gr-google-text,
  .law-gr-review-text {
    font-size: 22px;
  }
  .law-gr-rating-num {
    font-size: 24px;
  }
  .law-gr-count {
    font-size: 18px;
  }
}

/* The Moving Track */
.law-gr-slider-track {
  display: flex;
  width: calc(350px * 6 + 150px); /* Card width * total cards + gaps */
  gap: 30px;
  animation: law-gr-scroll 20s linear infinite;
}

/* Pause animation on hover */
.law-gr-slider-track:hover {
  animation-play-state: paused;
}

/* Slider Viewport */
.law-gr-slider-viewport {
  padding: 40px 0;
  overflow: hidden;
  background-color: #ffffff; /* Aapka existing white bg */
}

/* Track Container */
.law-gr-slider-track {
  display: flex;
  gap: 30px;
  padding: 20px; /* Shadows cut na ho isliye padding */
}

/* Glassmorphism Card Styling */
.law-gr-card {
  flex: 0 0 350px;
  /* Glass Effect Properties */
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  /* Border and Shadow for Depth */
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

  padding: 30px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
}

/* Hover Effect for Premium Feel */
.law-gr-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 15px 45px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(181, 148, 73, 0.2); /* Subtle Gold border on hover */
}

/* Avatar Styling */
.law-gr-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Typography inside Glass Card */
.law-gr-user-name {
  font-weight: 700;
  color: #12191b;
  font-size: 16px;
}

.law-gr-card-stars {
  color: #fbbc05;
  margin: 15px 0;
  letter-spacing: 2px;
}

.law-gr-text {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 20px;
  /* Limit text height for symmetry */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.law-gr-readmore {
  margin-top: auto;
  color: #b59449; /* Gold color */
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- RESPONSIVE ADJUSTMENTS --- */

/* Tablet View (768px) */
@media (max-width: 768px) {
  .law-gr-card {
    flex: 0 0 300px;
    padding: 20px;
  }
  .law-gr-slider-track {
    gap: 20px;
  }
}

/* Mobile View (425px) */
@media (max-width: 425px) {
  .law-gr-card {
    flex: 0 0 280px;
  }
  .law-gr-slider-viewport {
    padding: 20px 0;
  }
}

/* Animation Keyframes */
@keyframes law-gr-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    /* Move by the width of the first 3 cards */
    transform: translateX(calc(-350px * 3 - 90px));
  }
}

/* Responsive adjustments */
@media (max-width: 425px) {
  .law-gr-card {
    flex: 0 0 280px;
  }
  @keyframes law-gr-scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-280px * 3 - 90px));
    }
  }
}
/* Container ko relative rakhna zaroori hai */
.law-fn-block.law-fn-light {
  position: relative;
  overflow: hidden; /* Taaki logo block se bahar na nikle */
}

/* Background Icon Styling */
.law-fn-bg-icon {
  position: absolute;
  right: 25%; /* Thoda side mein shift karne ke liye */
  bottom: 20%;
  width: 200px; /* Bada size watermark ke liye */
  height: 200px;
  color: rgba(0, 0, 0, 0.04); /* Bahut halka black (watermark effect) */
  z-index: 1; /* Content ke niche */
  pointer-events: none; /* Mouse interactions ko block na kare */
  transition: 0.5s ease;
}

/* Text Content ko icon ke upar laane ke liye */
.law-fn-text-content {
  position: relative;
  z-index: 5;
}

/* Hover par thoda movement (Minimalist Animation) */
.law-fn-block:hover .law-fn-bg-icon {
  transform: scale(1.1) rotate(-10deg);
  color: rgba(37, 211, 102, 0.08); /* Hover par halka green tint */
}

/* Google Logo Colors */
.law-gr-google-logo {
  font-size: 28px;
  font-weight: bold;
  font-family: "poppins", sans-serif; /* Best if available, otherwise Arial */
}

.g-blue {
  color: #4285f4;
}
.g-red {
  color: #ea4335;
}
.g-yellow {
  color: #fbbc05;
}
.g-green {
  color: #34a853;
}

/* Keep your existing review text styling */
.law-gr-review-text {
  font-size: 28px;
  font-weight: bold;
  color: #5f6368;
  margin-left: 5px;
}
.law-fn-block-youtube {
  position: relative;
  width: 100%;
  height: 810px; /* Ya fir aspect-ratio: 16/9; use karein */
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.law-fn-yt-video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Video ko bina gap ke fill karne ke liye */
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.law-fn-yt-icon-overlay {
  position: relative;
  z-index: 2; /* Icon video ke upar rahega */
  pointer-events: none; /* Icon par click karne se video na ruke */
}

.law-fn-yt-logo {
  width: 100px;
  height: auto;
  display: block;
}

/* Base Box Styling */
.law-down-ft-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  aspect-ratio: 1 / 1; /* Square boxes */
  overflow: hidden;
}

/* 1st Box (YouTube) - Double Height */
.law-down-ft-video-box {
  grid-row: span 2; /* Height of two boxes */
  aspect-ratio: auto; /* Remove square constraint */
  padding: 0;
  background: #000;
}

.law-down-ft-video-wrapper,
.law-down-ft-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Colors */
.law-down-ft-white-box {
  background-color: #ededed;
  color: #333;
}
.law-down-ft-gold-box {
  background-color: #b08d44;
  color: #fff;
}

/* Text Styling */

.law-down-ft-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
}




/* QR Code */
.law-down-ft-qr {
  width: 80px;
  height: 80px;
  margin-top: 10px;
  filter: brightness(0) invert(1);
}

/* Name Tag */
.law-down-ft-name-tag {
  background: white;
  padding: 10px 25px;
  font-weight: bold;
  letter-spacing: 2px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

/* Container styling */
.law-down-ft-container {
  width: 100%;
  padding: 100px 0px;
  box-sizing: border-box;
  background-color: #ffffff;
  font-family: "Arial", sans-serif;
  padding-bottom: 200px;
}

.law-down-ft-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  grid-gap: 0px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Base Box Styling */
.law-down-ft-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  background-color: #fff;
  /* Square feel maintain karne ke liye */
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
}

/* 1st Box: Video (Double Height aur Narrow Width) */
.law-down-ft-video-box {
  grid-row: span 2;
  aspect-ratio: auto; /* Height 2 boxes ke barabar stretch hogi */
  padding: 0;
  background: #000;
}

.law-down-ft-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Video box me puri tarah fill ho jayegi */
}

/* Colors & Themes */
.law-down-ft-white-box {
  background-color: #f2f2f2;
  color: #333;
}
.law-down-ft-gold-box {
  background-color: #b08d44;
  color: #fff;
}

/* Text Styling */
.law-down-ft-small-text {
  font-size: 18px;
  letter-spacing: 1px;
  margin-bottom: 5px;
  text-transform: uppercase;
  text-align: start;
}
.law-down-ft-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 5px 0;
  line-height: 1.2;
}
.law-down-ft-green-text {
  color: #1a4d2e;
  font-weight: bold;
  font-size: 13px;
  margin-top: 10px;
  text-align: start;
}

/* Social Icons */
.law-down-ft-social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 30px;
}
.law-down-ft-social-grid img {
  width: 50px;
  height: 50px;
  cursor: pointer;
  
  /* Icons ko white karne ke liye filter */
  filter: brightness(0) invert(1); 
  
  /* Initial state: thoda light/transparent takki premium lage */
  opacity: 0.7;
  
  /* Smooth animation */
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Hover Effect */
.law-down-ft-social-grid img:hover {
  /* Hover par full white aur glow */
  opacity: 1;
  transform: translateY(-5px) scale(1.1);
  
  /* Subtle drop shadow for depth */
  filter: brightness(0) invert(1) drop-shadow(0 4px 8px rgba(255,255,255,0.2));
}

/* QR Code */
.law-down-ft-qr {
  width: 90px;
  height: 90px;
  margin-top: 10px;
}

/* Name Tag Overlay */
.law-down-ft-name-tag {
  background: #fff;
  padding: 12px 20px;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 1px;
  border-left: 4px solid #b08d44;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.05);
}

/* --- Responsive Design --- */

/* For Tablets (2 columns) */
@media (max-width: 992px) {
  .law-down-ft-wrapper {
    grid-template-columns: 1fr 1fr;
  }
  .law-down-ft-video-box {
    grid-column: span 2; /* Video becomes full width */
    grid-row: auto;
    aspect-ratio: 16 / 9;
  }
}

/* For Mobile (1 column) */
@media (max-width: 600px) {
  .law-down-ft-wrapper {
    grid-template-columns: 1fr;
  }
  .law-down-ft-video-box {
    grid-column: span 1;
  }
  .law-down-ft-box {
    aspect-ratio: auto;
    min-height: 250px;
  }
}
.law-fn-bg-icon {
  position: absolute;
  right: 25%; /* Thoda side mein shift karne ke liye */
  bottom: 20%;
  width: 200px; /* Bada size watermark ke liye */
  height: 200px;
  color: rgba(0, 0, 0, 0.04); /* Bahut halka black (watermark effect) */
  z-index: 1; /* Content ke niche */
  pointer-events: none; /* Mouse interactions ko block na kare */
  transition: 0.5s ease;
}
.law-fn-block:hover .law-fn-bg-icon {
  transform: scale(1.1) rotate(-10deg);
  color: rgba(37, 211, 102, 0.08); /* Hover par halka green tint */
}
.law-ft-qr-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px; /* 3D depth ke liye */
}

.law-ft-qr-placeholder img {
  width: 200px;
  padding: 0px;
  background: rgba(217, 206, 206, 0);
  
  /* Smooth transition for premium feel */
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); 
  cursor: pointer;
  filter: invert(1) opacity(0.8); /* Default state: thoda light */
}

/* --- Minimalist Premium Hover --- */
.law-ft-qr-placeholder:hover img {
  /* 1. Halka sa zoom (1.05 best hota hai premium feel ke liye) */
  transform: scale(1.05) translateY(-5px); 
  
  /* 2. Opacity full ho jayegi */
  filter: invert(1) opacity(1); 
  
  /* 3. Subtle soft glow (bilkul minimalist) */
  drop-shadow: 0 10px 20px rgba(255, 255, 255, 0.15);
}

.law-fn-name {
  position: relative;
  font-size: 12px; /* Professional size */
  font-weight: 700;
  color: #121d21; /* Dark professional color */
  text-transform: uppercase;
  letter-spacing: 3px;
  padding: 15px 30px;
  background: #ffffff;

  /* Premium Border and Shadow */
  border-left: 4px solid #b59449; /* Gold accent on the left like a label */
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.05);

  display: inline-block;
  cursor: default;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Hover effect for minimalist premium feel */
.law-fn-name:hover {
  transform: translateX(10px); /* Label movement */
  background: #121d21;
  color: #b59449;
  border-left: 8px solid #b59449; /* Thickens on hover */
  letter-spacing: 5px; /* Spreads out slightly */
}

.law-down-ft-video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  overflow: hidden;
}

.law-down-ft-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  transition: opacity 0.4s ease;
}

.law-down-ft-overlay-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.law-down-ft-play-button {
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

.law-down-ft-icon-wrapper {
  position: relative;
  display: inline-block;
}

.law-down-ft-social-grid img {
  width: 50px;
  height: 50px;
  cursor: pointer;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: all 0.4s ease;
}
.law-down-ft-video-wrapper:hover .law-down-ft-play-button {
  transform: scale(1.1);
}

/* Jab video chalne lage tab overlay hide karne ke liye */
.law-down-ft-video-wrapper.is-playing .law-down-ft-video-overlay {
  opacity: 0;
  pointer-events: none;
}
/* Tooltip Design */
.law-down-ft-icon-wrapper::after {
  content: attr(data-tooltip); /* HTML se text lega */
  position: absolute;
  bottom: 120%; /* Icon ke upar */
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: white;
  color: #333;
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  pointer-events: none;
}

/* Tooltip Little Arrow (Chhota triange niche) */
.law-down-ft-icon-wrapper::before {
  content: '';
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: white;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

/* Hover State */
.law-down-ft-icon-wrapper:hover::after,
.law-down-ft-icon-wrapper:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.law-down-ft-icon-wrapper:hover img {
  opacity: 1;
  transform: scale(1.1);
}
/* Div ko link ki tarah behave karne ke liye */
.law-fn-block {
    text-decoration: none !important; /* Underline hatane ke liye */
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Hover par subtle effect */
.law-fn-block:hover {
    background-color: #ffffff; /* Thoda aur bright */
    transform: translateY(-3px); /* Halka sa lift */
}

/* Taaki text ka color link ki wajah se change na ho */
.law-fn-block p, 
.law-fn-block h3 {
    text-decoration: none;
}
@media (max-width: 425px) {
 .law-fn-bg-icon {
    bottom: 10%;
  }
}