body::before {
  content: "\f24e"; /* FontAwesome Scales Icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40vw;
  color: rgba(0, 33, 71, 0.03); /* Extremely faint blue */
  z-index: -1;
  pointer-events: none;
}

:root {
  --primary-blue: #002147; /* Oxford Blue */
  --gold-accent: #c5a059; /* Muted Gold */
  --bg-light: #f4f4f4;
  --text-dark: #333333;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Montserrat", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}
h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
}
a {
  text-decoration: none;
  transition: 0.3s;
}
ul {
  list-style: none;
}

/* Navigation */
nav {
  background: var(--white);
  padding: 2px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-blue);
  /* border-left: 3px solid var(--gold-accent); */
  padding: 0;
}
.nav-links li {
  display: inline-block;
  margin-left: 30px;
}
.nav-links a {
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
}
.nav-links a:hover {
  color: var(--gold-accent);
}
/* --- Desktop Nav (Keep your existing styles or use these) --- */
.menu-toggle {
  display: none; /* Hidden on desktop */
  font-size: 1.5rem;
  color: var(--primary-blue);
  cursor: pointer;
}

/* --- Mobile Nav Logic --- */
@media (max-width: 768px) {
  .menu-toggle {
    display: block; /* Show hamburger on mobile */
  }

  .nav-links {
    display: none; /* Hide links by default on mobile */
    flex-direction: column;
    position: absolute;
    top: 100%; /* Sits right under the nav bar */
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
  }

  .nav-links.active {
    display: flex; /* Show when 'active' class is added via JS */
  }

  .nav-links li {
    margin: 15px 0;
    display: block;
  }
}
/* Hero Section */
.hero {
  min-height: 85vh;
  background:
    linear-gradient(rgba(0, 33, 71, 0.85), rgba(0, 33, 71, 0.85)),
    url("https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&q=80&w=1920") no-repeat center center/cover;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white);
  padding: 0 5%;
}
.hero-content {
  max-width: 900px;
  margin: 0 auto;
}
.hero-badge {
  color: var(--gold-accent);
  letter-spacing: 3px;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 15px;
  display: block;
}
.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 10px;
}
.hero .credentials {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 25px;
  opacity: 0.9;
}
.hero .tagline {
  font-size: 1.4rem;
  margin-bottom: 40px;
}
.btn {
  padding: 15px 35px;
  border-radius: 2px;
  font-weight: 600;
  display: inline-block;
  margin: 10px;
}
.btn-gold {
  background: var(--gold-accent);
  color: var(--primary-blue);
}
.btn-outline {
  border: 1px solid var(--white);
  color: var(--white);
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Sections General */
section {
  padding: 80px 10%;
}
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-blue);
}
.section-title .underline {
  width: 60px;
  height: 3px;
  background: var(--gold-accent);
  margin: 15px auto;
}

/* Profile Section */
.profile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  background: var(--white);
}
.profile-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--primary-blue);
}
.profile-text p {
  margin-bottom: 20px;
  text-align: justify;
}

/* Practice Areas Grid */
.practice-areas {
  background: var(--bg-light);
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.card {
  background: var(--white);
  padding: 40px 30px;
  text-align: center;
  border-bottom: 4px solid transparent;
  transition: 0.4s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.card i {
  font-size: 2.5rem;
  color: var(--gold-accent);
  margin-bottom: 20px;
}
.card h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--primary-blue);
}
.card:hover {
  border-bottom: 4px solid var(--gold-accent);
  transform: translateY(-10px);
}

/* Statutory Section (Authority Bar) */
.statutory {
  text-align: center;
  background: #00152e; /* Slightly darker for depth */
  color: var(--white);
  padding: 60px 10%;
  border-top: 1px solid rgba(197, 160, 89, 0.3); /* Subtle Gold top border */
  border-bottom: 1px solid rgba(197, 160, 89, 0.3);
}

.statutory p {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 30px;
  color: var(--gold-accent); /* Small gold text for the header */
  opacity: 0.9;
}

