/*
Theme Name: Christian Attar Law Firm
Description: Professional law firm WordPress theme with modern design and responsive layout
Author: Ryan Albarico
Version: 1.0
License: GPL v2 or later
Text Domain: christian-attar-site
*/

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {background: #ffffff !important;}
body {
  font-family: "Raleway", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff !important;
}

/* Vertical Centering Methods */
/* Method 1: Flexbox (Recommended) */
body.centered-layout {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Method 2: CSS Grid */
body.grid-centered {
  display: grid;
  place-items: center;
  min-height: 100vh;
}

/* Method 3: Transform (Traditional) */
body.transform-centered {
  position: relative;
  min-height: 100vh;
}

.transform-centered .centered-child {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Method 4: Container-based centering */
.centered-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Method 5: Table display (Legacy) */
body.table-centered {
  display: table;
  width: 100%;
  height: 100vh;
}

.table-centered .centered-child {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

/* Apply Libre Baskerville to H1 elements */
h2, h3, h4, h5, h6 {
  font-family: "Libre Baskerville", serif;
  font-weight: 700 !important;
}

/* Apply Raleway to all titles (h2, h3, h4, h5, h6) */
/* h2, h3, h4, h5, h6 {
  font-family: "Raleway", sans-serif;
} */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.practive-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 20px 40px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: transparent;
}

.header.scrolled {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px 40px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(1.1);
}

.header.scrolled .header-content {
  /* transform: scale(1); */
}

.logo {
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 2px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header.scrolled .logo {
  font-size: 18px;
  text-shadow: none;
}

.site-logo {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(1.1);
}

.header.scrolled .site-logo {
  transform: scale(1);
}

.site-logo img {
  height: 50px;
  width: auto;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.header.scrolled .site-logo img {
  height: 50px;
  filter: none;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 35px;
  margin: 0;
  padding: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.main-navigation a {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); */
  position: relative;
}

.header.scrolled .main-navigation a {
  font-size: 12px;
  text-shadow: none;
}

.main-navigation a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  /* background: #f4d03f; */
  transition: width 0.3s ease;
}

.main-navigation a:hover::after {
  width: 100%;
}

.main-navigation a:hover {
  color: #f4d03f;
  transform: translateY(-2px);
}

.contact-btn, .header.scrolled .contact-btn {
  background: #7C9C7E !important;
  color: #fff !important;
  border: 1px solid #7C9C7E;
  background: transparent !important;
  /* color: hsl(48deg 89% 60% / 70%); */
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-decoration: none;
  display: inline-block;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.header-template .contact-btn {color: #7C9C7E !important; border: 1px solid #7C9C7E !important; background: transparent;}
.header.scrolled .contact-btn {
  padding: 10px 20px;
  font-size: 14px;
  /* box-shadow: 0 2px 10px rgba(244, 208, 63, 0.2); */
}
.header.scrolled .contact-btn:hover {
  background: #7C9C7E !important;
  color: #fff !important;
}
.contact-btn:hover {
  background: #7C9C7E !important;
  color: #222 !important;
  /* transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(244, 208, 63, 0.4); */
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: #fff;
  margin: 4px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.header.scrolled .mobile-menu-toggle span {
  width: 25px;
  box-shadow: none;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: white;
  /* margin-top: 70px; */
}

.hero-content h1 {
  font-family: "Libre Baskerville", serif;
  font-size: 5rem;
  font-weight: 300;
  line-height: 1.2;
/*   transition: color 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); */
}

.hero-content h1:hover {
/*   color: #f4d03f; */
/*   transform: scale(1.08); */
}

.cta-btn {
  background: #BFAA51;
  color: #ffffff;
  padding: 15px 30px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
  display: inline-block;
}
.hero-subtitle-about {
  color: #f1c40f;
  
}
.cta-btn:hover {
  background: #BFAA51;
}

/* About Section */
.about {
  padding: 10px 0 0px;
  background: #ffffff;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-family: "Libre Baskerville", serif;
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #1a1a1a;
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 20px;
}

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

.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
}

/* Practice Areas */
.practice-areas {
  padding: 100px 0;
}

.practice-areas h2 {
  font-family: "Libre Baskerville", serif;
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: #1a1a1a;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.practice-item {
  height: 200px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.practice-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.practice-item h3 {
  color: white;
  padding: 20px;
  font-size: 18px;
  position: relative;
  z-index: 1;
}

/* New Practice Areas Section */
.practice-areas-new {
  margin-top: -110px;
  padding: 100px 0;
  /* background: #FFFFFF; */
}

.practice-areas-new h2 {
  font-family: "Libre Baskerville", serif;
  text-align: center;
  font-size: 3rem;
  margin-bottom: 60px;
  color: #1a1a1a;
  font-weight: 300;
}

/* Practice Areas Carousel */
.practice-carousel-wrapper {
  margin-bottom: 80px;
  overflow: hidden;
}

.practice-carousel-track {
  display: flex;
  gap: 20px;
  padding: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.practice-carousel-track::-webkit-scrollbar {
  display: none;
}

/* Enhanced hover effects for practice cards */
.practice-card {
  min-width: 260px;
  height: 186px;
  border-radius: 15px;
  margin: 0 auto;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  flex-shrink: 0;
  border: 2px solid transparent;
}
#practiceDetailLink {
  font-family: "Raleway", sans-serif;
  color: gray;
  border: 1px solid gray;
  border-radius: 25px;
  padding: 10px 20px;
}
.practice-card:hover,
.practice-card.hovered {
  transform: scale(1.09); /* Slightly larger on hover */
  /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); */
  /* border-color: #1d643b; */
}

.practice-card.active {
  /* transform: translateY(-5px); */
}

/* Ensure the first card also gets hover effects */
.practice-card.active:hover,
.practice-card.active.hovered {
  transform: scale(1.09); /* Slightly larger on hover */
  /* box-shadow: 0 25px 50px rgba(244, 208, 63, 0.4); */
  /* border-color: #1d643b; */
}

.practice-card-image {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.practice-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.practice-card:hover .practice-card-image img,
.practice-card.active .practice-card-image img {
  transform: scale(1.1);
}

.practice-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to bottom, rgba(0, 128, 0, 0) 0%, rgb(22 68 22 / 70%) 70%);
  
  color: #ffffff;
  padding: 15px 20px;
  transform: translateY(0);
  transition: transform 0.3s ease;
  border-radius: 0 0 15px 15px;
}

.practice-card:hover .practice-card-overlay,
.practice-card.active .practice-card-overlay {
  transform: translateY(0);
}

.practice-card-overlay h3 {
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
  margin: 0;
  color: #ffffff;
}

/* Practice Details Display - Fixed to always show */
.practice-details-display {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  /* background: white; */
  /* border-radius: 20px; */
  /* padding: 60px; */
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
  opacity: 1; /* Always visible */
  transform: translateY(0); /* Always in position */
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.practice-details-display.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Number Section */
.practice-number-section {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.practice-number-container {
  display: flex;
  align-items: center;
  gap: 30px;
}

.practice-progress-line {
  width: 4px;
  height: 200px;
  background: #e0e0e0;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.progress-indicator {
  width: 100%;
  height: 40px;
  background: #3C5039;
  border-radius: 2px;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateY(0); /* Start visible */
}

.progress-indicator.animate {
  transform: translateY(0);
}

.practice-number {
  font-size: 2rem;
  font-weight: 300;
  color: #1a1a1a; /* Start with full color */
  line-height: 1;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 1; /* Start visible */
  transform: translateY(0); /* Start in position */
}

.practice-number.animate {
  opacity: 1;
  transform: translateY(0);
  color: #1a1a1a;
}

.practice-number.changing {
  opacity: 0.5;
  transform: translateY(10px);
}

/* Content Section */
.practice-content-section {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex: 1;
}

.practice-detail-image {
  width: 400px;
  height: 250px;
  border-radius: 15px;
  overflow: hidden;
  flex-shrink: 0;
  opacity: 1;
  transform: translateX(0);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.practice-detail-image.animate {
  opacity: 1;
  transform: translateX(0);
}

.practice-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.practice-detail-image:hover img {
  transform: scale(1.05);
}

.practice-detail-text {
  flex: 1;
  opacity: 1; /* Start visible */
  transform: translateX(0); /* Start in position */
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.practice-detail-text.animate {
  opacity: 1;
  transform: translateX(0);
}

.practice-detail-text h3 {
  font-family: "Raleway", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 20px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.practice-detail-text p {
  color: #666;
  line-height: 1.8;
  font-size: 14px;
  margin-bottom: 30px;
}

.learn-more-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f4d03f;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.learn-more-link:hover {
  color: #1a1a1a;
  border-bottom-color: #f4d03f;
}

.learn-more-link i {
  transition: transform 0.3s ease;
}

.learn-more-link:hover i {
  transform: translateX(5px);
}

/* Attorneys Section Styles */
.attorneys-section {
  padding: 100px 0;
  background: #f8f9fa;
  position: relative;
}

.attorneys-header {
  text-align: center;
  margin-bottom: 60px;
}

.attorneys-header h2 {
  font-family: "Libre Baskerville", serif;
  font-size: 3rem;
  font-weight: 300;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.attorneys-subtitle {
  color: #f4d03f;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
}

/* Attorneys Carousel */
.attorneys-carousel-container {
  position: relative;
  margin-bottom: 80px;
  overflow: hidden;
}

.attorneys-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.attorneys-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  gap: 30px;
  padding: 0 20px;
}

.attorney-card {
  min-width: 280px;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: relative;
}

.attorney-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid #183b24;
}

.attorney-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}

.attorney-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.attorney-card:hover .attorney-image img {
  transform: scale(1.05);
}

.attorney-info {
  padding: 20px 20px 0px 20px;
  text-align: center;
}

.attorney-name {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
  line-height: 1.3;
}

.attorney-position {
  color: #1a1a1a;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.attorney-contact {
  margin-top: -14px;
  position: relative;
  margin-top: -135px;
}

.attorney-phone,
.attorney-email {
  font-size: 11px;
  color: #666;
  margin: 5px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.10);

}

.attorney-phone a,
.attorney-email a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.attorney-phone a:hover,
.attorney-email a:hover {
  color: #f4d03f;
}

.attorney-phone i,
.attorney-email i {
  font-size: 10px;
  color: #f4d03f;
}

/* Carousel Navigation */
.attorneys-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(26, 26, 26, 0.8);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.attorneys-nav:hover {
  background: #1a1a1a;
  transform: translateY(-50%) scale(1.1);
}

.attorneys-prev {
  left: -25px;
}

.attorneys-next {
  right: -25px;
}

/* Strategic Counsel CTA */
.strategic-counsel-cta {
  border-radius: 20px;
  padding: 30px 30px 100px 40px;
  color: white;
  position: relative;
  overflow: hidden;
  margin-bottom: 100px;
}

.strategic-counsel-cta::before {
  display: none;
}

.strategic-counsel-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    position: relative;
    z-index: 2;
}

.strategic-counsel-text h3 {
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 15px;
  color: white;
}

.strategic-counsel-text p {
  font-size: 14px;
  opacity: 0.9;
  line-height: 1.6;
  margin: 0;
}

.strategic-counsel-form {
  	width: 40%;
	text-align: center;
    margin: 0 auto;
}

/* Email Signup Form - Horizontal Pill/Oval Layout */
.email-signup-form {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  max-width: 600px;
  background: transparent;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.email-signup-form1 {
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  display: inline-block;
  background: rgb(255, 255, 255);
}
.email-signup-form input[type="email"] {
  flex: 1 1 auto;
  width:300px;
  border: none;
  outline: none;
  padding: 18px 24px;
  font-size: 1rem;
  border-radius: 999px 0 0 999px;
  background: #fff;
  color: #222;
  min-width: 0;
}

.email-signup-form1 input[type="email"] {
  flex: 1 1 auto;
  width:300px;
  border: none;
  outline: none;
  padding: 18px 24px;
  font-size: 1rem;
  border-radius: 999px 0 0 999px;
  /* background: #fff; */
  color: #222;
  min-width: 0;
}

.email-signup-form input[type="email"]::placeholder, .email-signup-form1 input[type="email"]::placeholder {
  color: #bdbdbd;
}
.email-submit-btn {
    font-family: "Raleway", sans-serif;
    display: flex;
    align-items: center;
    background: #BFAA51;
    color: #fff;
    border: none;
    padding: 10px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 90px;
    cursor: pointer;
    transition: background 0.3s;
    height: auto;
    position: relative;
    justify-content: center;
    gap: 5px;
	text-decoration:none;
}
.email-submit-btn:hover {
  background: #a08d3b;
}
.email-submit-btn i {
  color: #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1em;
  margin-left: 8px;
  transition: background 0.2s;
}
.email-submit-btn:hover i {
  background: #333;
}

.footer-cta-section {
    background-size: auto;
    background-repeat: no-repeat;
    overflow: hidden;
    border-radius: 20px;
    margin: 10px;
}
 .footer-cta-section1 {
    background-size: auto;
    background-repeat: no-repeat;
    overflow: hidden;
    margin: 0 10px 10px 10px;
}
section#contact {
    background-position: 10px;
}
.help-cta-section {
    background: linear-gradient(135deg, #1a472a 0%, #2d5a3d 100%);
    padding: 80px 0 0 0;
    overflow: hidden;
    border-radius: 20px;
    margin: 10px;
}
.help-cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* background-image: url('../wp-content/uploads/2025/08/Vector-13.png'); */
    background-size: cover;
    background-position: center top;
    z-index: 1;
    border-radius: 20px;
}
.help-cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 10px;
    max-width: 900px;
    margin: 0 auto 50px auto;
    /* padding: 40px 0 60px 0; */
}
.help-cta-title {
    font-family: "Libre Baskerville", serif;
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
    line-height: 1.2;
}
.help-cta-description {
    font-family: "Raleway", sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 40px;
    max-width: 600px;
}
.help-cta-button {
    display: inline-flex;
    align-items: center;
    background-color: #d4af37;
    color: #1a1a1a;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-family: "Raleway", sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    margin-top: 18px;
    margin-bottom: 20px;
}
.help-cta-button:hover {
    background-color: #c19b2e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    color: #1a1a1a;
    text-decoration: none;
}

.custom-footer {
    background: #181c23;
    position: relative;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
    padding: 30px;
}
.footer-bg-image {
    display: none;
}
.footer-content-wrap {
    position: relative;
    z-index: 2;
    background: #181c23;
    border-radius: 0 0 20px 20px;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 48px 0 0 0;
    gap: 32px;
}
.footer-links-col {
    flex: 1 1 180px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: #d4af37;
    text-decoration: underline;
}
.footer-address-col {
    flex: 1 1 220px;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 18px;
}
.footer-contact-col {
    flex: 1 1 90px;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 18px;
}
.footer-social {
    margin-top: 18px;
}
.footer-social-icon {
    display: inline-block;
    margin-right: 12px;
    color: #fff;
    transition: color 0.2s;
}
.footer-social-icon:hover {
    color: #d4af37;
}
.footer-logo-col {
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    color: #fff;
    margin-bottom: 18px;
}
.footer-logo-img {
    width: 100%;
    margin-bottom: 8px;
}
.footer-logo-text {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
}
.footer-divider {
    border-top: 2px solid #d4af37;
    margin: 32px 0 0 0;
    width: 100%;
}
.footer-bottom {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 18px 0;
    color: #aaa;
    font-size: 0.95rem;
}
.copyright-text { color: #919191; text-align: center; width: 100%; padding: 20px 0; }

/* Animation delays for staggered effect */
.practice-detail-image {
  transition-delay: 0.2s;
}

.practice-detail-text {
  transition-delay: 0.4s;
}

.practice-number {
  transition-delay: 0.1s;
}

.progress-indicator {
  transition-delay: 0.3s;
}


/* Featured Practice */
.featured-practice {
  padding: 100px 0;
  background: #f8f9fa;
}

.featured-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
}

.featured-image img {
  width: 100%;
  border-radius: 10px;
}

.featured-text h2 {
  font-family: "Libre Baskerville", serif;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #1a1a1a;
}

.featured-text p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
}

.learn-more {
  color: #f4d03f;
  text-decoration: none;
  font-weight: bold;
}

/* Schedule Section */
.schedule-container {
  text-align: left;
}
.schedule {
  padding: 50px 0;
  background: url(images/schedule-bg.jpg);
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
  color: white;
  text-align: center;
  border-radius: 20px;
  margin: 0 7px;
}

.schedule h2 {
  font-family: "Libre Baskerville", serif;
  font-size: 3rem;
  line-height: normal;
  margin-bottom: 20px;
}

.schedule p {
  font-size: 18px;
  margin-bottom: 30px;
}

/* Team Section */
.team {
  padding: 100px 0;
}

.team h2 {
  font-family: "Libre Baskerville", serif;
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: #1a1a1a;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.team-member {
  text-align: center;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-member img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-member h3 {
  padding: 20px;
  font-size: 18px;
  color: #1a1a1a;
}

/* Help Section */
.help {
  padding: 100px 0;
  background: #1a1a1a;
  color: white;
  text-align: center;
}

.help h2 {
  font-family: "Libre Baskerville", serif;
  font-size: 3rem;
  margin-bottom: 20px;
}

.help p {
  font-size: 18px;
  margin-bottom: 30px;
}

/* News Section */
.news {
  padding: 100px 0;
}

.news h2 {
  font-family: "Libre Baskerville", serif;
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: #1a1a1a;
}

.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.news-main {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.news-main img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.news-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 30px;
}

.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-item {
  display: flex;
  gap: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 10px;
}

.news-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 5px;
}

.news-item h4 {
  font-size: 14px;
  color: #1a1a1a;
}

.news-item a {
  text-decoration: none;
  color: inherit;
}

.news-item a:hover h4 {
  color: #f4d03f;
}

/* Articles & Insights Section */
.articles-insights {
  padding: 100px 0;
  background: #FFFFFF;
}

.articles-insights h2 {
  font-family: "Libre Baskerville", serif;
  text-align: center;
  font-size: 3rem;
  margin-bottom: 60px;
  color: #1a1a1a;
  font-weight: 300;
}

.articles-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
  align-items: flex-start;
}

/* Featured Article (Left Side) */
.featured-article {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); */
  transition: all 0.3s ease;
}

.featured-article:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.featured-article-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.featured-article-image {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.featured-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.featured-article:hover .featured-article-image img {
  transform: scale(1.05);
}

.featured-article-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  color: white;
  padding: 40px 30px 30px;
}

.featured-article-overlay-2{
  background: #F4F4F4;
  padding: 20px 30px;
  font-size: 14px;
}

.featured-article-overlay-2 .read-more-link {
  color: #7C9C7E;
  text-transform: capitalize;
  font-size: 16px;
}

.featured-article-overlay-2 .featured-article-excerpt {
  margin-bottom: 5px;
}

.featured-article-overlay-2:hover .read-more-link,
.featured-article:hover .read-more-link {
  color: #536d55 !important;
}

.featured-article-title {
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 15px;
  color: white;
}

.featured-article-excerpt {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  opacity: 0.9;
}

.read-more-link {
  color: #f4d03f;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.featured-article:hover .read-more-link {
  color: #fff;
}

/* Articles Sidebar (Right Side) */
.articles-sidebar {
  background: white;
  border-radius: 15px;
  padding: 0 30px 30px 30px;
  /* box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08); */
  height: fit-content;
}

.sidebar-header {
  /* margin-bottom: 25px; */
  /* padding-bottom: 15px;
  border-bottom: 2px solid #f4d03f; */
}

.sidebar-header h4 {
  color: #666;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
}

.sidebar-articles {
  margin-bottom: 30px;
}

.sidebar-article {
  display: flex;
  gap: 15px;
  padding: 20px 0;
  /* border-bottom: 1px solid #f0f0f0; */
  transition: all 0.3s ease;
}

.sidebar-article:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-article:hover {
  background: #f8f9fa;
  margin: 0 -15px;
  padding: 20px 15px;
  border-radius: 10px;
}

.sidebar-article-link {
  display: flex;
  gap: 15px;
  text-decoration: none;
  color: inherit;
  width: 100%;
}

.sidebar-article-image {
  flex-shrink: 0;
  width: 110px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
}

.sidebar-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sidebar-article:hover .sidebar-article-image img {
  transform: scale(1.1);
}

.sidebar-article-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sidebar-article-date {
  font-size: 12px;
  color: #999;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sidebar-article-title {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: #333;
  margin: 0;
  transition: color 0.3s ease;
}

.sidebar-article:hover .sidebar-article-title {
  color: #7C9C7E;
}

/* More Articles Button */
.more-articles {
  text-align: left;
}

.more-articles-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: white;
  color: #1a1a1a;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: 2px solid #d4d4d4;
}

.more-articles-btn:hover {
  background: transparent;
  color: #f4d03f;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(244, 208, 63, 0.3);
}

.more-articles-btn i {
  transition: transform 0.3s ease;
}

.more-articles-btn:hover i {
  transform: translateX(5px);
}

.faq {
  padding: 80px 0;
  background: #FFFFFF;
}

.faq h2 {
  font-family: "Libre Baskerville", serif;
  text-align: center;
  font-size: 3rem;
  margin-bottom: 20px;
  color: #1a1a1a;
  font-weight: 300;
}

.faq-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 50px;
  font-size: 1.1rem;
}

