* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

}

/* Images carry width/height attributes so the browser reserves space
   before they load (prevents layout shift); keep their aspect ratio when
   CSS only sets the width. */
img {
  height: auto;
}

body {
  font-family: "Times New Roman", serif;
  background: url("img/background.jpg") center / cover fixed;
  min-height: 100vh;
}

.container {
  margin: 0 auto;
  background: #f5f5dc;
  background-image: url("img/background.jpg");
}

.page-section {
  min-height: 100vh;
}

.icon {
  background-image: url('img/favicon.png');
  width: 32px;
  height: 32px;
}

/* Header Styles */
.header {
  background: #f5f5dc;
  padding: 10px;
  border-bottom: 2px solid #d4af37;
  background-image: url("img/background.jpg");
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.header-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.header-icon.left {
  position: absolute;
  left: 50px;
}

.header-icon.right {
  position: absolute;
  right: 50px;
}

.header-text {
  text-align: center;
  position: relative;
}

.logo-container {
  margin-bottom: 10px;
}

.main-logo {
  mix-blend-mode: multiply;
  width: 450px;
  height: 120px;
  object-fit: contain;
}

.tagline {
  font-size: 24px;
  color: #34495e;
  font-style: italic;
  margin-top: 5px;
}

.main-content {
  display: grid;
  grid-template-columns: 290px 1fr 290px;
  gap: 20px;
  padding: 5px;
  min-height: 600px;
  /* padding-bottom: 100px; */
}

.left-sidebar,
.right-sidebar {
  display: flex;
  flex-direction: column;
  gap: 15px;
  height: 550px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 10px;
  scroll-behavior: smooth;
}

.left-sidebar::-webkit-scrollbar,
.right-sidebar::-webkit-scrollbar {
  width: 8px;
}

.left-sidebar::-webkit-scrollbar-track,
.right-sidebar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  margin: 5px;
}

.left-sidebar::-webkit-scrollbar-thumb,
.right-sidebar::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #d4af37, #b8941f);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: none
}

.left-sidebar::-webkit-scrollbar-thumb:hover,
.right-sidebar::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #b8941f, #d4af37);
  display: none
}

/* Ad banner styles with image elements */
.ad-banner {
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(212, 175, 55, 0.3);
  flex-shrink: 0;
}

.ad-banner:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-color: rgba(212, 175, 55, 0.6);
}

.ad-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.ad-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: white;
  font-weight: bold;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.ad-content h3 {
  font-size: 14px;
  margin-bottom: 5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.ad-content p {
  font-size: 12px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.logo-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  color: #dc3545;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  margin: 0 auto 10px;
}

.cross-logo {
  font-size: 30px;
  margin: 5px 0;
}

.texas-flag::before {
  content: "⭐";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  color: white;
  z-index: 3;
}

/* Center Content */
.center-content {
  border-radius: 15px;
}

.select-city {
  text-align: center;
  font-size: 28px;
  color: #2980b9;
  margin-bottom: 10px;
  font-weight: bold;
  text-transform: capitalize;
  letter-spacing: 1px;

}

.cities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;

}

.city-content {
  width: 100%;
  z-index: 2;
}

.city-name {
  font-size: 24px;
  color: white;
  font-weight: bold;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}



.injury-title {
  font-size: 25px;
  color: #2c3e50;
  margin-bottom: 25px;
  font-style: italic;
  text-transform: capitalize;
}

.icon-svg {
  font-size: 30px;
  margin-bottom: 8px;
  filter: grayscale(1);
  transition: filter 0.3s ease;
}

.injury-icon:hover .icon-svg {
  filter: grayscale(0);
}

.injury-icon span {
  font-size: 12px;
  color: #2c3e50;
  text-align: center;
  line-height: 1.2;
}

.injury-types {
  padding: 10px;
  overflow: hidden;
  position: relative;
  text-align: center;
}

.injury-icons {
  display: flex;
  gap: 20px;
  /* width: max-content; */
  justify-content: center;
}

