:root {
  --primary-color: #1a3e72;
  --secondary-color: #c19c77;
  --accent-color: #e63946;
  --dark-color: #1e1e2f;
  --light-color: #f8f8f8;
  --text-color: #333;
  --text-light: #64634dba;
  --white: #ffffff;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Open Sans', wsans-serif;
  color: var(--text-color);
  background-color: var(--light-color);
  line-height: 1.6;
}

h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--dark-color);
}

h1, h2 {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

/* Header Styles */
header {

  background-color: var(--dark-color);
  display: flex;
  /* justify-content: space-between; */
  align-items: center;
  padding: 1rem 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header h1 {
  margin-bottom: -4px;
  font-size: 1.6rem;
  color: #f1d686cc;
  
    /* margin-left: -4px;
    font-size: 1.6rem; */
    /* color: #f1d686; */
    
    /* text-shadow:1px 0 0px #a0772f, 1px 0px 1px white, 0px 0px 0px #a0772f; */
}
/* nav {
  display: flex;
  gap: 1.5rem;
    margin-right: 126px;
} */

nav a {
  font-weight: 600;
  color: #f1d68678 !important;
  /* position: relative; */
  padding-left: 1rem;
}

nav a:hover {
  color: var(--secondary-color) !important;
}

nav a::after {
  /* content: ''; */
  /* position: absolute; */
  /* bottom: 0;
  left: 0;
  width: 0;
  height: 2px; */
  background-color: var(--secondary-color) !important;
  transition: var(--transition);
}

nav a:hover::after {
  width: 100%;
}

/* Responsive Fixes */
@media (max-width: 768px) {
  /* nav ul {
    flex-direction: column;
    gap: 0.8rem;
  }
  .language-switcher {
    justify-content: center;
  }
  .navbar {
    justify-content: center;
    flex-direction: column;
    position: relative !important;
  } */
}

@media (max-width: 800) {
  /* .navbar {
    justify-content: center;
    flex-direction: column;
    position: relative !important;
  } */
}
/* 
.navbar {
  position: absolute; 
  left: 0;
   right: 0; 
   margin: 0 auto;
    width: fit-content; 
    display: flex;
   gap: 12px;
} */

 /* Navbar styles */
    .navbar {
      background-color: var(--dark-color) !important;
      /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
    }

    .navbar-brand {
      font-family: 'Playfair Display', serif;
      font-size: 1.6rem;
      color: rgba(241, 214, 134, 0.8) !important;
    }

    .nav-link {
      font-weight: 600 ;
      color: rgba(241, 214, 134, 0.47) !important;
      /* position: relative; */
      /* padding: 0.5rem 0; */
    }

    .nav-link:hover {
      color: var(--secondary-color);
    }

    .nav-link::after {
      /* content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px; */
      background-color: var(--secondary-color) !important;
      transition: var(--transition) !important;
    }

    .nav-link:hover::after {
      width: 100%;
    }
    
.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-light);
  padding: 0.25rem 0.5rem;
}

.lang-btn.active {
  color: var(--primary-color);
  font-weight: 700;
}

/* Hero Section */
/* .hero {
  position: relative;
  background-image: url('assets/img/4.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 12rem 2rem;
  text-align: center;
  color: var(--white);
} */

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  color: var(--white);
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 0.8rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  transition: var(--transition);
}

.cta-button:hover {
  background-color: #a5825e;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Content Sections */
.content-section {
  padding: 5rem 0;
}

.about-content {
  display: flex;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Services Section */
.services-section {
  background-color: var(--white);
  padding: 5rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card i {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.service-card h4 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

/* Values Section */
.values-section {
  padding: 5rem 0;
  background-color: var(--primary-color);
  color: var(--white);
}

.values-section h3 {
  color: var(--white);
  text-align: center;
  margin-bottom: 3rem;
}

.values-section .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.value-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 8px;
}

.value-card h3 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
  text-align: left;
}

.value-card ul {
  list-style-position: inside;
  margin-top: 1rem;
}

.value-card li {
  margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonials-section {
  padding: 5rem 0;
  background-color: var(--light-color);
}

.testimonial-carousel {
  margin-top: 3rem;
}

.testimonial {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 1rem;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1rem;
}

.client-info {
  font-weight: 600;
}

.client-info span {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: normal;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: left;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-column h4 {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column ul li a:hover {
  color: var(--secondary-color);
}
 /* Footer styles */
    footer {
      background-color: var(--dark-color);
      color: var(--white);
      padding: 3rem 0;
    }

    .footer-column h4 {
      color: var(--secondary-color);
      margin-bottom: 1.5rem;
      font-size: 1.1rem;
    }

    .footer-column ul {
      list-style: none;
      padding-left: 0;
    }

    .footer-column ul li {
      margin-bottom: 0.75rem;
    }

    .footer-column ul li a {
      color: var(--white);
      text-decoration: none;
      transition: var(--transition);
    }

    .footer-column ul li a:hover {
      color: var(--secondary-color);
    }

    .social-links a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      background-color: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      transition: var(--transition);
      color: white;
      text-decoration: none;
      margin-right: 0.5rem;
    }

    .social-links a:hover {
      background-color: var(--secondary-color);
      transform: translateY(-3px);
    }

    .copyright {
      margin-top: 3rem;
      padding-top: 1.5rem;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      font-size: 0.9rem;
    }

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.copyright {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* Lawyers Page Specific Styles */
#map-container {
  padding: 5rem 0;
  background-color: var(--light-color);
}

#map {
  height: 500px;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#lawyers-section {
  padding: 5rem 0;
  background-color: var(--white);
}

#select-state {
  text-align: center;
  margin-bottom: 2rem;
}

.employees {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background-color: var(--light-color);
  padding: 1.5rem;
  border-left: 4px solid var(--secondary-color);
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero {
    padding: 8rem 2rem;
  }
  
  .hero h2 {
    font-size: 2.5rem;
  }
  
  .about-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }
  
  nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 6rem 1rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .values-section .container {
    grid-template-columns: 1fr;
  }
}


    .contact-section {
      background-color: #979797;
      color: #fff;
      padding: 4rem 2rem;
    }

    .contact-section h1 {
      font-size: 2.2rem;
      margin-bottom: 1.5rem;
      font-family: 'Playfair Display', serif;
    }

    .contact-section form input, textarea, button {
      font-family: 'Playfair Display', serif;
    }
    
    form input, textarea, button {
      font-family: 'Playfair Display', serif;
    }
    #contact * {
      font-family: 'Playfair Display', serif;

    }

    .contact-section form {
      max-width: 600px;
      margin: auto;
      display: flex;
      flex-direction: column;
      gap: 1rem;
      font-family: 'Playfair Display', serif;
    }

    .contact-section input,
    .contact-section textarea {
      padding: 0.8rem;
      border: none;
      border-radius: 5px;
      font-size: 1rem;
    }

    .contact-section button {
      background-color: #c19c77;
      border: none;
      padding: 0.9rem;
      border-radius: 5px;
      color: #fff;
      font-weight: bold;
      cursor: pointer;
      transition: background 0.3s;
    }

    .contact-section button:hover {
      background-color: #b1875c;
    }