

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap'); */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Lora:ital,wght@0,400..700;1,400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* @import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap'); */

.about-header{
    background-image: linear-gradient(
        to bottom, 
        rgba(0, 0, 0, 0.527) 0%, 
        rgba(0, 0, 0, 0.705) 60%, 
        rgba(0, 0, 0, 0.932) 100%
    ), url(background/Attorneys\ offices.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    height: 40vh;
    color: white;
    text-align: left;
    padding: 0px 90px;
    box-sizing: border-box;
}

.about-header p{
    font-size: 18px;
}

.about-header .text-head{
    font-size: 2.2em;
    font-weight: 600;
    margin-bottom: 20px;
}

.why-trusttide{
  padding: 30px 90px;
}

.why-trusttide h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

.why-trusttide p {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 20px;
}

.our-approach{
  padding: 50px 90px;
}

.our-approach h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

.our-approach p {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 20px;
  
}





@media (max-width: 768px) {
    .about-header{
    padding: 0 40px;
  }

  .why-trusttide{
  padding: 30px 20px;
  }

  .our-approach{
  padding: 30px 20px;
  }

  .our-approach p {
  font-size: 1em;
}

 .why-trusttide p {
  font-size: 1em;
}
}

.counters{
  padding: 3em 2em;
  background: #34373F;
  color: #fff;
  text-align: center;
}

.counters > div {
  max-width: 80%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4em 2em;
}

.counter{
  position: relative;
}

.counter h1{
  font-size: 3em;
  margin-bottom: 0.5em;
}

.counter:not(:last-child)::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -1em;
  width: 2px;
  height: 3em;
  background-color: #fff;
  transform: translateY(-50%);
}

@media screen and (max-width: 900px) and (min-width: 501px) {
  .counters > div {
    grid-template-columns: 1fr 1fr;
  }

  .counter:nth-child(2)::before {
    display: none;
  }
  
}

@media screen and (max-width: 500px) {
  .counters > div {
    grid-template-columns: 1fr;
    row-gap: 5em;
  }

  .counter:not(:last-child)::before {
    width: 90%;
    height: 2px;
    top: inherit;
    right: initial;
    bottom: -3em;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Values card sections */

.values-container{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 90px;
  gap: 20px;
  background-color: #f7f7f7;
}



.values-card{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-direction: row;
    height: 54vh;
    max-width: fit-content;
    width: 100vh;
    color: white;
    text-align: left;
    padding: 60px 40px;
    box-sizing: border-box;
    margin-top: 20px;
    border-radius: 10px;
} 

.card1{
  background-image: linear-gradient(
        to bottom, 
        rgba(29, 28, 28, 0) 0%, 
        #34373F 70%, 
        #34373F 100%
    ), url(images/FeatureImage_client_meeting.jpg);
}

.card2{
  background-image: linear-gradient(
        to bottom, 
        rgba(29, 28, 28, 0) 0%, 
        #34373F 80%, 
        #34373F 100%
    ), url(images/decision\ makers.avif);
}

.card4{
  background-image: linear-gradient(
        to bottom, 
        rgba(29, 28, 28, 0) 0%, 
        #34373F 70%,
        #34373F 100%
    ), url(images/istockphoto-1387646380-612x612.jpg);
}

.card3{
  background-image: linear-gradient(
        to bottom, 
        rgba(29, 28, 28, 0) 0%, 
        #34373F 70%, 
        #34373F 100%
    ), url(images/ClientMeeting.jpg);
}

.values-card-content h2 {
  font-size: 1.8em;
  margin-bottom: 10px;
  font-family: "Lora", serif;
}

.values-card-content p {
  font-size: 1em;
  line-height: 1.2;
  font-family: "DM Sans", sans-serif;}

@media (max-width: 768px) {
  .values-container {
    flex-direction: column;
    padding: 40px 20px;
  }

  .values-card {
    width: 100%;
    height: 45vh;
    padding: 30px 20px;
    border-radius: 10px;
  }

  .values-card-content h2 {
    font-size: 1.2em;
  }

  .values-card-content p {
    font-size: 0.8em;
  }

  

}

.container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
}

.card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 280px;
  padding: 20px;
}

.profile-img img{
  width: 200px;
  height: 200px;
  border-radius: 50%;
  /* margin: 0 auto 15px; */
}

h3 {
  margin: 5px 0 10px;
  font-size: 1.2em;
}

.title {
  color: #666;
  margin: 0 0 10px;
  font-size: 0.9em;
}

.email {
  color: #333;
  margin: 0 0 15px;
  font-size: 0.8em;
}

.view-profile {
  background-color: #555;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9em;
}

.view-profile:hover {
  background-color: #333;
}


.attorneys-section{
  padding: 50px 90px;
  background-color: #eeeeee;
}

.attorneys-header{
  text-align: center;
  padding: 20px 0;
}

.attorneys-header h2 {
  font-size: 2.8em;
  margin-bottom: 10px;
  padding: 0 300px;
  font-family: "Lora", serif;
}

.attorneys-header p {
  font-size: 1.2em;
  line-height: 1.6;  
  margin-top: 15px;
  padding: 0 250px;
}

.learn-more {
    padding: 20px 0px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s;
}

.attorneys-section a{
  text-decoration: underline;
  color: inherit;
}

.learn-more:hover {
    color: #34373F;
}

.learn-more i {
    color: #F39200;
    margin-left: 6px;
    font-size: 13px;
    font-weight: 700;
    font-style: underline;
}

@media (max-width: 768px) {
  .attorneys-section {
    padding: 30px 0;
  }

  .card{
    width: 280px;
    padding: 30px 30px;
  }

  .container{
    display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 16px;
        overflow-x: auto;
        padding-bottom: 16px;
        scroll-snap-type: x mandatory;
        width: 100%;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        justify-content: flex-start;
  }

  .attorneys-header{
    padding: 20px 20px;
    text-align: left;

  }

  .attorneys-header h2 {
    padding: 0;
    font-size: 2.1em;
  }

  .attorneys-header p {
    padding: 0;
    font-size: 1em;
  }

  .learn-more{
    text-align: left;
    padding: 0 20px;
  }
}