.injury-icon {
  flex: auto;
  text-align: center;
  min-width: 100px;
  padding: 5px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Directory Page Styles */
.directory-content {
  margin: 10px;
  border-radius: 15px;
}

.directory-description {
  text-align: center;
  font-size: 18px;
  color: #030303;
  text-transform: capitalize;
}

.description {
  text-align: center;
  font-size: 28px;
  color: #030303;
  margin-top: 1rem;
  line-height: 1.6;
}

/* .directory-subtitle {
  padding-top: 10px;
  text-align: center;
  text-align: center;
  font-size: 22px;
  color: #1b0b96;
  margin-bottom: 15px;
  font-weight: bold;
  text-transform: uppercase;
} */

.directory-subtitle {
  font-size: 30px;
  line-height: 1.8;
  margin-top: 15px;
  font-weight: 700;
  color: #cfa93e;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}


.btn {
  background: #0e5180;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  text-transform: uppercase;
  border: #cfa51b79 solid 1px;
  margin-bottom: 20px;
  text-align: center !important;
}


.directory-title {
  text-align: center !important;
  font-size: 28px;
  color: #2c3e50;
  font-weight: bold;
  padding: 10px;
  text-transform: uppercase;
  border-bottom: #003366 solid 2px;
}

.attorneys-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 5px;
  margin: 0 auto;
  padding-top: 20px;
}

.attorney-card {
  background: white;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.attorney-card:hover {
  transform: translateY(-5px);
}


.attorney-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.attorney-card h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.attorney-card p {
  font-size: 14px;
  color: #666;
}

.eagle-logo,
.w-logo,
.ramji-logo,
.cross-logo {
  font-size: 40px;
  margin: 10px 0;
}

/* box css process */
.process-section {
  /* background: #f8f9fa; */
  padding: 60px 20px;
  text-align: center;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.process-section h2 {
  font-size: 2rem;
  color: #222;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.process-box {
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 12px;
  padding: 25px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  text-align: left;
}

.process-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.process-box h3 {
  color: #0e5180;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.process-box p {
  color: #444;
  line-height: 1.6;
  font-size: 0.95rem;
}

.apart-section {
  /* background: #fff; */
  padding: 60px 20px;
  text-align: center;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.apart-section h2 {
  font-size: 2rem;
  color: #222;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.apart-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Attorney Profile Page Styles */
.profile-content {
  padding: 40px;
  background: rgba(255, 255, 255, 0.9);
  margin: 20px;
  border-radius: 15px;
}

.back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: #2980b9;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.btn {
  display: inline-block;
  background: #0e5180;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  text-transform: uppercase;
  border: #cfa51b79 solid 1px;
}

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

.back-link:hover {
  color: #1a5276;
}

.attorney-item {
  padding: 15px;
  border: 1px solid #cfa51b79;
}

.attorney-item h3 {
  font-size: 20px;
  color: #2c3e50;
  margin-bottom: 8px;
}

.attorney-item h4 {
  font-size: 18px;
  color: #34495e;
}

.attorney-item p {
  font-size: 16px;
  color: #090909;
  line-height: 1.4;
  font-weight: bold;
}



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

.firm-name {
  font-size: 48px;
  color: #2c3e50;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.firm-logo-image {
  width: auto;
  height: 80px;
  object-fit: contain;
}


/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.team-photo {
  width: 100%;
}

.team-image {
  width: 100%;
  height: 400px;
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Contact Info */
.contact-info {
  padding: 40px;
  border-radius: 15px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-icon {
  font-size: 24px;
  margin-top: 2px;
  color: #2980b9;
}

.contact-details {
  font-size: 22px;
  color: #2c3e50;
  line-height: 1.4;
}

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

.map-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-note {
  font-size: 12px;
  color: #666;
  margin-top: 10px;
}

/* Right Content */
.right-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.firm-description {
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.firm-description p {
  margin-bottom: 18px;
  line-height: 1.8;
  color: #2c3e50;
  font-size: 18px;
  text-align: justify;
}

.firm-description p:last-child {
  margin-bottom: 0;
}

.stats {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin: 15px 0;
}

.stat {
  flex: 1 1 120px;
  text-align: center;
  background: #eef3ff;
  padding: 10px;
  border-radius: 6px;
}

.containers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 60px 10%;
  background: #fff;
}

.column h2 {
  color: #003366;
  font-size: 26px;
  margin-bottom: 10px;
  text-transform: capitalize;
  border-left: 5px solid #0074d9;
  padding-left: 10px;
}

.column h3 {
  color: #0055a4;
  font-size: 20px;
  margin-top: 25px;
  margin-bottom: 10px;
}

.column p {
  margin-bottom: 15px;
  font-size: 16px;
}

.oneliner {
  font-style: italic;
  color: #444;
  margin-bottom: 20px;
}



.cta-box {
  background: #003366;
  color: #fff;
  padding: 20px;
  border-radius: 8px;
  margin-top: 25px;
}

.cta-box strong {
  font-size: 18px;
  color: white;
}

.cta-box p {
  color: white;
}

/* Responsive */
@media (max-width: 900px) {
  .container {
    grid-template-columns: 1fr;
  }
}

/* Contact Form */
.contact-form {
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
  font-size: 20px;
  color: #2c3e50;
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background-color: #fff;
  padding: 20px;
}

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

.form-row.full-width {
  grid-template-columns: 1fr;
}

.form-input,
.form-textarea {
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #2980b9;
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

.submit-btn {
  background: #27ae60;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

.submit-btn:hover {
  background: #219a52;
}

/* Navigation */
.navigation {
  position: fixed;
  bottom: 20px;
  left: 50%;
  /* bottom: 81%; */
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  background: rgba(0, 0, 0, 0.8);
  padding: 10px;
  border-radius: 25px;
  z-index: 1000;
}

.nav-btn {
  padding: 10px 20px;
  background: transparent;
  color: rgb(0, 0, 0);
  border: 1px solid rgb(0, 0, 0);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;

}

.three-column-section {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  /* big-small-big */
  gap: 20px;
  margin-top: 5px;
  align-items: start;
}

.nav-btn:hover,
.nav-btn.active {
  background: white;
  color: black;
}

.call-now-mobile {
  display: none;
}

/* Contact Page Styles */
.contact-page-content,
.about-page-content {
  padding: 40px;
  background: rgba(255, 255, 255, 0.95);
  margin: 20px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.page-title {
  text-align: center;
  font-size: 36px;
  color: #2c3e50;
  margin-bottom: 40px;
  font-weight: bold;
}

/* About Page Styles */
.about-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-section {
  background: rgba(255, 255, 255, 0.9);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-section h3 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 24px;
}

.about-section ul {
  list-style: none;
  padding-left: 0;
}

.about-section li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.about-section li:before {
  content: "✓ ";
  color: #27ae60;
  font-weight: bold;
  margin-right: 10px;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .main-content {
    grid-template-columns: 200px 1fr 200px;
  }

  .content-grid {
    gap: 30px;
  }

  .firm-name {
    font-size: 36px;
  }
}

@media (max-width: 992px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .main-content {
    grid-template-columns: 1fr;
    gap: 20px;
    display: flow-root;
  }

  .left-sidebar,
  .right-sidebar {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    height: auto;
    max-height: 200px;
  }

  .ad-banner {
    min-width: 200px;
  }

  .header-icon.left,
  .header-icon.right {
    position: static;
    width: 60px;
    height: 60px;
  }

  .header-content {
    gap: 20px;
  }

  .attorneys-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .navigation {
    flex-wrap: wrap;
    width: auto;
    max-width: 90%;
  }

}

@media (max-width: 768px) {
  .main-logo {
    height: 50px;
    width: auto;
  }

  .call-now {
    display: none;
  }

  .call-now-mobile {
    display: block;
  }

  .cities-grid {
    grid-template-columns: 1fr;
    /* gap: 20px; */
  }

  .tagline {
    font-size: 18px;
  }

  .page-title {
    font-size: 28px;
  }

  .injury-icons {
    justify-content: center;
    display: ruby;
  }

  .injury-icon {
    min-width: 60px;
  }

  .firm-name {
    font-size: 36px;
  }

  .firm-subtitle {
    font-size: 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-info,
  .firm-description,
  .contact-form {
    padding: 20px;
  }

  .navigation {
    flex-direction: column;
    width: 200px;
    bottom: 10px;
    padding: 8px;
  }

  .nav-btn {
    padding: 8px 12px;
    font-size: 12px;
  }

  div#left-sidebar,
  div#right-sidebar {
    display: flex;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 15px;
  }

  .profile-content {
    padding: 15px;
  }

  .firm-header {
    margin-bottom: 30px;
  }

  .content-grid {
    gap: 25px;
  }
}

/* Animation Effects */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hover Effects */
.team-image:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

/* Background Pattern */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 25% 25%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(41, 128, 185, 0.1) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
}

/* profile Styles */

.back-link {
  position: fixed;
  left: 20px;
  text-decoration: none;
  font-size: 20px;
}

.container {
  display: flex;
  flex-direction: column;
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 20px;
  gap: 10px;
}

/* Top: 2-column layout */
.top-row {
  display: flex;
  flex: 0 0 55%;
  gap: 10px;
}


.left-image img {
  /* width: 400px; */
  height: 300px;
  object-position: top;
  object-fit: cover;
  border-radius: 4px;

}

.about-image img {
  width: auto;
  height: 400px;
  object-position: top;
  object-fit: cover;
  border-radius: 4px;

}

.right-text {
  flex: 1;
  overflow-y: auto;
  font-size: 0.95rem;
}

/* Bottom: 3-column layout */
.bottom-row {
  display: flex;
  flex: 1;
  gap: 10px;
}

.column {
  flex: 1;
  /* background: #fff; */
  /* padding: 10px; */
  border-radius: 4px;
  overflow-y: auto;
}


.contact-info {
  background: #f9f9f9;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.map img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.form h4 {
  text-align: center;
  margin-bottom: 10px;
}

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

.form input,
.form textarea {
  padding: 6px;
  font-size: 0.85rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.phone-fields {
  display: flex;
  gap: 6px;
}

.phone-fields input {
  flex: 1;
}

.form button {
  padding: 8px;
  background-color: #4CAF50;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.form button:hover {
  background-color: #d0a523;
}

/* Tablets (<= 900px) */
@media (max-width: 900px) {
  .top-row {
    flex-direction: column;
  }

  .bottom-row {
    flex-direction: column;
  }

  .right-text {
    max-height: none;
  }

  .back-link {
    position: static;
    margin-bottom: 10px;
  }
}

/* Small Phones (<= 500px) */
@media (max-width: 500px) {
  body {
    padding: 10px;
  }

  .container {
    padding: 10px;
  }

  .form input,
  .form textarea {
    font-size: 0.85rem;
    padding: 8px;
  }

  .form button {
    font-size: 0.85rem;
  }

  .contact-info p {
    font-size: 0.85rem;
  }

  .right-text {
    font-size: 0.9rem;
  }

  .three-column-section {
    display: grid;
    grid-template-columns: 1fr;
    /* big-small-big */
  }
}


/* Map column */
.map-container iframe {
  width: 100%;
  height: 360px;
  border: none;
  border-radius: 6px;
}

/* Contact info column */
.contact-info {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  font-size: 14px;
}

/* Form column */
.form-box {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  min-height: 350px;
  /* taller */
}

.form-box h3 {
  margin-top: 0;
  font-size: 18px;
}

.form-box input,
.form-box textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 18px;


}

.form-box button {
  background: green;
  color: white;
  padding: 12px;
  width: 100%;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 20px;
}

.firm-description h1 {
  font-size: 24px;
}

.cities-grid a {
  display: inline-block;
}

img.city-image {
  width: 100%;
  height: auto;
  padding: 5px;
  border-radius: 50px;
}

/* Footer Styling */
footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 15px 10px;
  margin-top: 30px;
}

footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 5px;
}

footer a:hover {
  text-decoration: underline;
}

/* Sitemap link styling */
.sitemap-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  max-width: 1000px;
  margin: 0 auto;
}

.sitemap-links a {
  display: block;
  padding: 15px 20px;
  background: #ffffff;
  color: #0073e6;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

footer p {
  color: white;
}

.sitemap-links a:hover {
  background: #0073e6;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.sitemap {
  list-style-type: none;
}

/* injury types */
/* Container */
.injurys {
  max-width: 1200px;
  margin: 0 auto;
}


h3 {
  font-size: 1.05rem;
  color: #0b3a63;
  margin-top: 14px;
  margin-bottom: 8px;
}

p {
  margin-bottom: 12px;
  color: #374151;
}

ul {
  margin: 10px 0 16px 20px;
  color: #374151;
}

li {
  margin-bottom: 8px;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background: #0b3a63;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: transform .12s ease, background .15s ease;
}

.btn-primary:hover {
  background: #154a80;
  transform: translateY(-2px);
}

.phone {
  font-weight: 700;
  color: #111827;
  margin-top: 8px;
}

/* Intro */
.intro {
  text-align: center;
  margin: 28px 0;
  padding: 0 12px;
}

/* Section cards (two-column) */
.section.card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
  background: #ffffff;
  padding: 18px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(3, 27, 69, 0.04);
  margin-bottom: 18px;
}

/* Reverse: flip image/content order */
.section.card.reverse {
  direction: rtl;
}

.section.card.reverse .sec-image,
.section.card.reverse .sec-content {
  direction: ltr;
}

/* Section parts */
.sec-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.sec-content {
  padding: 6px 4px;
}

/* Final large section */
.section.final .final-content {
  background: #fff;
  padding: 22px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(3, 27, 69, 0.04);
  margin-top: 18px;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

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

  .section.card {
    grid-template-columns: 1fr;
  }

  .section.card.reverse {
    direction: ltr;
  }

  /* reset for stacked */
}

/* Small screens */
@media (max-width: 420px) {
  .injurys {
    padding: 14px;
  }

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.05rem;
  }

  .sec-image img {
    height: 220px;
  }
}

/* start injury spreated page style */

/* Wrapper */
.injure-wrap {
  width: 94%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 12px;
}

/* Hero */
.injure-hero {
  padding: 40px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 251, 0.95));
  border-bottom: 1px solid #eef2f5;
  border-radius: 10px;
}

.injure-hero .injure-wrap {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 30px;
  align-items: center;
}

.injure-hero-left h1 {
  font-size: 28px;
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--text);
}

.injure-hero-left h2 {
  font-size: 18px;
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 600;
}

.injure-hero-left p {
  color: var(--muted);
  margin-bottom: 10px;
}

.injure-cta-line {
  margin-top: 12px;
  font-weight: 700;
  color: var(--accent);
}

/* Hero image */
.injure-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 23, 42, 0.03);
}

