/* TOP BAR */

.top-bar {
  background-color: #34495e;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  font-family: Arial, sans-serif;
  flex-wrap: wrap;
}

.top-bar .logo {
  height: 40px; 
  width: auto;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: bold;
  font-size: 16px;
  flex-wrap: wrap;
}

.contact-info .phone-number {
  color: white;
  text-decoration: none;
  font-weight: normal;
}

.contact-info .phone-number:hover {
  text-decoration: underline;
}

/* JUSTICE SCALE */

.scale-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 20px 40px 200px;
  background-color: #f4f4f4;
  flex-wrap: wrap;
}

.scale-side {
  flex: 1 1 300px;
  padding: 20px;
}

.scale-side h2 {
  color: #34495e;
  font-size: 20px;
  margin-bottom: 15px;
}

.scale-side ul {
  list-style-type: disc;
  padding-left: 20px;
  color: #333;
}

 .scale-center {
  flex: 0 1 150px;
  text-align: center;
  padding: 20px;
  position: relative; 
}

.scale-center img {
  position: absolute;
  max-width: 100%;
  height: 200px;
  right: 0%;  
  top: 50%;   
  transform: translate(-50%, -50%);  
}

/* CTA BUTTONS */
.cta-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.cta-btn {
  padding: 0.5rem 1rem;
  background-color: #5d7186;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s;
}



/* LAWYER CARDS */

.lawyer-profiles {
  padding: 40px 20px;
  background-color: #f8f8f8;
  text-align: center;
}

.section-title {
  font-size: 28px;
  margin-bottom: 30px;
  color: #222;
}

.lawyer-cards {
  display: flex;
  flex-direction: column; 
  align-items: center;
  gap: 20px;
}

.lawyer-card {
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  width: 90%; 
  max-width: 500px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: left;
}

.lawyer-card h3 {
  margin-top: 0;
  color: #003366; 
}

.lawyer-card p {
  margin: 8px 0;
}

/* CONSULTATION FORM */

.consultation-form-section {
  background-color: #5d7186; 
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.consultation-form-section h2 {
  margin-bottom: 30px;
  font-size: 28px;
}

.consultation-form {
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
}

.consultation-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.consultation-form input,
.consultation-form select,
.consultation-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
}

.consultation-form button {
  background-color: #ffff; 
  border: none;
  color: #003366;
  padding: 15px 20px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
}

/* SITE FOOTER */

.site-footer {
  background-color: #002244; 
  color: #ffffff;
  padding: 30px 20px;
  text-align: center;
  font-size: 14px;
}

.footer-container {
  max-width: 900px;
  margin: 0 auto;
}

.footer-contact h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.footer-contact p {
  margin: 4px 0;
}

.footer-contact a {
  color: #ffd700; 
  text-decoration: none;
}

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

.footer-copy {
  margin-top: 15px;
  font-style: italic;
  color: #cccccc;
}

/* CONTACT BUTTON FOR LAWYER CARD */

.contact-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1.2rem;
  background-color: #c62828; 
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}


/* Mobile collapsing  */


@media (max-width: 768px) {
  

  .top-bar {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .contact-info {
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  
  
.scale-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem; 
  padding: 1rem;
  flex-wrap: wrap; 
  
}

.scale-side {
  flex: 1 1 30%; 
  min-width: 0; 
}

.scale-center {
  flex: 0 1 30%; 
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.scale-center img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}


.scale-side h2, 
.scale-side ul li {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.3;
  margin: 0.25em 0;
}