/*
  Template Name: Robustlex - Law Firm Bootstrap Template
  Template URI: https://www.designtocodes.com/product/robustlex-law-firm-bootstrap-template
  Description: Robustlex is a responsive bootstrap template specifically designed for Law firms, Advocates, or agencies. 
  Author: designtocodes
  Author URI: https://www.designtocodes.com
  Text Domain: Robustlex
*/

/* =============================== about page css start ===================================== */

/* about section start */

.d2c_about_page_heading {
  font-family: var(--primary-font);
  font-weight: bold;
  font-size: 40px;
  line-height: 48px;
  text-transform: uppercase;
  color: var(--paragraph_color);
  margin-bottom: 15px;
}
.d2c_about_section .d2c_about_content p {
  font-family: var(--primary-font);
  font-size: 18px;
  letter-spacing: 0.05em;
  color: var(--paragraph_color);
}
.d2c_about_section .d2c_about_content img {
  width: 100%;
  height: 490px;
    object-fit: cover;
}

/* about section end */

/* about page consultation section start */

.d2c_consultation {
  padding-bottom: 100px;
}
.d2c_consultation .d2c_consultation_column {
  padding: 15px;
}
.d2c_consultation .d2c_about_page_heading {
  margin: 100px 0px;
}
.d2c_consultation .d2c_content {
  width: 100%;
  box-shadow: 0px 0px 21px rgb(0 0 0 / 5%);
}
.d2c_consultation .d2c_content .btn {
  width: 100%;
  background: var(--default_one);
  font-family: var(--primary-font);
  font-weight: bold;
  height: 100%;
  font-size: 22px;
  line-height: 27px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--secondary-color);
  padding: 40px 20px;
  border-radius: 0px;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -ms-border-radius: 0px;
  -o-border-radius: 0px;
  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_consultation .d2c_content .btn:focus {
  box-shadow: none;
}
.d2c_consultation .d2c_content .card {
  border: none;
  padding: 0px 47px 18px 47px;
}
.d2c_consultation .d2c_content .card ul {
  padding-left: 0px;
  margin-bottom: 0px;
}
.d2c_consultation .d2c_content .card ul li {
  list-style-type: none;
  font-family: var(--secondary_font);
  font-weight: 500;
  font-size: 17px;
  color: var(--paragraph_color);
  margin: 20px 0px;
}
.d2c_consultation .d2c_content .card ul li:first-child {
  margin-top: 0px;
}
.d2c_consultation .d2c_content .card ul li span {
  width: 25px;
  height: 25px;
  display: inline-flex;
  font-size: 14px;
  color: var(--default_one);
  background: var(--primary-color);
  margin-right: 10px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
}
/* about page consultation section end */

/* counter section start */

.d2c_counter {
  padding: 100px 0px 30px 0px;
  background: linear-gradient(
      0deg,
      rgba(40, 45, 58, 0.9),
      rgba(40, 45, 58, 0.9)
    ),
    url(../images/CTA_bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}
.d2c_counter .d2c_counter_content {
  text-align: center;
}
.d2c_counter .d2c_counter_content span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 50px;
  height: 50px;
  font-size: 25px;
  background: var(--primary-color);
  color: var(--default_one);
  margin-bottom: 25px;
  z-index: 3;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}
.d2c_counter .d2c_counter_content span i {
  z-index: 5;
}
.d2c_counter .d2c_counter_content span::before {
  content: "";
  z-index: 2;
  position: absolute;
  width: 120px;
  top: -50px;
  height: 5px;
  background: var(--primary-color);
  transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
}
.d2c_counter .d2c_counter_content p {
  font-family: var(--primary-font);
  font-weight: 900;
  font-size: 40px;
  line-height: 48px;
  text-transform: uppercase;
  color: var(--default_one);
  margin-bottom: 0px;
}
.d2c_counter .d2c_counter_content h1 {
  font-family: var(--primary-font);
  font-weight: bold;
  font-size: 60px;
  line-height: 72px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-color);
}

.d2c_counter .d2c_middle_content {
  margin-top: 130px;
}
.d2c_counter .d2c_middle_content span::before {
  width: 250px;
  top: -120px;
}

/* counter section end */

/* our team/member section css start */

.d2c_team {
  padding: 100px 0px 150px 0px;
}
.d2c_team .d2c_about_page_heading {
  margin-bottom: 100px;
}
.d2c_team .d2c_team_content .card {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: none;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
}
.d2c_team .d2c_team_content .card:hover {
  cursor: grab;
}
.d2c_team .d2c_team_content .card .card-img-top {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
}
.d2c_team .d2c_team_content .card .card-body {
  text-align: center;
  background: var(--secondary-color);
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  width: 100%;
  position: absolute;
  bottom: -50px;
  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_team .d2c_team_content .card:hover .card-body {
  bottom: 0px;
  background: var(--primary-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_team .d2c_team_content .card:hover .card-text {
  margin-bottom: 20px;
}
.d2c_team .d2c_team_content .card .card-title {
  font-family: var(--primary-font);
  font-weight: bold;
  font-size: 30px;
  line-height: 36px;
  text-transform: uppercase;
  color: var(--other_color_two);
  margin-bottom: 5px;
}
.d2c_team .d2c_team_content .card .card-text {
  font-family: var(--primary-font);
  font-size: 19px;
  line-height: 23px;
  text-transform: capitalize;
  color: var(--default_one);
  margin-bottom: 20px;
}

.d2c_team .d2c_team_content .card .d2c_social_icon_wrapper a {
  text-decoration: none;
}
.d2c_team .d2c_team_content .card .d2c_social_icon_wrapper a span {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  background: var(--secondary-color);
  color: var(--default_one);
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  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_team .d2c_team_content .card .d2c_social_icon_wrapper a span:hover {
  background: var(--default_one);
  color: 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_team .owl-carousel {
  margin: 0 auto;
  position: relative;
}
.d2c_team .owl-carousel .owl-dots {
  margin-top: 30px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
}
.d2c_team .owl-carousel .owl-dots button {
  width: 15px;
  height: 15px;
  background: var(--secondary-color);
  margin: 0px 5px;
  border: 2px solid transparent;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}
.d2c_team .owl-carousel .owl-dots button.active {
  background: var(--primary-color);
  border: 2px solid var(--secondary-color);
}
.d2c_team .owl-carousel .owl-dots button:focus {
  outline: none;
}

/* our team/member section css end */

/* =============================== about page css end ===================================== */

/*
  Template Name: Robustlex - Law Firm Bootstrap Template
  Template URI: https://www.designtocodes.com/product/robustlex-law-firm-bootstrap-template
  Description: Robustlex is a responsive bootstrap template specifically designed for Law firms, Advocates, or agencies. 
  Author: designtocodes
  Author URI: https://www.designtocodes.com
  Text Domain: Robustlex
*/
