/* =============================== about page css start ===================================== */
/* Template Name: M&T - Bootstrap Law Firm Template
Template URI: https://www.designtocodes.com/product/mt-bootstrap-law-firm-template/
Description: M&T is a responsive bootstrap template specifically designed for Law firms, Advocates, or agencies.
Author: designtocodes
Author URI: https://www.designtocodes.com
Text Domain: M&T Law Firm */
/* about section start */

.d2c_about_section {
  padding: 100px 0px;
  background-image: url(../images/bg_left.png), url(../images/bg_right.png);
  background-position: 5% 30%, 94% 80%;
  background-repeat: no-repeat, no-repeat;
}
.d2c_about_section .d2c_about_content h2 {
  font-family: var(--primary-font);
  font-weight: 600;
  font-size: 36px;
  line-height: 44px;
  text-transform: uppercase;
  color: var(--secondary-color);
}
.d2c_about_section .d2c_about_content p {
  font-family: var(--secondary_font);
  font-size: 16px;
  line-height: 23px;
  letter-spacing: 0.04em;
  color: var(--other_color_two);
}
.d2c_about_section .d2c_about_content img {
  width: 100%;
  height: 530px;
  object-fit: cover;
}
.d2c_about_section .d2c_about_content h3 {
  font-family: var(--primary-font);
  font-weight: 600;
  font-size: 19px;
  text-transform: capitalize;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.d2c_about_section .d2c_about_content .d2c_social a {
  text-decoration: none;
}
.d2c_about_section .d2c_about_content .d2c_social a span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: var(--default_one);
  margin: 0px 5px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  transition: 0.4s all ease;
  -webkit-transition: 0.4s all ease;
  -moz-transition: 0.4s all ease;
  -ms-transition: 0.4s all ease;
  -o-transition: 0.4s all ease;
}
.d2c_about_section .d2c_about_content .d2c_social a span:hover {
  background: var(--secondary-color);
  transition: 0.4s all ease;
  -webkit-transition: 0.4s all ease;
  -moz-transition: 0.4s all ease;
  -ms-transition: 0.4s all ease;
  -o-transition: 0.4s all ease;
}
.d2c_about_section .d2c_about_content .d2c_social:first-child span {
  margin-left: 0px !important;
}

/* list style css */
.d2c_list_style ul {
  padding-left: 12px;
}
.d2c_list_style ul li {
  font-family: var(--primary-font);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.04em;
  text-transform: capitalize;
  color: var(--secondary-color);
  list-style-type: none;
  position: relative;
  display: flex;
  align-items: baseline;
  margin: 15px 0px;
}
.d2c_list_style ul li::before {
  content: "";
  position: relative;
  width: 12px;
  height: 12px;
  background: var(--default_one);
  border: 2px solid var(--primary-color);
  left: -15px;
  z-index: 2;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}
.d2c_list_style ul li::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 2px;
  background: var(--secondary-color);
  left: -34px;
  top: 30px;
  z-index: 1;
  transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
}
.d2c_list_style ul li:last-child:after {
  display: none;
}

/* about section end */

/* about page what we have/about 2 section start */

.d2c_about_two {
  padding: 100px 0px;
  background: linear-gradient(0deg, rgba(2, 14, 20, 0.9), rgba(2, 14, 20, 0.9)),
    url(../images/about_2.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.d2c_about_two .d2c_about_two_heading {
  font-family: var(--primary-font);
  font-weight: 600;
  font-size: 36px;
  text-transform: uppercase;
  color: var(--default_one);
  margin-bottom: 100px;
  text-align: center;
}
.d2c_about_two .d2c_about_two_content {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(15px);
  text-align: center;
  height: 100%;
  padding: 50px 0px;
}
.d2c_about_two .d2c_about_two_content p {
  font-family: var(--primary-font);
  font-weight: 600;
  font-size: 24px;
  text-transform: uppercase;
  color: var(--default_one);
  margin-bottom: 0px;
}
.d2c_about_two .d2c_about_two_column {
  padding: 15px;
}

/* about page what we have/about 2 section end */

/* find the need/consultation section start */

.d2c_consultation {
  padding: 100px 0px;
}
.d2c_consultation .d2c_consultation_heading {
  font-family: var(--primary-font);
  font-weight: 600;
  font-size: 36px;
  text-transform: uppercase;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 50px;
}
.d2c_consultation .d2c_consultation_content {
  background: var(--default_one);
  box-shadow: 0px 0px 22px rgba(0, 0, 0, 0.06);
  padding: 30px;
  height: 100%;
}
.d2c_consultation .d2c_consultation_content h2 {
  font-family: var(--primary-font);
  font-weight: bold;
  font-size: 25px;
  text-transform: uppercase;
  color: var(--secondary-color);
}

/* find the need/consultation section end */

/* counter section start */

.d2c_counter {
  padding: 100px 0px;
  background: linear-gradient(0deg, rgba(7, 55, 80, 0.9), rgba(7, 55, 80, 0.9)),
    url(../images/CTA_bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.d2c_counter .d2c_counter_content {
  width: 250px;
  height: 250px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 10px solid var(--primary-color);
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}
.d2c_counter .d2c_counter_content p {
  font-family: var(--primary-font);
  font-size: 35px;
  line-height: 43px;
  text-transform: uppercase;
  color: var(--default_one);
}
.d2c_counter .d2c_counter_content h1 {
  font-family: var(--primary-font);
  font-weight: 600;
  font-size: 36px;
  line-height: 23px;
  text-transform: uppercase;
  color: var(--default_one);
}

/* counter section end */

/* our team/member section css start */

.d2c_team {
  padding: 100px 0px 100px 0px;
  background-image: url(../images/bg_left.png), url(../images/bg_right.png);
  background-position: 5% 30%, 94% 80%;
  background-repeat: no-repeat, no-repeat;
}
.d2c_team .d2c_team_heading {
  font-family: var(--primary-font);
  font-weight: 600;
  font-size: 36px;
  text-transform: uppercase;
  color: var(--secondary-color);
  margin-bottom: 70px;
  text-align: center;
}
.d2c_team .d2c_team_down {
  width: 354px;
  height: 180px;
  border: 5px solid var(--secondary-color);
  border-top-left-radius: 175px;
  border-top-right-radius: 175px;
  border-bottom: 0px solid transparent;
}
.d2c_team .d2c_team_content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.d2c_team .d2c_member_details {
  width: 354px;
  height: 225px;
  position: relative;
  background: var(--primary-color);
  text-align: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.d2c_team .d2c_member_details .d2c_name {
  margin-bottom: 15px;
}
.d2c_team .d2c_member_details .d2c_image_wrapper {
  width: 250px;
  height: 250px;
  margin: 0 auto 25px auto;
  position: absolute;
  background: var(--default_one);
  border-radius: 50%;
  left: 50%;
  top: -57%;
  transform: translate(-50%);
  -webkit-transform: translate(-50%);
  -moz-transform: translate(-50%);
  -ms-transform: translate(-50%);
  -o-transform: translate(-50%);
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}
.d2c_team .d2c_member_details .d2c_image_wrapper img {
  width: 100%;
  border: 4px solid var(--default_one);
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}
.d2c_team .d2c_member_details p {
  font-family: var(--primary-font);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--default_one);
  margin-bottom: 10px;
}
.d2c_team .d2c_member_details h2 {
  font-family: var(--primary-font);
  font-weight: bold;
  font-size: 18px;
  text-transform: uppercase;
  color: var(--secondary-color);
}

.d2c_team .owl-carousel {
  margin: 0 auto;
}

/* our team/member section css end */

/* =============================== about page css end ===================================== */