#faq-search, .faq-controls {
  display: none !important;
}

.faq-search-container {
  display: none !important;
  max-width: 500px;
  margin: 0 auto 10px;
  position: relative;
}

.faq-search-input {
  width: 100%;
  padding: 15px 50px 15px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
  background: white;
}

.faq-search-input:focus {
  border-color: #f4d03f;
  box-shadow: 0 0 0 3px rgba(244, 208, 63, 0.1);
}

.faq-search-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 18px;
  pointer-events: none;
}

.faq-search-clear {
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.faq-search-clear:hover {
  background: #f0f0f0;
  color: #666;
}

.faq-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.faq-expand-all,
.faq-collapse-all {
  background: white;
  border: 2px solid #e0e0e0;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.faq-expand-all:hover,
.faq-collapse-all:hover {
  border-color: #f4d03f;
  background: #f4d03f;
  color: #1a1a1a;
}

/* FAQ Section Styles - True Independent Layout */
.faq-accordion {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start; /* Key: align to top */
}

/* Each FAQ item is independent and self-contained */
.faq-item {
  /* background: white; */
  /* border-radius: 15px; */
  /* box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08); */
  /* border-bottom: 1px solid #3d3d3d; */
  border-top: 1px solid #3d3d3d;
  overflow: hidden;
  transition: all 0.3s ease;
  width: calc(50% - 10px); /* Two columns with gap */
  margin-bottom: 0; /* Remove any margin that could affect layout */
  flex-shrink: 0; /* Prevent shrinking */
  align-self: flex-start; /* Each item aligns to its own top */
  position: relative; /* For absolute positioning if needed */
}

/* Alternative: Use CSS columns for true masonry effect */
@supports (column-count: 2) {
  .faq-accordion {
    column-count: 2;
    column-gap: 20px;
    display: block; /* Override flex */
  }

  .faq-item {
    width: 100%;
    display: inline-block;
    /* margin-bottom: 20px; */
    break-inside: avoid; /* Prevent breaking across columns */
  }
}

.faq-item-active {
  /* box-shadow: 0 8px 30px rgba(244, 208, 63, 0.15); */
  /* border: 1px solid rgba(244, 208, 63, 0.2); */
}

.faq-question {
  display: flex;
  align-items: flex-start;
  padding: 11px 20px 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  user-select: none;
  outline: none;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  /* border-radius: 15px 15px 0 0; */
}

.faq-item-active .faq-question {
  background: #f2f6f3;
}

.faq-question:hover {
  color: #1a1a1a;
  /* background: rgba(244, 208, 63, 0.05); */
}

.faq-question:focus {
  /* background: rgba(244, 208, 63, 0.1);
  outline: 1px solid #f4d03f;
  outline-offset: -2px; */
}

.faq-icon {
  width: 20px;
  height: 20px;
  margin-right: 20px;
  margin-top: 2px;
  color: #4caf50;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  color: #4caf50;
  transform: rotate(0deg);
}

.faq-question-text {
  flex: 1;
  line-height: 1.5;
  margin: 0;
}

/* Answer section that expands within its own container */
.faq-answer {
  padding: 0 20px 20px 60px;
  color: #666;
  line-height: 1.7;
  font-size: 15px;
  display: none;
  opacity: 0;
  background: #f2f6f3;
}

.faq-answer p {
  margin-bottom: 15px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
  margin: 15px 0;
  padding-left: 20px;
}

.faq-answer li {
  margin-bottom: 8px;
}

/* Animation classes */
.bounce-animation {
  animation: faqBounce 0.3s ease;
}

@keyframes faqBounce {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

.fade-in-search {
  animation: fadeInSearch 0.4s ease;
}

@keyframes fadeInSearch {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* No results state */
.faq-no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: #666;
  font-style: italic;
  background: white;
  border-radius: 15px;
  margin-top: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.faq-no-results i {
  display: block;
  margin-bottom: 15px;
  opacity: 0.3;
}

.testimonials {
  padding: 100px 0;
  background: #1a1a1a;
  color: white;
}

.testimonials h2 {
  font-family: "Libre Baskerville", serif;
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial {
  background: #2a2a2a;
  padding: 30px;
  border-radius: 10px;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.6;
}

.testimonial-author {
  font-weight: bold;
}

/* Footer */
.site-footer {
  background: #1a1a1a;
  color: white;
  padding: 60px 0 30px;
  /* border-radius: 20px 20px 0 0; */
  /* margin-top: 50px; */
}

.footer-content {
  /* display: grid; */
  /* grid-template-columns: 1fr 1fr 1fr; */
  /* gap: 60px; */
  margin-bottom: 40px;
}

/* Left Column - Navigation */
.footer-navigation {
  display: flex;
  flex-direction: column;
}

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

.footer-nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.footer-nav-links a:hover {
  color: #f4d03f;
}

/* Middle Column - Contact & Social */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

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

.contact-address,
.contact-phone,
.contact-fax {
  color: #ffffff;
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.contact-address{
  width: 200px;
}
.footer-social-media {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  background: transparent;
}

.social-icon:hover {
  background: #f4d03f;
  border-color: #f4d03f;
  color: #1a1a1a;
  transform: translateY(-2px);
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

/* Right Column - Logo & Brand */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-img {
  /* width: 60px;
  height: 60px; */
  object-fit: contain;
}

.footer-logo-svg {
  /* width: 60px; */
  height: 60px;
  color: #ffffff;
}

.footer-company-name {
  color: #ffffff;
  font-family: 'Libre Baskerville', serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: right;
}

/* Gold Divider */
.footer-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #f4d03f 20%, #f4d03f 80%, transparent 100%);
  margin: 0 auto 30px auto;
  width: 90%;
}

/* Copyright Section */
.footer-bottom {
  text-align: center;
}

.copyright-text {
  color: #cccccc;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 400;
  margin: 0;
}

/* Attorneys Section with Background Image and Overlay */
.attorneys-section {
  position: relative;
  padding: 10px 0 0 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  z-index: 1;
}
.attorneys-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  pointer-events: none;
}
.attorneys-section .container {
  position: relative;
  z-index: 2;
}
.attorneys-header h2,
.attorneys-header .attorneys-subtitle {
  color: #fff;
}

/* Attorney Cards Row Responsive Layout */
.attorneys-carousel-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.attorney-card {
  background: #fff;
  color: #222;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 24px 16px 5px 16px;
  width: 260px;
  text-align: center;
  position: relative;
  z-index: 2;
  margin-bottom: 2rem;
  transition: box-shadow 0.3s, transform 0.3s;
}
.attorney-card .attorney-image img {
  border-radius: 8px;
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.attorney-card .attorney-info {
  color: #ffffff;
}
.attorney-card .attorney-name {
  font-family: "Raleway", sans-serif;
  color: #181B22;
}
.attorney-card .attorney-position {
  font-family: "Raleway", sans-serif;
  color: #7C9C7E;
}
.attorney-card .attorney-contact a {
  color: hsl(0deg 0% 100% / 70%);
}
.attorney-card .attorney-contact a:hover {
  color: #f4d03f;
}

.strategic-counsel-cta .strategic-counsel-text h3,
.strategic-counsel-cta .strategic-counsel-text p {
  color: #fff;
}

.attorneys-carousel-outer {
  width: 99vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: transparent;
  z-index: 2;
  padding-bottom: 0;
}
.attorneys-carousel-container {
  max-width: 1360px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 60px;
}
.attorneys-track {
  width: 100%;
  padding-top: 10px;
}
.attorneys-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(26, 26, 26, 0.8);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.attorneys-prev {
  left: 0;
}
.attorneys-next {
  right: 0;
}

.final-cta {
  padding: 100px 0;
  background-size: contain;
  background-repeat: no-repeat;
}

.final-cta-content {
  display: block;
  max-width: 600px;
  margin-left: auto;
  margin-right: 0;
}

.final-cta-text, .final-cta-form {
  display: block;
}

.final-cta-text h2 {
  font-family: "Libre Baskerville", serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #000000;
  line-height: 1.2;
}

.final-cta-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #666;
  line-height: 1.6;
}

.final-cta-form {
  margin-top: 2rem;
}


.form-group {
  display: flex;
  /* gap: 5rem; */
/*   max-width: 600px; */
  margin: 0;
}

.email-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  color: #333;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.email-input::placeholder {
  color: #999;
}

.email-input:focus {
  outline: none;
  border-color: #3C5039;
  /* box-shadow: 0 0 0 2px rgba(60, 80, 57, 0.1); */
}

.cta-submit-btn {
  padding: 1rem 2rem;
  background: #3C5039;
  color: #fff;
  border: none;
  border-radius: 0 100px 100px 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-width: 160px;
  position: relative;
  overflow: hidden;
}

.circ {
  margin-left: 3px;
  border-radius: 50%;
  background: black;
  color: white;
  padding: 5px;
  margin-left: 10px;
}

.cta-submit-btn:hover {
  background: linear-gradient(90deg, #2c3e50 0%, #3C5039 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(60, 80, 57, 0.3);
}

.cta-submit-btn:active {
  transform: translateY(0);
}

.form-message {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  display: none;
}

.form-message.success {
  display: block;
  background: rgba(46, 204, 113, 0.2);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.3);
  position:absolute;
}

.form-message.error {
  display: block;
  background: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.3);
  position:absolute;
}

.form-message.loading {
  display: block;
  background: rgba(52, 152, 219, 0.2);
  color: #3498db;
  border: 1px solid rgba(52, 152, 219, 0.3);
  position:absolute;
}

.cta-submit-btn.loading {
  background: #95a5a6;
  cursor: not-allowed;
  pointer-events: none;
}

.cta-submit-btn.loading::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid #000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 8px;
}

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

/* Focus states for accessibility */
.email-input:focus-visible,
.cta-submit-btn:focus-visible {
  outline: 2px solid #f4d03f;
  outline-offset: 2px;
}

.hero-content {
  position: absolute;
  left: 10%;
  bottom: 0;
  padding: 60px 40px;
  z-index: 2;
  max-width: 600px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.parallax-container {
  border-radius: 15px;
  margin:2px 7px 7px 7px;
}
.hero-title-block {
  display: flex;
  flex-direction: column;
  gap: 0.2em;
}

.hero-title-line {
  font-family: "Libre Baskerville", serif;
  font-size: 4rem;
  font-weight: 300;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.18);
}

.hero-cta-btn {
  margin-top: 2.5rem;
  font-size: 1rem;
  padding: 18px 40px;
  display: inline-flex;
  align-items: center;
  background: #3C5039;
  color: #ffffff;
  border-radius: 25px;
  padding: 12px 25px;
  font-weight: 400;
  text-decoration: none;
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-60px);
  animation: fadeInLeft 0.2s cubic-bezier(0.23, 1, 0.32, 1) 0.2s forwards;
}

@keyframes fadeInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

#practiceDetailsDisplay {
  width: 80%;
  margin: 0 auto;
}
/* Practice Areas Carousel Navigation Buttons */
.practice-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(26, 26, 26, 0.85);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  outline: none;
}
.practice-carousel-nav:hover,
.practice-carousel-nav:focus {
  background: #1d643b;
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}