.statutory-list {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  align-items: center;
}

.statutory-list span {
  padding: 12px 25px;
  border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle box around each name */
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  transition: all 0.4s ease;
  background: rgba(255, 255, 255, 0.02);
}

/* Hover effect to make it interactive */
.statutory-list span:hover {
  border-color: var(--gold-accent);
  color: var(--gold-accent);
  background: rgba(197, 160, 89, 0.05);
  transform: translateY(-2px);
}

/* PIL Teaser */
.pil-teaser {
  text-align: center;
  padding-top: 100px;
}
.case-box {
  border: 1px solid #ddd;
  padding: 30px;
  max-width: 800px;
  margin: 0 auto;
  transition: 0.3s;
}
.case-box:hover {
  border-color: var(--gold-accent);
  background: #fffcf5;
}
.kanoon-link {
  color: var(--primary-blue);
  font-weight: 600;
  text-decoration: underline;
  margin-top: 15px;
  display: inline-block;
}

/* Footer */
footer {
  background: #111;
  color: #bbb;
  padding: 60px 10% 20px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}
.footer-grid h4 {
  color: var(--white);
  margin-bottom: 20px;
}
.disclaimer {
  border-top: 1px solid #333;
  padding-top: 20px;
  font-size: 0.75rem;
  text-align: center;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .profile {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  } /* Add a hamburger menu later if needed */
}
/* Partners Section Styling */
.partners-section {
  padding: 80px 10%;
  background-color: var(--white);
}

.partners-container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two columns for two partners */
  gap: 40px;
  margin-top: 40px;
}

.partner-card {
  background: #fff;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.partner-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.partner-image {
  height: 450px; /* Fixed height for uniformity */
  overflow: hidden;
}

.partner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* This crops the images to fit the box perfectly */
  object-position: top; /* Ensures faces aren't cut off */
}

.partner-content {
  padding: 30px;
  text-align: left;
}

