
/* Main Layout Styles */
.appMain {
  --primaryColor: rgb(0, 117, 178);
  --secondaryColor: rgb(242, 217, 6);
  --triColor: rgba(4, 61, 92, 0.73);
  --blueFontColor: rgb(4, 61, 92);
  min-height: calc(100vh - 9vh);
  display: flex;
  flex-direction: column;
  background-image: url("../../images/bird-eye-view-of-dtla.jpg");
  background-size: cover !important;
  -webkit-background-size: cover !important;
  background-attachment: fixed !important;
  background-repeat: repeat repeat !important;
  background-position: center center;
}

/* Hero Title Styles */
.heroTitleContainer {
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;

  margin-top: 2rem;
  padding-top: 1rem;
  background-color: var(--triColor);
  display: flex;
  flex-direction: column;
}

/* Logo Styles */
.logoContainer {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
  background-color: #fff;
  border-radius: 10px;
  align-items: center;
}

.logoIconContainer {
  height: 4rem;
  width: 4rem;
}

.logo_text_container {
  display: flex;
  flex-direction: column;
}


.logoText {
  font-weight: 700;
  font-size: 3rem;
  line-height: 3rem;
  color: #000
}

.logoText > span{
  color: var(--primaryColor);
}

/* Topbar Styles */
.topbarContainer {
  padding-top: 1em;
  background-color: var(--triColor);
  display: flex;
}

/* Botbar Styles */
.botbarContainer {
  margin-top: 1rem;
  padding: 2rem 1rem;
  background-color: rgb(0, 117, 178);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: white;
  gap: .75rem;
}

.botbarContainer a {
  color: white;
  padding: .5em 0;
}

/* Awards Styles */
.awardsContainer {
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding: 2rem 1rem;
  background-color: rgba(255, 255, 255, 0.88);
  justify-content: center;
  display: flex;
}

.awardsImageWrapper {
  padding: 1rem;
  background-color: #fff;
}

.ratingsImg {
  max-width: 100%;
}

.actionContainer {
  display: flex;
  flex-grow: 1;
  padding: 1em;
}

.item {
  flex: 1;
  text-align: center;
  padding: 0.5em;
}

.description {
  color: white;
  font-size: 24px;
}

.description p {
  line-height: 1.5em;
}

.appointmentButton {
  color: var(--blueFontColor);
  font-weight: 600;
  background-color: var(--secondaryColor);
  font-size: 28px;
  text-decoration: none;
  display: block;
  border-radius: 4px;
  padding: 1.5rem .75rem;
}

.buttonSub {
  font-size: 14px;
  display: block;
  opacity: 0.7;
  font-weight: normal;
}

/* Overview Styles */
.overviewContainer {
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  width: 100%;

  display: flex;
  flex-direction: row;
  background-color: rgb(0, 117, 178);
  padding: 1em 0.5em 0 .5em;
  margin-bottom: 5em;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.overviewDescription {
  color: white;
  text-align: center;
  max-width: 600px;
  margin-bottom: 1rem;
}

.overviewTitleContainer {
  padding: 1em 0;
}

.overviewTitleText {
  font-size: 2rem;
  line-height: 2.2rem;
  font-weight: 700;
}

.ctaButtonContainer {
  padding: 1em 0;
  display: flex;
  justify-content: center;
}

.ctaButtonContainer a {
  color: rgba(4, 61, 92, 0.8);
  font-weight: 600;
  background-color: rgb(255, 227, 0);
  font-size: 34px;
  border-radius: 8px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  text-decoration: none;
  padding: 0.2em 0.5em;
}

.dottedLine {
  border-bottom: 4px dashed rgb(255, 227, 0);
  width: 90%;
  margin: 0 auto;
}

.mainDescriptionContainer {
  padding: 1em 0.2em;
}

.mainDescriptionContainer p {
  margin-top: 1em;
  font-size: 22px;
  line-height: 1.5em;
}

.overviewImage {
  max-width: 100%;
   display: block;
}

/* Practice Areas Styles */
.practiceAreasContainer {
  background-color: rgba(255, 255, 255, 0.92);
  text-align: center;
}

.practiceAreasContainer h1 {
  font-size: 2em;
}

.practiceAreasList {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  padding: 1em 0;
  flex-grow: 1;
}

.practiceAreasList li {
  background-color: rgb(242, 217, 6);
  padding: 1em 1.5em;
  font-size: 1.2em;
}

.reasonsContainer {
  display: flex;
  flex-direction: row;

  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;

  padding: 1.5rem;
}

.reasonsTitle {
  justify-content: center;
  margin: auto 0;
  font-weight: 600;
}

.reasonsList li {
  display: flex;
  text-align: left;
  border-bottom: 1px solid black;
  padding: 1.5em 0;
  font-size: 1em;
  gap: .5em;
}

.checkMarkContaine {
  max-width: 25px;
  max-height: 25px;
  filter: invert(39%) sepia(66%) saturate(4445%) hue-rotate(123deg) brightness(94%) contrast(94%);
}

.cf-icon-svg {
  height: 25px;
  width: 25px;
}

/* Consult Styles */
.consultContainer {
  background-color: rgb(242, 217, 6);
  flex-grow: 1;
  padding: 2em 1em;
}

.consultWrapper {
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  display: flex;
  flex-direction: row;
}

.consult_text_container {
  display: flex;
  flex-direction: column;
  gap: .75rem
}

.consult_text_container h3 {
  font-size: 1.5rem;
  line-height: 1.75rem;
  font-weight: 600;
}


.consultWrapper .appointmentButton {
  background-color: rgb(0, 117, 178);
  font-weight: 600;
  color: white;
  font-size: 28px;
  text-decoration: none;
  display: block;
  border-radius: 4px;
  padding: 1em .5em;
}

.buttonSubtext {
  font-size: 14px;
  display: block;
  opacity: 0.7;
  font-weight: normal;
}

/* Funnel Component Styles */
.ctaOuterContainer {
  background-color: var(--primaryColor);
  color: white;
  clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 92%);
  -webkit-clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 92%);
}