.practice-carousel-nav.prev {
  left: 0;
}
.practice-carousel-nav.next {
  right: 0;
}

/* Practice Areas Carousel Dots */
.practice-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  position: relative;
  z-index: 2;
}
.practice-carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e0e0e0;
  transition: background 0.3s, transform 0.2s;
  cursor: pointer;
  display: inline-block;
}
.practice-carousel-dot.active {
  background: #1d643b;
  transform: scale(1.2);
}
.practice-carousel-dot:hover {
  background: #f4d03f;
}

/* Ensure attorney contact info is left-aligned */
.attorney-contact,
.attorney-contact .attorney-phone,
.attorney-contact .attorney-email {
  text-align: left !important;
  display: block;
}

/* Subtle text shadow for attorney contact info */
.attorney-contact,
.attorney-contact .attorney-phone,
.attorney-contact .attorney-email {
  text-shadow: 0 1px 4px rgba(0,0,0,0.10);
}

/* New Testimonials Section Styles */
.testimonials-new {
  padding: 0px 0;
  position: relative;
  background: #1a1a1a;
  color: white;
  margin-bottom: 0 !important;
}

.testimonials-new::before {
  /* content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(191, 170, 81, 0.1),
    rgba(191, 170, 81, 0.1) 10px,
    transparent 10px,
    transparent 20px
  );
  pointer-events: none; */
}