/* Main & Sections */
.injure-main {
  margin-top: 10px;
}

/* Two column general layout */
.injure-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(3, 27, 69, 0.04);
}

/* Media (image) */
.injure-media img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 23, 42, 0.03);
  transition: transform 260ms ease;
}

.injure-media img:hover {
  transform: translateY(-6px);
}

/* Text column */
.injure-text h2 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text);
}

.injure-text {
  padding: 25px;
}

.injure-text h3 {
  font-size: 16px;
  margin-top: 12px;
  margin-bottom: 8px;
  color: var(--text);
}

.injure-text p {
  color: var(--muted);
  margin-bottom: 12px;
}

.injure-text ul {
  margin-left: 18px;
  margin-bottom: 12px;
  color: var(--muted);
}

.injure-text li {
  margin-bottom: 8px;
}

/* Alternating section backgrounds */
.injure-section {
  padding: 48px 0;
  background: transparent;
  border-top: 1px solid #f0f3f6;
}

/* .injure-section.injure-alt { 
  background: rgba(255,255,255,0.6); } */

/* Headings and CTAs inline */
.injure-cta-inline {
  margin-top: 14px;
  display: inline-block;
  font-weight: 700;
  color: var(--accent);
}

.injure-content {
  padding: 20px;
}

/* FAQ style */
.injure-faq h3 {
  font-size: 16px;
  margin-top: 18px;
  color: var(--text);
}