.partner-content h3 {
  color: var(--primary-blue);
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.designation {
  color: var(--gold-accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.bio {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.5;
}

.social-mini a {
  color: var(--primary-blue);
  font-size: 1.2rem;
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .partners-container {
    grid-template-columns: 1fr; /* Stack them on tablets/phones */
  }
  .partner-image {
    height: 400px;
  }
}

.slider-container {
  position: relative;
  width: 100%;
  height: 85vh; /* Adjusted for a modern look */
  background:
    linear-gradient(rgba(0, 21, 46, 0.8), rgba(0, 21, 46, 0.8)),
    url("SudhaThevar.jpg") no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Aligns text to the left like Argus */
  padding-left: 10%;
  color: #fff;
}

.slide-content {
  max-width: 700px;
  animation: fadeInUp 1s ease-out;
}

.gold-line {
  display: block;
  width: 60px;
  height: 3px;
  background-color: #c5a059; /* Your Lawyer Gold */
  margin-bottom: 25px;
}

.slide-content h2 {
  font-size: 3rem;
  letter-spacing: 5px; /* The "Elite" spacing */
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif; /* Clean modern font for punchlines */
}

.slide-content p {
  font-size: 1.2rem;
  font-style: italic;
  font-family: "Playfair Display", serif;
  opacity: 0.9;
}

/* Simple Fade Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- MOBILE OPTIMIZATION (768px and below) --- */
@media (max-width: 768px) {
  /* 1. Top Bar Fix: Stack or Hide extra info */
  .top-bar {
    flex-direction: column;
    text-align: center;
    gap: 5px;
    padding: 10px 5%;
  }

  /* 2. Slider / Hero Fix: Reduce font sizes so they don't wrap weirdly */
  .slider-container {
    height: 70vh; /* Shorter on mobile */
    padding-left: 5%;
    padding-right: 5%;
    justify-content: center;
    text-align: center;
  }

  .gold-line {
    margin: 0 auto 15px; /* Center the line */
  }

  .slide-content h2 {
    font-size: 1.8rem; /* Scaled down from 3rem */
    letter-spacing: 2px;
    line-height: 1.2;
  }

  .slide-content p {
    font-size: 1rem;
  }

  /* 3. Legal Leadership Title Fix */
  .section-title h2 {
    font-size: 1.8rem;
  }

  /* 4. Partners Section: Stack the cards and adjust image height */
  .partners-container {
    grid-template-columns: 1fr; /* Force single column */
    gap: 20px;
  }

  .partner-image {
    height: 300px; /* Shorter images for faster scrolling on mobile */
  }

  /* 5. Statutory Bar (NMMC/CIDCO): Adjust spacing so they don't overlap */
  .statutory {
    padding: 40px 5%;
  }

  .statutory-list {
    gap: 10px;
  }

  .statutory-list span {
    padding: 8px 15px;
    font-size: 0.75rem;
    width: 100%; /* Makes them full-width buttons on mobile for better touch */
  }

  /* 6. Footer Fix: Center everything for thumb-scrolling */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  footer {
    padding: 40px 5% 20px;
  }
}

/*  */

/*  */

/* --- MOBILE OPTIMIZATION (768px and below) --- */
@media (max-width: 768px) {
  /* 1. Top Bar Fix: Stack or Hide extra info */
  .top-bar {
    flex-direction: column;
    text-align: center;
    gap: 5px;
    padding: 10px 5%;
  }

  /* 2. Slider / Hero Fix: Reduce font sizes so they don't wrap weirdly */
  .hero-content {
    min-height: 80vh; /* Shorter on mobile */
    padding-left: 5%;
    padding-right: 5%;
    justify-content: center;
    text-align: center;
    padding-bottom: 5%;
    padding-top: 10%;
    margin-top: 50px;
  }
  .btn-practice {
    margin-bottom: 19px;
  }
  .gold-line {
    margin: 0 auto 15px; /* Center the line */
  }

  .slide-content h2 {
    font-size: 1.8rem; /* Scaled down from 3rem */
    letter-spacing: 2px;
    line-height: 1.2;
  }

  .slide-content p {
    font-size: 1rem;
  }

  /* 3. Legal Leadership Title Fix */
  .section-title h2 {
    font-size: 1.8rem;
  }

  /* 4. Partners Section: Stack the cards and adjust image height */
  .partners-container {
    grid-template-columns: 1fr; /* Force single column */
    gap: 20px;
  }

  .partner-image {
    height: 300px; /* Shorter images for faster scrolling on mobile */
  }

  /* 5. Statutory Bar (NMMC/CIDCO): Adjust spacing so they don't overlap */
  .statutory {
    padding: 40px 5%;
  }

  .statutory-list {
    gap: 10px;
  }

  .statutory-list span {
    padding: 8px 15px;
    font-size: 0.75rem;
    width: 100%; /* Makes them full-width buttons on mobile for better touch */
  }

  /* 6. Footer Fix: Center everything for thumb-scrolling */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  footer {
    padding: 40px 5% 20px;
  }
}

/* Specific Styles for "The Firm" Page */
.firm-page-wrapper {
  position: relative;
  background-color: #fff;
  overflow: hidden;
}

/* The Pillar Watermark */
.pillar-watermark {
  position: absolute;
  right: -5%;
  top: 10%;
  font-size: 60vh;
  color: rgba(0, 33, 71, 0.03); /* Extremely faint Navy */
  z-index: 0;
  pointer-events: none;
}

.firm-hero {
  background: #f8f9fa;
  padding: 120px 10% 60px;
  border-bottom: 1px solid #eee;
  position: relative;
  z-index: 1;
}

.firm-hero h1 {
  font-size: 3.5rem;
  letter-spacing: 8px;
  color: var(--primary-blue);
  text-transform: uppercase;
}

.firm-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  padding: 80px 10%;
  position: relative;
  z-index: 1;
}

.firm-text h2 {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 25px;
}

.firm-text p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  text-align: justify;
  color: #444;
}

.philosophy-box {
  background: #00152e;
  color: #fff;
  padding: 50px;
  border-left: 5px solid var(--gold-accent);
}

.philosophy-item {
  margin-bottom: 30px;
}

.philosophy-item i {
  color: var(--gold-accent);
  font-size: 1.5rem;
  margin-bottom: 15px;
  display: block;
}

.philosophy-item h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.philosophy-item p {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.6;
}

/* Mobile Adjustments */
@media (max-width: 992px) {
  .firm-content {
    grid-template-columns: 1fr;
  }
  .firm-hero h1 {
    font-size: 2.5rem;
  }
  .pillar-watermark {
    display: none;
  }
}

.full-section {
  padding: 80px 10%;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.rounded-img {
  width: 100%;
  border-radius: 10px;
  border-bottom: 5px solid var(--gold-accent);
}
.shadow {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.values-grid-section {
  background: #fdfdfd;
  padding: 80px 10%;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.value-card {
  background: #fff;
  padding: 30px;
  border: 1px solid #eee;
  transition: 0.3s;
  text-align: center;
}
.value-card i {
  font-size: 2rem;
  color: var(--gold-accent);
  margin-bottom: 20px;
}
.value-card:hover {
  border-color: var(--primary-blue);
  transform: translateY(-5px);
}

.sectors-section {
  padding: 60px 10%;
  background: var(--primary-blue);
  color: #fff;
  text-align: center;
}
.sector-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}
.sector-tags span {
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.firm-hero-full {
  /* height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center; 
  text-align: center; 
  background:
    linear-gradient(rgba(0, 21, 46, 0.75), rgba(0, 21, 46, 0.75)),
    url(../images/the-firm-hero.jpg) no-repeat center center/cover;
  color: #fff;
  padding: 0 10%; */

  position: relative;
  /* Replace the URL below with your local image path */
  background: url("../images/the-firm-hero.jpg") no-repeat top center/cover;
  min-height: 450px;
  display: flex;
  align-items: center;
  color: white;
  padding: 100px 0;
  overflow: hidden;
}

.firm-hero-full h1 {
  font-family: "Playfair Display", serif;
  font-size: 4rem; /* Larger, more imposing size */
  letter-spacing: 12px; /* Premium wide spacing */
  text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 1;
}

.firm-hero-full h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-accent); /* Use gold for the subtitle to make it pop */
  opacity: 1;
}

/* The Gold Line Fix */
.gold-line-center {
  width: 80px;
  height: 3px;
  background-color: var(--gold-accent);
  margin: 0 auto 30px; /* Centers the line above the title */
}
/* Layout Container */
.container.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.partner-card-wrapper {
  position: relative;
  width: 100%;
}

.partner-main-card {
  cursor: pointer;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.partner-main-card:hover {
  transform: translateY(-5px);
}

.partner-main-card img {
  width: 100%;
  height: auto;
  display: block;
}

.card-info {
  padding: 20px;
  text-align: center;
}

.gold-text {
  color: var(--gold-accent);
  font-weight: 600;
  margin: 5px 0;
}

.btn-more {
  display: block;
  margin-top: 15px;
  font-size: 0.85rem;
  color: #777;
  text-transform: uppercase;
}

/* Slide-Down Bio Effect */
.full-bio-content {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.5s ease-out,
    padding 0.3s ease;
  background: #fdfdfd;
  border-left: 4px solid var(--gold-accent);
  margin-top: 10px;
}

.full-bio-content.active {
  max-height: 2000px;
  padding: 30px;
  border-bottom: 1px solid #eee;
}

.bio-inner h4 {
  color: var(--primary-blue);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.bio-col h5 {
  color: var(--gold-accent);
  margin-bottom: 10px;
}

.bio-col ul {
  list-style: none;
  padding: 0;
  font-size: 0.9rem;
}

.link-btn {
  display: inline-block;
  padding: 8px 15px;
  margin-right: 10px;
  background: var(--primary-blue);
  color: #fff;
  font-size: 0.8rem;
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container.grid-2 {
    grid-template-columns: 1fr;
  }
  .bio-grid {
    grid-template-columns: 1fr;
  }
}

/* PIL and Advocacy */

.advocacy-hero {
  position: relative;
  /* Replace the URL below with your local image path */
  background: url("../images/pil1.jpg") no-repeat top center/cover;
  min-height: 450px;
  display: flex;
  align-items: center;
  color: white;
  padding: 100px 0;
  overflow: hidden;
}

/* The Dark Overlay for Readability */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(2, 27, 58, 0.92) 0%, rgba(2, 27, 58, 0.75) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left; /* Aligned left for a more formal look */
}

.breadcrumb {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-accent);
  margin-bottom: 20px;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
}

.gold-divider {
  width: 80px;
  height: 4px;
  background: var(--gold-accent);
  margin: 20px 0;
}

.section-subtitle {
  font-size: 1.25rem;
  max-width: 700px;
  line-height: 1.6;
  opacity: 0.9;
}

/* Desktop/Mobile Adjustment */
@media (max-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
  .advocacy-hero {
    min-height: 350px;
    padding: 60px 0;
  }
}
.legal-discourse {
  max-width: 900px;
  margin: 50px auto;
  line-height: 1.8;
  font-size: 1.1rem;
  color: #444;
  border-bottom: 2px solid var(--gold-accent);
  padding-bottom: 30px;
}

.pil-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.pil-card {
  background: #fff;
  padding: 40px;
  border: 1px solid #eee;
  box-shadow: 10px 10px 0px var(--gold-accent); /* Stylized heavy shadow */
  transition: all 0.3s ease;
}

.pil-card:hover {
  transform: translate(-5px, -5px);
  box-shadow: 15px 15px 0px var(--primary-blue);
}

.icon-box {
  font-size: 2.5rem;
  color: var(--gold-accent);
  margin-bottom: 20px;
}

.pil-card h4 {
  color: var(--primary-blue);
  font-size: 1.4rem;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.detail-list {
  margin-top: 20px;
  padding-left: 15px;
  border-left: 2px solid #eee;
  list-style: none;
}

.detail-list li {
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: #666;
  position: relative;
}

.detail-list li::before {
  content: "→";
  margin-right: 8px;
  color: var(--gold-accent);
}

/* Disclaimer */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 27, 58, 0.95); /* Deep dark blue to match your theme */
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  background: #fff;
  max-width: 650px;
  padding: 40px;
  border-top: 5px solid var(--gold-accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-content h3 {
  color: var(--primary-blue);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.modal-body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
  max-height: 300px;
  overflow-y: auto; /* Adds scroll if the text is very long */
  margin-bottom: 30px;
}

.btn-agree {
  background: var(--primary-blue);
  color: white;
  padding: 12px 30px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  margin-right: 15px;
}

.btn-exit {
  color: #888;
  text-decoration: none;
  font-size: 0.9rem;
}
#disclaimer-modal {
  display: none; /* Default state is hidden */
}
/* If the user already saw it in this session, hide it via CSS */
body.disclaimer-seen #disclaimer-modal {
  display: none !important;
}

/* Contact css */

/* 1. Ensure the container has enough breathing room */
.contact-grid-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  padding-bottom: 0;
}
.map-section {
  padding-top: 10px;
}
/* 2. Fix the Flex Layout */
.contact-flex {
  display: flex;
  gap: 50px;
  align-items: stretch;
}

