/* 
  Template Name: Ruletrol - Law Firm Bootstrap Template
  Template URI: https://www.designtocodes.com/product/ruletrol-law-firm-bootstrap-template/
  Description: Ruletrol is a responsive bootstrap template specifically designed for Law firms, Advocates, or agencies.
  Author: designtocodes
  Author URI: https://www.designtocodes.com
  Text Domain: Ruletrol
*/

/* =============================== about page css start ===================================== */

/* about section start */

.d2c_about_section {
  padding: 100px 0px 130px 0px;
  background-image: url(../images/bg_left.png), url(../images/bg_right.png);
  background-position: 0% 0%, 100% 0%;
  background-repeat: no-repeat, no-repeat;
}
.d2c_about_section .d2c_consultation {
  padding: 30px 0px 0px 0px;
}
.d2c_about_section .d2c_consultation h2 {
  text-transform: uppercase;
  font-family: var(--primary_font);
  color: var(--secondary-color);
  font-weight: 600;
}
.d2c_about_section .container {
  background-color: #ffffff;
}
.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);
  margin-bottom: 20px;
}
.d2c_about_section .d2c_about_content {
  position: relative;
}
.d2c_about_section .d2c_about_content p {
  font-family: var(--secondary_font);
  font-size: 16px;
  line-height: 23px;
  letter-spacing: 0.04em;
  color: var(--secondary-color);
}
.d2c_about_section .d2c_about_content .d2c_up_image {
  margin-top: -50px;
  position: absolute;
  right: 0px;
  
}
.d2c_about_content img{
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
}
.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_up_image img{
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
}
/* list style css */

.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;
  position: relative;
}
.d2c_list_style ul li::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 0;
  height: 20px;
  width: 20px;
  object-fit: cover;
  background-image: url(../images/list_icon.png);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* about section end */

/* about page what we have/about 2 section start */

.d2c_about_two {
  padding: 100px 0px;
  background: 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(--secondary-color);
  margin-bottom: 100px;
}
.d2c_about_two .d2c_about_two_content {
  background: var(--default_one);
  backdrop-filter: blur(15px);
  box-shadow: 0px 0px 10px rgb(0 0 0 / 5%);
  height: 100%;
  padding: 20px;
}
.d2c_about_two .d2c_about_two_content h5 {
  font-family: var(--primary_font);
  font-weight: 600;
  font-size: 22px;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 10px;
}
.d2c_about_two .d2c_about_two_content p {
  font-family: var(--primary_font);
  font-weight: 500;
  font-size: 17px;
  color: var(--secondary-color);
}
.d2c_about_two .d2c_about_two_column {
  padding: 15px;
}

/* about page what we have/about 2 section end */

/*Call TO Action start*/
.d2c_about_cta {
  background-image: linear-gradient(
      0deg,
      rgba(34, 34, 34, 0.85),
      rgba(34, 34, 34, 0.85)
    ),
    url("../images/cta_img.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 100px 0px;
}
.d2c_about_cta p {
  font-family: var(--primary_font);
  font-style: normal;
  font-weight: bold;
  font-size: 20px;
  text-transform: uppercase;
  color: var(--default_one);
  margin-bottom: 50px;
}

.d2c_about_cta h1 {
  font-family: var(--primary_font);
  font-style: normal;
  font-weight: bold;
  font-size: 60px;
  text-transform: uppercase;
  color: var(--default_one);
  margin-bottom: 50px;
}

.d2c_about_cta .d2c_cta_btn {
  background-color: var(--primary-color) !important;
  color: var(--secondary-color) !important;
}
/*Call TO Action End*/

.d2c_expert {
  padding: 100px 0px;
}
.d2c_expert .d2c_expert_heading {
  font-family: var(--primary_font);
  font-weight: 900;
  font-size: 36px;
  text-transform: uppercase;
  color: var(--secondary-color);
  margin-bottom: 100px;
}
.d2c_expert .d2c_expert_content {
  width: 100%;
  height: 397px;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}
.d2c_expert .d2c_expert_content img {
  width: 100%;
  height: 397px !important;
  border-radius: 2px;
  object-fit: cover;
  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_expert .d2c_expert_content .d2c_name {
  background: var(--primary-color);
  padding: 15px;
  width: 100%;
  position: absolute;
  opacity: 1;
  bottom: 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_expert .d2c_expert_content .d2c_name h2 {
  font-family: var(--primary_font);
  font-weight: bold;
  font-size: 18px;
  line-height: 21px;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  color: var(--default_one);
  text-align: center;
  margin-bottom: 0px;
}
.d2c_expert .d2c_expert_content .d2c_name_hover {
  position: absolute;
  display: flex;
  top: 0px;
  bottom: 0px;
  background: rgba(34, 34, 34, 0.9);
  width: 100%;
  padding: 15px;
  opacity: 0;
  align-items: center;
  justify-content: start;
  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_expert .d2c_expert_content .d2c_name_hover h3 {
  font-family: var(--primary_font);
  font-weight: bold;
  font-size: 18px;
  line-height: 21px;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  color: var(--default_one);
  text-align: center;
  margin-bottom: 7px;
}
.d2c_expert .d2c_expert_content .d2c_name_hover h3 a {
  color: var(--default_one);
  text-decoration: none;
}
.d2c_expert .d2c_expert_content .d2c_name_hover p {
  font-family: var(--primary_font);
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  color: var(--default_one);
}
.d2c_expert .d2c_expert_content .d2c_name_hover a {
  text-decoration: none;
  margin-right: 3px;
}
.d2c_expert .d2c_expert_content .d2c_name_hover a i {
  color: var(--primary-color);
}
.d2c_expert .d2c_expert_content:hover .d2c_name {
  opacity: 0;
  bottom: -50px;
  transition: 1s all ease;
  -webkit-transition: 1s all ease;
  -moz-transition: 1s all ease;
  -ms-transition: 1s all ease;
  -o-transition: 1s all ease;
}
.d2c_expert .d2c_expert_content:hover .d2c_name_hover {
  opacity: 1;
  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_expert .d2c_expert_content:hover img {
  transform: scale(1.2);
  transition: 0.4s all ease;
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -ms-transform: scale(1.2);
  -o-transform: scale(1.2);
  -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_expert .owl-carousel {
  margin: auto;
}
.d2c_expert .owl-carousel .owl-dots {
  text-align: center;
}
.d2c_expert .owl-carousel .owl-dots .owl-dot {
  height: 12px;
  width: 12px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  transition: 0.4s all ease;
  margin-top: 50px;
  margin-right: 5px;
  -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_expert .owl-carousel .owl-dots .owl-dot:focus {
  outline: 0;
  box-shadow: none;
}
.d2c_expert .owl-carousel .owl-dots .owl-dot.active {
  width: 40px;
  border-radius: 50px;
  background-color: var(--primary-color);
  transition: 0.4s all ease;
  -moz-transition: 0.4s all ease;
  -ms-transition: 0.4s all ease;
  -o-transition: 0.4s all ease;
}
.d2c_expert_content img{
  height: 397px !important;
  object-fit: cover;
}

/* our expert section css end */

/* =============================== about page css end ===================================== */