.testimonials-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Left Side Styles */
.testimonials-left {
  position: relative;
  display: flex;
  align-items: end;
}

.testimonials-left-content {
  position: relative;
  padding: 40px;
}

.quote-icon {
  position: absolute;
  top: -74px;
  left: 30px;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.testimonials-left-content h2 {
  font-size: 2.5rem;
  font-weight: 300;
  margin: 20px 0 15px 0;
  color: white;
  line-height: 1.2;
}

.testimonials-left-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 30px;
}

.testimonials-navigation {
  display: flex;
  padding-top: 50px;
  gap: 15px;
  align-items: end;
}

.testimonials-nav {
  width: 50px;
  height: 50px;
  border: none;
  background: #c5c5c5;
  color: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.testimonials-nav:hover {
  background: #BFAA51;
  color: white;
  transform: scale(1.1);
}

/* Right Side Styles */
.testimonials-right {
  position: relative;
  margin-top: -69px;
  margin-bottom: 40px;
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
}

.testimonials-slide {
  display: none;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.5s ease;
}

.testimonials-slide.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.testimonial-card {
  background: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 9px 11px rgb(0 0 0 / 52%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  margin-top: 5px;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-rating {
  display: block;
  margin-bottom: 15px;
  text-align: center;
}

.star {
  font-size: 16px;
}

.star.filled {
  color: #f4d03f;
}

.star.empty {
  color: #ddd;
}

.testimonial-author {
  font-size: 1.1rem;
  font-weight: bold;
  color: #1a1a1a !important;
  margin-bottom: 15px;
  text-align: center;
}

.testimonial-content {
  margin-bottom: 20px;
}

.testimonial-content p {
  font-size: 12px;
  text-align: center;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

.testimonial-meta {
  padding-top: 15px;
  float: right;
  position: absolute;
  bottom: 10px;
  right: 16px;
}

.testimonial-badge {
  color: #d4c26a;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  text-transform: uppercase;
}

.testimonial-date {
  font-size: 10px;
  color: #666;
}

/* Read More Button */
.testimonials-read-more {
  position: absolute;
  right: 0;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #BFAA51;
  border: 2px solid #BFAA51;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.read-more-btn:hover {
  background: #BFAA51;
  color: white;
  transform: translateY(-2px);
}

.attorney-card .attorney-contact {
  display: none;
}
.attorney-card:hover .attorney-contact {
  display: block;
}

.practice-carousel-nav {
  display: none;
}

.static-block-content {
  color: #222 !important;
}


@media (min-width: 1025px) {
  .contact-btn-icon {
      display: none !important;
  }
}

@media (max-width: 1024px) {
  
  .contact-btn:hover {
    background: transparent !important;
  }
  .practice-track {
    gap: 20px;
    padding: 0 15px;
  }
  
  .practice-card {
    min-width: 250px;
  }
  
  .strategic-counsel-content {
    gap: 30px;
  }
  
  .strategic-counsel-text h3 {
    font-size: 2rem;
  }
  .articles-grid {
    gap: 30px;
  }
  .contact-btn-icon {
    display: inline-block !important;
  }
  .featured-article-title {
    font-size: 1.6rem;
  }
  .contact-btn-text {
    display: none;
  }
  .help-cta-title { font-size: 2.5rem; }
  .footer-content { flex-direction: column; align-items: stretch; gap: 24px; }
  .footer-bottom { justify-content: center; }
  .mobile-menu-toggle {
    display: block;
  }
  
  .contact-btn {
    right: 52px;
    position: absolute;
  }
  .contact-btn, .header.scrolled .contact-btn, .header-template .contact-btn {border: none !important;}
  .contact-btn-icon img {
    width: 2em;
    height: 2em;
    display: block;
    opacity: 0.6;
    margin-top: 5px;
  }
  .articles-sidebar {
    padding: 25px;
  }
  .contact-btn > svg {
    display: none;
  }
  .header.scrolled .contact-btn:hover {background-color: transparent !important;}
  .faq-accordion {
    column-count: 2;
    gap: 15px;
  }

  .faq-item {
    width: 100%;
  }
  .attorneys-carousel-container {
    gap: 1.2rem;
  }
  .attorney-card {
    width: 220px;
    padding: 18px 8px 12px 8px;
  }
  .attorneys-carousel-container {
    padding: 0 20px;
  }
  .testimonials-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .testimonials-left-content h2 {
    font-size: 2rem;
  }
  
  .testimonials-grid {
    gap: 15px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .footer-brand {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
  }
  
  .footer-company-name {
    text-align: center;
  }
  .site-footer {
    border-radius: 20px 20px 0 0;
  }
  .main-navigation{
    position: absolute;
    background: hsl(0deg 0% 10% / 90%);
    top: 75px;
    left: 0;
    width: 100%;
    border-radius: 0 0 5px 5px;
    padding: 15px 25px;
  }
  .faq-item {
    margin-bottom: 0px;
  }
  .faq-question {
    background: white;
    padding: 10px 2px 4px;
  }
  .strategic-counsel-cta {
    margin-bottom: 20px;
  }
  .hero {height: 500px;}
  .parallax-container {
    border-radius: 0;
    margin: 0;
  }
  .email-signup-form, .email-signup-form1 {
    width: 100%;
  }
  .cta-submit-btn {
    border-radius: 0;
  }
  .site-footer {
    margin-top: 0;
    border-radius: 0;
  }
  .final-cta {
    background-size: inherit;
  } 
  .about-text {text-align: center;}
  .practice-carousel-wrapper {margin-bottom: 0px !important;}
  .practice-carousel-nav.prev {
    left: 10px;
  }
  .practice-carousel-nav.next {
    right: 10px;
  }
  .header-content {
    padding: 10px 15px;
    position: relative;
  }
  
  .main-navigation {
    display: none;
  }
  .main-navigation.open {
    display: block;
  }
  .header.inverse .main-navigation.open a {
    color: #ffffff !important;
  }
  
  .main-navigation.active {
    background: hsl(0deg 0% 10% / 90%);
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a1a1a;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1000;
  }
  
  .main-navigation ul {
    flex-direction: column;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  .main-navigation a {
    font-size: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: white;
    text-decoration: none;
    display: block;
  }
  
  .main-navigation a:hover {
    color: #f4d03f;
  }
  

  
  .practive-container {position: sticky;}
  .hero-content {display: contents !important;}
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-text h2 {
    font-size: 2rem;
    text-align: center;
  }
  
  .about-text p {
    text-align: center;
  }
  
  .about-image img {
    max-width: 100%;
  }
  .practice-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .practice-item {
    height: 150px;
  }
  
  .practice-item h3 {
    font-size: 16px;
    padding: 15px;
  }
  .practice-areas-new {
    margin-top: -60px;
    padding: 60px 0;
  }
  
  .practice-areas-new h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
  }
  
  .practice-details-display {
    flex-direction: column;
    gap: 30px;
  }
  
  .practice-number-section {
    order: 1;
  }
  
  .practice-content-section {
    order: 2;
    flex-direction: column;
    gap: 20px;
  }
  
  .practice-detail-image {
    width: 100%;
    height: 200px;
  }
  
  .practice-detail-text {
    width: 100%;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .featured-article-image {
    height: 300px;
  }
  
  .featured-article-title {
    font-size: 1.5rem;
  }
  
  .featured-article-overlay {
    padding: 30px 20px 20px;
  }
  
  .featured-article-overlay-2 {
    padding: 15px 20px;
  }
  
  .articles-sidebar {
    padding: 20px;
  }
  
  .sidebar-article {
    flex-direction: column;
    gap: 10px;
    padding: 15px 0;
  }
  
  .sidebar-article-link {
    flex-direction: column;
    gap: 10px;
  }
  
  .sidebar-article-image {
    width: 100%;
    height: 150px;
  }
  .team-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .team-member {
    text-align: center;
  }
  
  .team-member img {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
  }
  .news-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .news-main {
    height: 300px;
  }
  
  .news-overlay {
    padding: 20px;
  }
  
  .news-sidebar {
    padding: 20px;
  }
  
  .news-item {
    flex-direction: column;
    gap: 10px;
    padding: 15px 0;
  }
  
  .news-item img {
    width: 100%;
    height: 150px;
  }
  .help {
    padding: 60px 0;
  }
  
  .help h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  
  .help p {
    font-size: 16px;
    text-align: center;
  }
  .strategic-counsel-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  
  .strategic-counsel-text {
    width: 100%;
  }
  
  .strategic-counsel-text h3 {
    font-size: 1.8rem;
  }
  
  .strategic-counsel-text p {
    font-size: 16px;
  }
  
  .strategic-counsel-form {
    width: 100%;
  }
  
  .email-signup-form {
    flex-direction: column;
    gap: 15px;
  }
  .practiceDetailsDisplay {
    width: 100%;
  }
  .email-signup-form input[type="email"] {
    width: 100%;
    border-radius: 5px;
    text-align: center;
  }

  .email-submit-btn {
    width: 100%;
    border-radius: 5px;
    padding: 10px 0;
  }
  .schedule {
    padding: 60px 0;
  }
  
  .schedule h2 {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  
  .schedule p {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  .hero {
    min-height: 60vh;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 25px;
  }
  
  .hero-cta-btn {
    padding: 12px 25px;
    font-size: 16px;
  }
  .container {
    padding: 0 20px;
  }
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  p {
    font-size: 16px;
    line-height: 1.6;
  }
  .header, .header.scrolled {
    padding: 20px 15px;
  }
}

@media (max-width: 900px) {
  .attorneys-carousel-outer {
    padding-bottom: 0;
  }
  .attorneys-carousel-container {
    padding: 0 5px;
  }
  .attorneys-nav {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  #about {background-image: none !important;}
  .header.scrolled {padding-left: 0px; padding-right: 0px;}
  .container {padding-left: 15px !important; padding-right: 15px !important;}
  .help-cta-section { padding: 60px 0 0 0; }
  .help-cta-title { font-size: 2rem; }
  .help-cta-description { font-size: 1rem; }
  .footer-content { padding: 32px 0 0 0; }
  .footer-address-col { flex: 0 !important;}
  .footer-content{text-align:center;}
	.aboutus-cards {display: block !important;}
	.aboutus-card {
		flex: none !important;
		padding: 4px !important;
	}
/* 	.aboutus-card img {height: auto !important;} */
	.header-template .contact-btn {border: none !important;}
  .footer-logo-col { flex: 0 !important; }
  .practice-areas-new {
    padding: 80px 0;
  }
  
  .practice-areas-new h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
  }
  
  .practice-carousel-track {
    gap: 15px;
    padding: 0 10px;
  }
  
  .practice-card {
    min-width: 220px;
  }
  
  .practice-details-display {
    flex-direction: column;
    gap: 30px;
    padding: 40px 30px;
  }
  
  .practice-number-section {
    justify-content: center;
  }
  
  .practice-number-container {
    flex-direction: row-reverse;
    gap: 20px;
  }
  
  .practice-progress-line {
    width: 150px;
    height: 4px;
  }
  
  .progress-indicator {
    width: 40px;
    height: 100%;
  }
  
  .practice-number {
    font-size: 2rem;
  }
  
  .practice-content-section {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  
  .practice-detail-image {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .practice-detail-text h3 {
    font-size: 1.2rem;
  }
  .header.scrolled .site-logo img {height:50px}
  .contact-btn, .header.scrolled .contact-btn{border: none; padding-right: 0; padding-left: 0; right: 70px; position: absolute;}
  #practiceDetailsDisplay {
      width: 100% !important;
  }
  .articles-insights {
    padding: 80px 0;
  }

  .articles-insights h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .featured-article-image {
    height: 300px;
  }

  .featured-article-title {
    font-size: 1.4rem;
  }

  .featured-article-overlay {
    padding: 30px 20px 20px;
  }

  .articles-sidebar {
    padding: 20px;
  }

  .sidebar-article {
    padding: 15px 0;
  }

  .sidebar-article:hover {
    margin: 0 -10px;
    padding: 15px 10px;
  }

  .sidebar-article-image {
    width: 80px;
    height: 60px;
  }

  .sidebar-article-title {
    font-size: 14px;
  }
  .faq {
    padding: 60px 0;
  }

  .faq h2 {
    font-family: "Libre Baskerville", serif;
    font-size: 2.5rem;
    margin-bottom: 15px;
  }

  .faq-subtitle {
    font-size: 1rem;
    margin-bottom: 40px;
    padding: 0 20px;
  }

  .faq-search-container {
    margin: 0 20px 30px;
    display: none !important;
  }

  .faq-search-input {
    padding: 12px 45px 12px 15px;
    font-size: 15px;
  }

  .faq-accordion {
    column-count: 1;
    margin: 0 20px;
    gap: 15px;
  }

  .faq-item {
    width: 100%;
    margin-bottom: 15px;
  }

  .faq-question {
    padding: 11px 20px 4px;
    font-size: 15px;
    background: #f2f6f3;
  }

  .faq-icon {
    margin-right: 15px;
    width: 18px;
    height: 18px;
  }

  .faq-answer {
    padding: 0 20px 25px 55px;
    font-size: 14px;
    line-height: 1.6;
  }

  .faq-controls {
    flex-direction: column;
    align-items: center;
    margin: 0 20px 30px;
  }

  .faq-expand-all,
  .faq-collapse-all {
    width: 100%;
    max-width: 200px;
    justify-content: center;
    display: none;
  }
  .attorneys-section {
    padding: 60px 0 0 0;
  }
  .attorneys-carousel-container {
    padding: 0 40px;
  }
  .attorney-card {
    min-width: 280px;
    width: 280px;
    margin: 0 10px;
  }
  .attorneys-track {
    gap: 20px;
    padding: 0 10px;
  }
  .attorneys-nav {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .attorneys-prev {
    left: 5px;
  }
  .attorneys-next {
    right: 5px;
  }
  .final-cta {
    padding: 60px 0;
  }
  
  .final-cta-text h2 {
    font-size: 2rem;
  }
  
  .final-cta-text p {
    font-size: 1rem;
  }
  
  .form-group {
    flex-direction: column;
    gap: 1rem;
  }

  .form-group1 {
    display: flex;
    gap: 5rem !important;
    margin: 0;
  }
  
  .email-input,
  .cta-submit-btn {
    width: 100%;
    padding: 1rem;
  }
  
  .cta-submit-btn {
    min-width: auto;
  }
  .hero-content {
    padding: 30px 10px;
    max-width: 100%;
  }
  .hero-title-line {
    font-size: 2.2rem;
  }
  .hero-cta-btn {
    font-size: 1rem;
    padding: 14px 20px;
  }
  .testimonials-new {
    padding: 60px 0;
  }
  
  .testimonials-left-content {
    padding: 20px;
  }
  
  .quote-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    top: -15px;
    left: 20px;
  }
  
  .testimonials-left-content h2 {
    font-size: 1.8rem;
    margin: 15px 0 10px 0;
  }
  
  .testimonials-left-content p {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .testimonial-card {
    padding: 20px;
  }
  
  .testimonials-navigation {
    gap: 10px;
  }
  
  .testimonials-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .site-footer {
    padding: 40px 20px 20px;
    border-radius: 15px 15px 0 0;
    margin-top: 30px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  
  .footer-navigation,
  .footer-contact,
  .footer-brand {
    text-align: center;
    align-items: center;
  }
  
  .footer-nav-links {
    align-items: center;
    gap: 15px;
  }
  
  .footer-nav-links a {
    font-size: 15px;
    padding: 8px 0;
  }
  
  .footer-contact-info {
    align-items: center;
    gap: 12px;
  }
  
  .contact-address,
  .contact-phone,
  .contact-fax {
    font-size: 15px;
    text-align: center;
  }
  
  .footer-social-media {
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
  }
  
  .social-icon {
    width: 45px;
    height: 45px;
  }
  
  .social-icon svg {
    width: 22px;
    height: 22px;
  }
  
  .footer-brand {
    gap: 20px;
  }
  
  .footer-logo-img,
  .footer-logo-svg {
    /* width: 70px; */
    height: 70px;
  }
  
  .footer-company-name {
    text-align: center;
    font-size: 17px;
    letter-spacing: 1.8px;
  }
  
  .footer-divider {
    width: 85%;
    margin: 0 auto 25px auto;
  }
  
  .copyright-text {
    font-size: 13px;
    padding: 0 10px;
  }
  .practice-carousel-nav {
    display: block;
  }
}

@media (max-width: 600px) {
  .email-signup-form, .email-signup-form1 {
    /* flex-direction: column; */
    border-radius: 5px;
    box-shadow: none;
    max-width: 100%;
  }
  .email-signup-form input[type="email"], .email-signup-form1 input[type="email"],
  .email-submit-btn {
    border-radius: 0;
    width: 100%;
    min-width: 0;
    padding: 16px 14px;
  }
  /* .form-group input[type="email"]{
    padding: 16px 14px 0;
  } */
  .email-submit-btn {
    border-radius: 0 0 18px 18px;
    justify-content: center;
  }
  .email-submit-btn i {
    margin-left: 8px;
  }
  .attorneys-carousel-outer {
    padding-bottom: 0;
  }
  .attorneys-carousel-container {
    padding: 0 2px;
  }
  .attorneys-nav {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .contact-btn {padding: 0;}
  .contact-btn:hover { background:transparent !important; color: #222 !important; }
  .header-template .contact-btn, .header.scrolled .contact-btn {border: transparent !important;}
  .help-cta-title { font-size: 1.8rem; }
  .help-cta-button { padding: 12px 25px; font-size: 0.9rem; }
  .footer-content { padding: 24px 0 0 0; }
  .practice-areas-new {
    padding: 60px 0;
  }
  
  .practice-areas-new h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  
  .practice-carousel-track {
    gap: 12px;
    padding: 0 12px;
  }
  
  .practice-card {
    min-width: 200px;
    height: 160px;
  }
  
  .practice-card-overlay h3 {
    font-size: 12px;
  }
  
  .practice-details-display {
    padding: 30px 20px;
    margin: 0 15px;
  }
  
  .practice-number {
    font-size: 2rem;
  }
  
  .practice-progress-line {
    width: 120px;
  }
  
  .practice-detail-text h3 {
    font-size: 1.2rem;
  }
  
  .practice-detail-text p {
    font-size: 14px;
  }
  
  .learn-more-link {
    font-size: 13px;
  }
  .articles-insights {
    padding: 60px 0;
  }

  .articles-insights h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .featured-article-image {
    height: 250px;
  }

  .featured-article-title {
    font-size: 1.2rem;
  }

  .featured-article-excerpt {
    font-size: 14px;
  }

  .articles-sidebar {
    padding: 15px;
  }

  .sidebar-article-image {
    width: 70px;
    height: 50px;
  }

  .sidebar-article-title {
    font-size: 13px;
  }

  .more-articles-btn {
    padding: 10px 20px;
    font-size: 13px;
  }

  .faq {
    padding: 40px 0;
  }

  .faq h2 {
    font-family: "Libre Baskerville", serif;
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .faq-search-container {
    margin: 0 15px 25px;
  }

  .faq-accordion {
    margin: 0 15px;
    gap: 12px;
  }

  .faq-item {
    /* margin-bottom: 12px; */
  }

  .faq-question {
    padding: 18px 15px;
    font-size: 14px;
  }

  .faq-icon {
    margin-right: 12px;
    width: 16px;
    height: 16px;
  }

  .faq-answer {
    padding: 0 20px 20px 60px;
    font-size: 13px;
    line-height: 1.6;
  }

  .faq-controls {
    margin: 0 15px 25px;
  }
  .attorneys-section {
    padding: 40px 0 0 0;
  }
  .attorneys-carousel-container {
    padding: 0 30px;
  }
  .attorney-card {
    min-width: 250px;
    width: 250px;
    margin: 0 5px;
  }
  .attorneys-track {
    gap: 15px;
    padding: 0 5px;
  }
  .attorneys-nav {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
  .attorneys-prev {
    left: 2px;
  }
  .attorneys-next {
    right: 2px;
  }
  .final-cta {
    padding: 40px 0;
  }
  
  .final-cta-text h2 {
    font-size: 1.75rem;
  }
  
  .final-cta-text p {
    font-size: 0.95rem;
  }
  
  .email-input,
  .cta-submit-btn {
    padding: 0.875rem;
    font-size: 0.95rem;
  }
  .testimonials-new {
    padding: 40px 0;
  }
  
  .testimonials-left-content {
    padding: 25px;
  }
  
  .testimonials-left-content h2 {
    font-size: 1.5rem;
  }
  
  .testimonials-left-content p {
    font-size: 0.9rem;
  }
  
  .testimonial-card {
    padding: 15px;
  }
  
  .testimonial-author {
    font-size: 1rem;
  }
  
  .testimonial-content p {
    font-size: 0.9rem;
  }
  
  .read-more-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  .site-footer {
    padding: 30px 15px 15px;
    border-radius: 12px 12px 0 0;
    margin-top: 25px;
  }
  
  .footer-content {
    gap: 30px;
  }
  
  .footer-nav-links {
    gap: 12px;
  }
  
  .footer-nav-links a {
    font-size: 14px;
    padding: 6px 0;
  }
  
  .footer-contact-info {
    gap: 10px;
  }
  
  .contact-address,
  .contact-phone,
  .contact-fax {
    font-size: 14px;
    line-height: 1.4;
  }
  
  .footer-social-media {
    gap: 15px;
    margin-top: 20px;
  }
  
  .social-icon {
    width: 40px;
    height: 40px;
  }
  
  .social-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .footer-brand {
    gap: 15px;
  }
  
  .footer-logo-img,
  .footer-logo-svg {
    /* width: 60px; */
    height: 60px;
  }
  
  .footer-company-name {
    font-size: 15px;
    letter-spacing: 1.5px;
  }
  
  .footer-divider {
    width: 80%;
    margin: 0 auto 20px auto;
  }
  
  .copyright-text {
    font-size: 12px;
    padding: 0 5px;
    line-height: 1.3;
  }
  .about {
    padding: 60px 0 80px;
  }
  
  .about-content {
    gap: 30px;
  }
  
  .about-text h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  
  .about-text p {
    font-size: 15px;
  }
  .practice-areas {
    padding: 60px 0;
  }
  
  .practice-areas h2 {
    font-size: 2rem;
    margin-bottom: 40px;
  }
  
  .practice-item {
    height: 120px;
  }
  
  .practice-item h3 {
    font-size: 14px;
    padding: 12px;
  }
  .practice-areas-new {
    margin-top: -40px;
    padding: 40px 0;
  }
  
  .practice-areas-new h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  
  .practice-details-display {
    gap: 20px;
  }
  
  .practice-detail-image {
    height: 150px;
  }
  
  .practice-detail-text h3 {
    font-size: 1.3rem;
  }
  
  .practice-detail-text p {
    font-size: 14px;
  }
  .articles-insights {
    padding: 60px 0;
  }
  
  .articles-insights h2 {
    font-size: 2rem;
    margin-bottom: 40px;
  }
  
  .featured-article-image {
    height: 250px;
  }
  
  .featured-article-title {
    font-size: 1.3rem;
  }
  
  .featured-article-overlay {
    padding: 20px 15px 15px;
  }
  
  .featured-article-overlay-2 {
    padding: 12px 15px;
  }
  
  .articles-sidebar {
    padding: 15px;
  }
  
  .sidebar-article-image {
    height: 120px;
  }
  .team {
    padding: 60px 0;
  }
  
  .team h2 {
    font-size: 2rem;
    margin-bottom: 40px;
  }
  
  .team-member img {
    width: 150px;
    height: 150px;
  }
  
  .team-member h3 {
    font-size: 1.3rem;
  }
  .news {
    padding: 60px 0;
  }
  
  .news h2 {
    font-size: 2rem;
    margin-bottom: 40px;
  }
  
  .news-main {
    height: 250px;
  }
  
  .news-overlay {
    padding: 15px;
  }
  
  .news-sidebar {
    padding: 15px;
  }
  
  .news-item img {
    height: 120px;
  }
  .help {
    padding: 40px 0;
  }
  
  .help h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  
  .help p {
    font-size: 15px;
  }
  .strategic-counsel-cta {
    padding: 40px 0;
  }
  
  .strategic-counsel-content {
    gap: 20px;
  }
  
  .strategic-counsel-text h3 {
    font-size: 1.5rem;
  }
  
  .strategic-counsel-text p {
    font-size: 15px;
  }
  .schedule {
    padding: 40px 0;
  }
  
  .schedule h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  
  .schedule p {
    font-size: 15px;
    margin-bottom: 25px;
  }
  .header-content {
    padding: 10px 15px;
  }
  .logo {
    font-size: 1.5rem;
  }
  
  .main-navigation.active {
    padding: 15px;
  }
  
  .main-navigation a {
    font-size: 12px;
  }
  .hero {
    min-height: 50vh;
  }
  
  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .hero-cta-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  .container {
    padding: 0 15px;
  }
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  p {
    font-size: 15px;
    line-height: 1.5;
  }
}

@media (max-width: 375px) {
  .attorneys-carousel-container {
    padding: 0 25px;
  }
  .attorney-card {
    min-width: 220px;
    width: 220px;
    margin: 0 3px;
  }
  .attorneys-track {
    gap: 10px;
    padding: 0 3px;
  }
  .attorneys-nav {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
  .attorneys-prev {
    left: 1px;
  }
  .attorneys-next {
    right: 1px;
  }
  .attorney-card .attorney-image img {
    height: 180px;
  }
  .site-footer {
    padding: 25px 10px 10px;
    border-radius: 10px 10px 0 0;
    margin-top: 20px;
  }
  
  .footer-content {
    gap: 25px;
  }
  
  .footer-nav-links {
    gap: 10px;
  }
  
  .footer-nav-links a {
    font-size: 13px;
    padding: 5px 0;
  }
  
  .footer-contact-info {
    gap: 8px;
  }
  
  .contact-address,
  .contact-phone,
  .contact-fax {
    font-size: 13px;
  }
  
  .footer-social-media {
    gap: 12px;
    margin-top: 18px;
  }
  
  .social-icon {
    width: 35px;
    height: 35px;
  }
  
  .social-icon svg {
    width: 18px;
    height: 18px;
  }
  
  .footer-brand {
    gap: 12px;
  }
  
  .footer-logo-img,
  .footer-logo-svg {
    /* width: 50px; */
    height: 50px;
  }
  
  .footer-company-name {
    font-size: 14px;
    letter-spacing: 1.2px;
  }
  
  .footer-divider {
    width: 75%;
    margin: 0 auto 18px auto;
  }
  
  .copyright-text {
    font-size: 11px;
    padding: 0 3px;
  }
}

@media (prefers-contrast: high) {
  .email-input {
    border-color: #fff;
    background: rgba(0, 0, 0, 0.8);
  }
  
  .cta-submit-btn {
    background: #fff;
    color: #000;
    border: 2px solid #fff;
  }
}

@media (prefers-reduced-motion: reduce) {
  .practice-card,
  .practice-card-image img,
  .practice-card-overlay,
  .practice-details-display,
  .practice-number,
  .progress-indicator,
  .practice-detail-image,
  .practice-detail-text,
  .learn-more-link {
    transition: none;
  }

  .practice-card:hover {
    transform: none;
  }
  .cta-submit-btn:hover {
    transform: none;
  }
  
  .cta-submit-btn.loading::after {
    animation: none;
  }
  .faq-question,
  .faq-icon,
  .faq-item {
    transition: none;
  }

  .bounce-animation {
    animation: none;
  }

  .fade-in-search {
    animation: none;
  }
}

@media print {
  .faq-search-container,
  .faq-controls {
    display: none;
  }

  .faq-item {
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 0px;
  }

  .faq-answer {
    display: block !important;
    opacity: 1 !important;
  }

  .faq-question::after {
    content: "";
  }
}

