/*! Header   */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 12px;
  margin-top: 6px;
  border-bottom: 1px solid #ebeaeb89;
  border-radius: 1rem;
}

.logo img {
  height: 45px;
  border-radius: 50%;
}

.nav {
  display: flex;
  gap: 10px;
  margin-top: 1.35rem;
}

.nav a {
  color: black;
  text-decoration: none;
  font-size: 1.1rem !important;
  font-weight: 500;
}

.services-link {
  display: block;
  margin-bottom: 2rem;
}

#contact-a {
  display: inline-block;
  height: min-content;
  background-color: black;
  color: white;
  padding: 4px 12px;
  border-radius: 1rem;
  transform: translateY(-4px);
}

.nav a:hover {
  text-decoration: underline;
}

/* Header hover */
.nav a:hover {
  color: #00a36c !important;
}

/* Dropdown menu styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none; /* Hidden by default */
  position: absolute;
  top: 60%; /* Position below the "Services" link */
  left: 0;
  background-color: #fff;
  padding: 10px 0;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  min-width: 150px;
  z-index: 1000;
}

.dropdown-menu a {
  color: #333;
  padding: 10px 20px;
  display: block;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
  background-color: #f0f0f0;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

/*! Header   */

/* Footer LInks  */

.useful-links {
  background-color: #051020;
  margin: 0;
}

.useful-head {
  margin: 0 calc(0.4rem + 2vw);
  display: flex;
  align-items: center;
  padding-top: 1rem;
}
.useful-line {
  width: calc(35% + 40vw);
  margin-left: calc(5px + 2vw);
  height: 1px;
  background-color: white;
}

.useful-head h5 {
  text-wrap: nowrap;
  color: white;
  font-size: calc(1rem + 2vw);
}

.use-links-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-around;
}

.useful-service-name {
  font-size: calc(0.9rem + 0.5vw);
  color: #00a36c;
  margin: 0 calc(0.4rem + 2vw);
}

.litigation-links,
.non-litigation-links {
  display: flex;
  flex-wrap: wrap;
  gap: calc(1rem + 4vw);
  margin: 1rem;
}

.use-links {
  margin: calc(0.3rem + 2vw);
}

.litigation-links a,
.non-litigation-links a {
  display: block;
  font-size: 1.2rem;
  color: rgb(192, 192, 192);
  margin: 0 calc(0.5rem);
}

.litigation-links a:hover,
.non-litigation-links a:hover {
  color: #f25353;
}

.horizontal-line {
  width: 100%;
  height: 1px;
  background-color: #4d4d4f;
}

footer h1 {
  font-size: 1.4rem;
  text-align: center;
  color: #262626;
  margin-bottom: 0.7rem;
}

/* Whatsapp and contact */

/* widgets  wp*/
.whatsapp-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 6;
}

.chat-popup {
  display: none;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  width: 300px;
  position: relative;
  margin-bottom: 10px;
}

.header {
  display: flex;
  align-items: center;
  padding-bottom: 7px;
}

.user-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 10px;
}

.user-info {
  flex-grow: 1;
}

.user-info h4 {
  margin: 0;
  font-size: 16px;
}

.user-info p {
  margin: 0;
  color: green;
  font-size: 12px;
}

.close-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: black;
}

.chat-body {
  background-color: #ece5dd;
  padding: 0.1rem 0 1rem 0;
}

.chat-body p {
  margin: 2rem 7px;
  background-color: white;
  padding: 10px 5px;
  width: 80%;
  padding-left: 12px;
  border-radius: 15px;
  border-top-left-radius: 0;
}

.chat-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px;
  background: #25d366;
  color: white;
  text-decoration: none;
  margin: 0 auto;
  font-weight: 600;
  border-radius: 0 0 10px 10px;
}

.whatsapp-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
}
/* contact popup */

.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.popup-content {
  position: relative;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 80%;
  max-width: 400px;
}

.popup-content h2 {
  margin-top: 0;
}

.popup-content a {
  display: block;
  margin: 10px 0;
  color: white;
  font-size: 1.2rem;
  padding: 0.7rem;
  border-radius: 7px;
  background-color: #051020;
  text-decoration: none;
}

.popup-content a:hover {
  text-decoration: underline;
}

#close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
}

.contact-section {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  background-color: #fff;
  max-width: 1200px;
  margin: 2.5rem auto;
  box-shadow: 0.5px 0.5px 4px rgba(0, 0, 0, 0.03),
    -0.5px -0.5px 4px rgba(0, 0, 0, 0.03);
}

.contact-info,
.contact-form {
  width: 100%;
  margin-bottom: 20px;
}

.contact-info a {
  text-decoration: none;
  color: #051020;
}
.contact-info h2,
.contact-form h2 {
  font-size: 24px;
  margin-bottom: 20px;
  position: relative;
}

.contact-info h2::after,
.contact-form h2::after {
  content: "";
  width: 50px;
  height: 3px;
  background-color: #00a36c;
  position: absolute;
  left: 0;
  bottom: -10px;
}

.contact-info p,
.contact-form p {
  font-weight: 500;
  margin: 10px 0;
  line-height: 1.6;
}

.contact-form form {
  display: flex;
  flex-wrap: wrap;
}

.form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 15px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 15px;
}

textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  height: 100px;
  margin-bottom: 15px;
}

.contact-form button {
  padding: 15px 30px;
  background-color: #00a36c;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #00442d;
}