/* 3. Make Form Elements Full Width */
.contact-form-container {
  flex: 1.5;
}

.legal-form .form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

/* This is the critical fix for the tiny boxes */
.legal-form input,
.legal-form select,
.legal-form textarea {
  width: 100%; /* Forces them to fill the container */
  padding: 12px 15px;
  border: 1px solid #ccc;
  background: #fff;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box; /* Prevents padding from breaking width */
}

/* 4. Make the Briefing Textarea taller */
.legal-form textarea {
  min-height: 150px;
  resize: vertical;
}

/* 5. Style the Submit Button to look "Elite" */
.btn-submit {
  background: #021b3a; /* Primary Blue */
  color: #fff;
  border: none;
  padding: 15px 40px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.3s ease;
  display: inline-block;
  margin-top: 15px;
}

.spacer-bottom {
  margin-bottom: 20px;
}

.btn-submit:hover {
  background: #c5a059; /* Gold Accent */
}

/* Responsive fix for mobile */
@media (max-width: 768px) {
  .contact-flex {
    flex-direction: column;
  }
  .legal-form .form-row {
    flex-direction: column;
    gap: 10px;
  }
}
/* 1. Fix the Hero Text Visibility */
.contact-hero .section-title {
  color: #ffffff; /* Pure white for high contrast */
  font-size: 3.5rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5); /* Adds depth */
  margin-top: 20px;
}