.ctaInnerContainer {
  max-width: 1170px;
  display: flex;
  flex-direction: row;
  margin: 0 auto;
}

.actionItem {
  display: flex;
  flex-direction: column;
  margin: auto 0;
  padding: 0 1.5em;
}

.textItem {
  text-align: center;
}

.textItem h1 {
  font-size: 2.5em;
  padding: 0.5em 0;
}

.formItem {
  display: flex;
  flex-direction: column;
  padding: 1em 0;
}

.privacyStatementContainer {
  padding: 0.5em 0;
  text-align: center;
  font-size: 12px;
}

.reviewContainer {
  padding: 0.5em 0;
  text-align: center;
  font-size: 14px;
}

.ctaImage {
  max-width: 100%;
  z-index: 99;
  position: relative;
}

/* FreeFill Styles */
.freeFillContainer {
  display: flex;
}

.freeFillInput {
  font-size: 18px;
  padding: 0.7em 0.9em;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  width: 100%;
}

/* Submit Button Styles */
.submitButtonContainer {
  display: flex;
}

.submitButton {
  margin-top: 10px;
  width: 100%;
  color: var(--blueFontColor);
  background: var(--secondaryColor);
  font-size: 28px;
  padding: 0.5em;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  border: none;
}

/* Review Styles */
.reviewContainer {
  display: flex;
  flex-direction: column;
  text-align: center;
  max-width: 300px;
}

.reviewContent {
  padding: 1em;
  background-color: #e6e9ec;
  position: relative;
}

.reviewContent::after {
  content:'';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 0;
  height: 0;
  border-top: solid 15px #e6e9ec;
  border-left: solid 15px transparent;
  border-right: solid 15px transparent;
}

.reviewText {
  font-size: 1.3em;
  font-style: italic;
  line-height: 1.5;
}

.reviewFooter {
  padding: 0 1em 0 1em;
}

.reviewImageContainer {
  margin-top: 1.5em;
}

.personImg {
  border: 1px solid var(--secondaryColor);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  object-fit: cover;
}

.clientInfo {
  display: flex;
  flex-direction: column;
}

.clientName {
  color: white;
  font-family: "Roboto", Sans-serif;
  font-size: 18px;
  font-weight: 600;
}

.clientFunction {
  color: var(--secondaryColor);
  font-family: "Oswald", Sans-serif;
  font-size: 16px;
  font-weight: 400;
}

/* Testimonials Styles */
.testamonialContainer {
  background-color: white;
  color: rgb(0, 117, 178);
  padding: 2.5em 2em;
  text-align: center;
}

.reviews {
  background-color: var(--triColor);
  display: flex;
  padding: 1em;
  justify-content: space-evenly;
}

.reviewsContainer {
  display: flex;
  flex-direction: row;
  gap: 3em;
}

/* Form Control Styles */
.formContainer {
  padding: 1em;
  text-align: center;
  display: flex;
  flex-direction: column;
}

#progressBar {
  display: flex;
  width: 100%;
  height: 20px;
  padding: 1em;
}

/* Mobile Responsive Styles */
@media only screen and (min-width: 320px) {
  .actionContainer {
    flex-direction: column;
  }

  .consultWrapper {
    flex-direction: column;
  }

  .practiceAreasContainer {
    padding: 1em;
  }

  .practiceAreasList {
    flex-direction: column;
  }

  .practiceAreasList li {
    margin-bottom: 1em;
  }

  .reasonsContainer {
    flex-direction: column;
  }

  .reasonsTitle h2 {
    font-size: 2.5rem;
    line-height: 3rem;
  }

  .overviewImageContainer {
    display: none;
  }

  .mainDescriptionContainer p {
    margin-top: 1em;
    font-size: 18px;
    line-height: 1.2em;
  }

  .reviewsContainer {
    flex-direction: column;
  }

  .ctaOuterContainer {
    clip-path: polygon(0 3%, 100% 0, 100% 100%, 0 97%);
    -webkit-clip-path: polygon(0 3%, 100% 0, 100% 100%, 0 97%);
  }

  .imgItem {
    display: none;
  }

  .actionItem {
    width: 100%;
  }
}

@media only screen and (min-width: 700px) {
  .actionContainer {
    flex-direction: row;
  }

  .consultWrapper {
    flex-direction: row;
  }

  .practiceAreasContainer {
    padding: 1em 0;
  }

  .practiceAreasList {
    flex-direction: row;
  }

  .practiceAreasList li {
    margin-bottom: 0;
  }

  .reasonsContainer {
    flex-direction: row;
  }

  .reasonsTitle h2 {
    font-size: 4.5rem;
    line-height: 4.5rem;
  }

  .overviewImageContainer {
    display: flex;
    align-self: flex-end; /* Overrides parent's align-items: center */
    /* align-items: flex-end; */
    height: 100%; /* Make sure container has height to work with */
  }

  .mainDescriptionContainer p {
    margin-top: 1em;
    font-size: 22px;
    line-height: 1.5em;
  }

  .reviewsContainer {
    flex-direction: row;
  }
}

@media only screen and (min-width: 800px) {
  .ctaOuterContainer {
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 92%);
    -webkit-clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 92%);
  }

  .actionItem {
    width: 60%;
  }

  .imgItem {
    display: flex;
    width: 40%;
  }
}
