body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f6f7fb;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 2em;
    color: black;
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255,255,255,1);
    box-shadow: 0 4px 12px rgba(15,23,42,0.15);
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 3em;
    margin: 20px;
    padding: 0;
}
header nav a {
    color: black;
    text-decoration: none;
    backface-visibility: hidden;
    transition: color 0.3s ease;
}
header nav a:hover {
    color: hsla(0, 0%, 0%, 0.5);
}
.consultation {
    background: #0f62fe;
    color: #ffffff;
    padding: 0.5em 1em;
    border-radius: 5px;
    text-decoration: none;
}
main{
    background-color: #f6f7fb;
}
.google_map{
    margin: 2em 0;
    text-align: center;
}
iframe{
    width: 500px;
    height: 300px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
footer{
    margin-top:36px;
    padding:28px 20px;
    background:transparent;
    margin:0 auto;
    display:flex;
    justify-content:center;
    gap:18px;
    background: #343436;
}
footer p{
    color: #fff;
    font-size: 13px;
}
.logo{
    font-size: 1.5em;
    font-weight: bold;
}
.form-container {
    display:grid;
    grid-template-columns:1fr 420px;
    gap:28px;
    background-color: white;
}
form{
    background:var(--card);
    padding:18px;
    border-radius:12px;
    box-shadow:var(--shadow);

}
label{
    display:block;
    font-weight:600;
    margin-bottom:6px
}
input,textarea,select{
    width:90%;
    padding:10px;
    border-radius:8px;
    border:1px solid #e6e9ee;
    background:transparent
}
textarea{
    min-height:120px;
    min-width: 560px;
    max-width: 560px;
}
input[type="submit"]{
    width: 160px;
    background:hsl(219, 99%, 53%);
    color:#fff;
    border:none;
    cursor:pointer;
    font-weight:600;
    transition: background-color 0.3s ease;
}
input[type="submit"]:hover{
    background:hsl(219, 100%, 73%);
    transition: background-color 0.3s ease;
}
input[type="reset"]{
    width: 160px;
    background:#0f62fe;
    color:#fff;
    border:none;
    cursor:pointer;
    font-weight:600;
    transition: background-color 0.3s ease;
}
input[type="reset"]:hover{
    background:hsl(219, 100%, 73%);
    transition: background-color 0.3s ease;
}
.consultation-card {
    background: #fff;
    gap: 1rem;
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    flex: 2;
    max-width: 600px;
    transform: translateX(5px);
    float: inline-start

}
.team-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}
.avatar{
    width:72px;
    height:72px;
    border-radius:16px;
    background:linear-gradient(135deg,#e6eefc,#dfeaff);
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight: 700;
}

/* My Teams */
.lawyers {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 2rem;
    background: #f8f9fc;
    font-size: 1.2em;
}
.lawyer-img {
  width: 250px; /* Adjust size */
  border-radius: 10px;
}
.lawyer-card {
    background: #fff;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    max-width: 1000px;
}
.avatar {
    background: #e6edff;  
    color: black;
    font-weight: bold;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}
.info {
    flex: 1;
}
.info h3 {
    margin: 0;
    font-weight: 700;
}

.info .title {
    color: #555;
    margin: 0.2rem 0 0.6rem 0;
}

.info .desc {
    color: #333;
    font-size: 1rem;
    margin-bottom: 0.8rem;
}
.address-card {
    background: #fff;
    gap: 1rem;
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    flex: 1;
    max-width: 500px;
    height: 200px;
    transform: translate(20px, -16px);
    padding-left: 50px;
    float: inline-start;

}
.address{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}
.contact-section{
    margin: 0 auto;
    max-width: 1200px;
}
.location-card{
    background: #fff;
    border-radius: 12px;
    padding: 0 1.2rem 1.2rem;
    margin-top: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    flex: 1;
    max-width: 700px;
    max-height: 400px;
    transform: translate(20px, -15px);
    float: inline-start;
}
.about-container{
    background: #fff;
    border-radius: 12px;
    padding: 1.2rem;
    margin-top: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    max-width: 800px;
    max-height: auto;
    text-align: center;
    margin: auto;
}

/* Practice Areas */
.section{
    max-width:1100px;
    margin:20px auto;
    padding:0 20px;
}
.grid-3{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}
.card{
    background:var(--card);
    padding:18px;
    border-radius:12px;
    box-shadow:var(--shadow);
}
.card {
    background: #fff;
    gap: 1rem;
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    flex: 1;
    max-width: 600px;
    padding-left: 50px;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.header-bar {
    background-color: #222;
    padding: 20px;
    text-align: center;

}

.header-bar h1 {
    color: white;
    font-size: 1rem;
    margin: 0;
    letter-spacing: 2px;
}
.vision, .mission {
    display: flex;
    align-items: center;
    padding: 40px 10%;
    gap: 30px;
}

.vision h2, .mission h2 {
    font-size: 1.8rem;
    color: #222;
    min-width: 150px;
}

.vision p, .mission p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Mission: title left, text right */
.vision {
    flex-direction: row;
    background-color: white;
}

.mission {
    display: flex;
    flex-direction: row-reverse; /* heading on the right */
    align-items: flex-start;
    background-color: #f0f0f0;
    text-align: left;  /* force text left */
}

/* Mission title */
.mission h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #222;
    min-width: 180px;
    text-align: right;
}

/* Wrap all mission points vertically */
.mission .mission-points {
    flex: 1;  /* use available space */
    max-width: 800px; /* optional to keep lines readable */
    text-align: left;
}

/* Style individual lines */
.mission .mission-points p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}


/* Mobile-friendly */
@media (max-width: 768px) {
    .vision, .mission {
        flex-direction: column;
        text-align: center;
    }
    .mission {
        flex-direction: column;
    }
}


/* Testimonials */
.testimonial-bar {
  background: #f9f9f9;
  color: #333;
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.testimonial-bar h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #008cff; /* Accent (try #14B8A6 for teal or #FFD700 for gold) */
}

.testimonial-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial {
  min-width: 100%;
  box-sizing: border-box;
  padding: 25px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.testimonial p {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 20px;
  color: #555;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #008cff;
}

.testimonial-author h4 {
  margin: 0;
  font-size: 1.1rem;
  color: #008cff;
}

.testimonial-author span {
  font-size: 0.9rem;
  color: #777;
}

/* Navigation buttons */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 140, 255, 0.1);
  border: none;
  color: #008cff;
  font-size: 2rem;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  transition: 0.3s;
}

.prev:hover, .next:hover {
  background: #008cff;
  color: #fff;
}

.prev {
  left: 20px;
}
.next {
  right: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .testimonial p {
    font-size: 1rem;
  }
}

/* Option Tags in Consultation */
option {
    padding: 10px;
    background-color: white;
    color: #333;
    font-family: sans-serif;
    border: 1px solid #ccc;
}

/* Pop up for Forms */
/* Popup styles */
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0px 8px 20px rgba(0,0,0,0.2);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.popup.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.popup .checkmark {
  font-size: 40px;
  margin-bottom: 10px;
}

.popup button {
  margin-top: 15px;
  background: #4CAF50;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 5px;
  cursor: pointer;
}

.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.overlay.show {
  opacity: 1;
  visibility: visible;
}