.contact-hero .section-subtitle {
  color: #e0e0e0; /* Light gray for readability */
  max-width: 600px;
}

/* 2. Fix the Box Overlap & Alignment */
.contact-grid-section {
  background: #ffffff;
  padding: 100px 0; /* Increased padding to separate from hero */
  margin-top: -50px; /* Slight overlap for that "modern layer" look */
  position: relative;
  z-index: 5;
}
.c-g-section {
  padding-top: 0;
}
.contact-flex {
  display: flex;
  gap: 40px;
  align-items: stretch; /* Makes both columns equal height */
}

.contact-details {
  flex: 1;
  background: #021b3a; /* Your primary blue */
  color: white;
  padding: 40px;
  box-shadow: 15px 15px 0px #c5a059; /* Your gold accent */
  border-radius: 0; /* Keep it sharp and formal */
}

.contact-form-container {
  flex: 1.5;
  padding: 20px;
  background: #fff;
}

/* 3. Fix the "Briefing Form" Text */
.contact-form-container h3 {
  color: #021b3a;
  font-size: 2rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

/* 4. Ensure Form Inputs are Visible */
.legal-form input,
.legal-form select,
.legal-form textarea {
  border: 1px solid #ccc;
  background: #f9f9f9;
  color: #333;
}
/* Practice areas */
.practice-matrix {
  padding: 100px 0;
  background: #f4f7f9;
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 Columns for a "Dense" look */
  gap: 30px;
}

.practice-box {
  background: #fff;
  padding: 40px;
  border-top: 4px solid #021b3a; /* Primary Blue top border */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.practice-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-top-color: #c5a059; /* Switch to Gold on hover */
}

.practice-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.practice-header i {
  font-size: 2rem;
  color: #c5a059;
}

.practice-header h3 {
  color: #021b3a;
  font-size: 1.25rem;
  text-transform: uppercase;
  margin: 0;
}

.practice-box p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 25px;
}