.injure-faq p {
  color: var(--muted);
  margin-bottom: 10px;
}

/* CTA Section */
.injure-cta {
  background: linear-gradient(180deg, rgba(13, 110, 253, 0.06), rgba(255, 255, 255, 0.6));
  padding: 48px 0;
  text-align: center;
  border-top: 1px solid #e8eef7;
}

.injure-cta h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.injure-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.injure-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(13, 110, 253, 0.18);
}



/* Responsive adjustments */
@media (max-width: 1050px) {
  .injure-hero .injure-wrap {
    grid-template-columns: 1fr 380px;
  }

  .injure-two-col {
    grid-template-columns: 1fr;
    background-color: #ffffff;
  }
}

@media (max-width: 720px) {
  .injure-hero .injure-wrap {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 12px;
  }

  .injure-hero-right {
    order: 2;
  }

  .injure-hero-left {
    order: 1;
  }

  .injure-media img {
    max-height: 420px;
    object-fit: cover;
  }

  .injure-text h2 {
    font-size: 18px;
  }

  .injure-hero-left h1 {
    font-size: 20px;
  }

  .injure-cta {
    padding: 30px 0;
  }
}

/* small print helpers */
small {
  color: var(--muted);
  display: block;
  margin-top: 8px;
}

/* Case Results Rotator Styles */
.case-results-rotator {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.case-box {
  background: #fff;
  border: 3px solid #cfa93e; /* Gold trim */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 15px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.case-box:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.case-box h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 6px;
}

.case-box p {
  font-size: 1.2rem;
  font-weight: 700;
  color: #cfa93e;
  margin: 0;
}