.sub-tags {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sub-tags li {
  background: #f0f0f0;
  padding: 5px 12px;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #021b3a;
  font-weight: 600;
  border-radius: 3px;
}
.reduce-width {
  padding: 80px 10%;
}
@media (max-width: 992px) {
  .matrix-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .matrix-grid {
    grid-template-columns: 1fr;
  }
}

/* Press  */

/* Masonry Gallery Layout */
.masonry-grid {
  column-count: 3; /* 3 columns for desktop */
  column-gap: 20px;
  width: 100%;
}
.masonry-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 25px;
  background: #fff;
  /* The "Frame" */
  padding: 10px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.masonry-item img {
  display: block;
  width: 100%;
  height: auto;
  /* Subtle separation inside the frame */
  border: 1px solid #f0f0f0;
}

.masonry-item:hover {
  transform: translateY(-8px);
  /* Gold highlight on hover instead of a static frame */
  border-color: #c5a059;
  box-shadow: 0 15px 30px rgba(2, 27, 58, 0.15);
}

/* Optional: Add a small "caption" area inside the frame */
.masonry-item::after {
  content: "Legal Archive";
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  color: #999;
  margin-top: 10px;
  letter-spacing: 1px;
  text-align: center;
}
/* Gold Overlay on Hover */
.item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 27, 58, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s ease;
}

.item-overlay span {
  color: #c5a059;
  font-weight: bold;
  font-size: 12px;
  letter-spacing: 1px;
  border: 1px solid #c5a059;
  padding: 8px 15px;
}

.masonry-item:hover .item-overlay {
  opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .masonry-grid {
    column-count: 2;
  }
}
@media (max-width: 600px) {
  .masonry-grid {
    column-count: 1;
  }
}

/* DISCLAIMER PAGE CSS  */
/* Disclaimer Page Styling */
.disclaimer-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

.disclaimer-container h2 {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #1a1a1a;
  border-bottom: 2px solid #0056b3;
  padding-bottom: 10px;
}

.disclaimer-container p {
  margin-bottom: 15px;
}

.disclaimer-container ul {
  margin: 20px 0;
  padding-left: 20px;
}

.disclaimer-container ul li {
  margin-bottom: 12px;
}

.disclaimer-container strong {
  color: #0056b3;
}

.disclaimer-container p:last-child {
  margin-top: 25px;
  font-weight: bold;
  color: #444;
}

/* FOOTER MODIFIED CSS  */
#contact {
  background: #021b3a; /* Your Navy Blue */
  color: #ffffff;
  padding: 60px 0 0 0;
  font-family: "Playfair Display", serif;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr; /* Gives more room to the address */
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 40px 20px;
}

#contact h4 {
  color: #c5a059; /* Your Gold */
  text-transform: uppercase;
  font-size: 16px;
  margin-bottom: 20px;
  letter-spacing: 1.5px;
}

#contact p,
#contact li {
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.9;
}

.disclaimer-bar {
  background: #01142b;
  padding: 20px;
  font-size: 12px;
  border-top: 1px solid rgba(197, 160, 89, 0.2);
  text-align: center;
  color: #999;
}

.copyright-bar {
  background: #000000;
  color: #ffffff;
  font-size: 12px;
}

/* Mobile Responsive Footer Fix */
@media (max-width: 768px) {
  .footer-grid {
    /* Change from 3 columns to 1 */
    grid-template-columns: 1fr !important;
    text-align: center; /* Centers the text for a cleaner mobile look */
    gap: 30px; /* Adds space between the stacked columns */
    padding-bottom: 30px;
  }

  #contact h4 {
    margin-bottom: 10px;
  }

  /* Centers the list items under Resources */
  .footer-grid ul {
    display: inline-block;
    text-align: center;
  }

  /* Ensure the copyright text doesn't overflow */
  .copyright-bar p {
    font-size: 10px;
    width: 100%;
    margin-bottom: 5px;
  }
}

/* Client Logos  */

/* Prestigious Client Strip */
/* Clean & Simple NGO Section */
.client-strip-section {
  background: #f9f9f9; /* Subtle off-white to separate sections */
  padding: 80px 0; /* Deep padding for a premium feel */
  border-top: 1px solid #eee;
  text-align: center;
}

.client-heading {
  color: #c5a059; /* Using the Gold from your theme */
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 50px;
  font-weight: bold;
}

.client-logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px; /* Large gap so they don't look crowded */
  flex-wrap: wrap;
}

.client-logo-wrapper img {
  min-height: 120px; /* Increased size so they are "full" */
  width: auto;
  display: block;
  /* No filters, just clean images */
}

/* Mobile responsive - stack them with less gap */
@media (max-width: 768px) {
  .client-logo-wrapper {
    gap: 40px;
  }
  .client-logo-wrapper img {
    max-height: 90px;
  }
}

/* Home page news section */
.in-the-news {
  text-align: center;
  width: auto;
  background: #00152e; /* Slightly darker for depth */
  color: white;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.in-the-news:hover {
  border-color: var(--gold-accent);
  color: var(--gold-accent);
  background: rgba(197, 160, 89, 1);
  transform: translateY(-2px);
}
