/* 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 */

/* Home page CSS */

/********** Global CSS **********
/*
/======================================================*/

html {
  scroll-behavior: smooth;
}

:root {
  /* Set global Color */
  --primary-color: #01a9de;
  --secondary-color: #020e14;
  --paragraph_color: #073750;
  --other_color_two: #073750;

  --default_one: #ffffff;
  --default_two: #000000;

  /* Google Font Font */
  --primary-font: "Montserrat", sans-serif;
  --secondary_font: "Yantramanav", sans-serif;
}

::selection {
  background: var(--primary-color);
  color: var(--default_one);
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #ffffff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* global button css start */

/* large button */
.d2c_button_large {
  background: var(--primary-color) !important;
  color: var(--default_one) !important;
  padding: 25px 25px !important;
  border-radius: 50px;
  -webkit-border-radius: 4px;
  font-family: var(--primary-font);
  font-weight: 500 !important;
  font-size: 18px !important;
  text-transform: uppercase;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
}

.d2c_button_large:hover {
  background: var(--secondary-color) !important;
  color: var(--default_one) !important;
  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_button_large:focus {
  box-shadow: none !important;
  outline: none;
}

/* semi large button */
.d2c_semi_large_button {
  background: var(--primary-color) !important;
  border: 2px solid var(--primary-color) !important;
  color: var(--default_one) !important;
  padding: 10px 35px !important;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  font-family: var(--primary-font);
  font-weight: 500 !important;
  font-size: 16px !important;
  text-transform: uppercase;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  -moz-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_semi_large_button:hover {
  background: var(--secondary-color) !important;
  color: var(--default_one) !important;
  border: 2px solid var(--secondary-color) !important;
  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_semi_large_button:focus {
  box-shadow: none !important;
  outline: none;
}

/* global button css end */

/* global heading section start */
.d2c_header {
  padding: 90px 0px;
  background-image: linear-gradient(
      90deg,
      rgba(1, 169, 222, 0.8) -55.13%,
      rgba(2, 14, 20, 0.8) 148.75%
    ),
    url("../images/other_Banner_image.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  text-align: center;
  margin-top: 140px;
}

.d2c_header .d2c_heading {
  font-family: var(--primary-font);
  font-weight: bold;
  font-size: 50px;
  text-transform: uppercase;
  color: var(--default_one);
}

.d2c_header ul {
  padding-left: 0px;
  display: flex;
  margin-bottom: 0px;
  justify-content: center;
}

.d2c_header ul li {
  list-style-type: none;
}

.d2c_header ul li a {
  text-decoration: none;
  font-family: var(--primary-font);
  font-weight: 700;
  font-size: 13px;
  line-height: 16px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--default_one);
}

.d2c_header ul label {
  margin: 0px 0px 0px 7px;
  color: var(--default_one);
}

/* global heading section end */

/*================= Nav start =================*/

/* sub-nav start */
.d2c_nav .d2c_sub_nav {
  background: var(--primary-color);
  padding: 7px 30px;
  border-radius: 0px;
}

.d2c_nav .d2c_sub_nav a {
  font-family: var(--primary-font);
  font-size: 17px;
  color: var(--default_one);
  text-decoration: none;
}

.d2c_nav .d2c_sub_nav a:hover .fa {
  color: var(--default_one);
}

.d2c_nav .d2c_sub_nav .d2c_icon a .fa {
  padding: 8px;
  font-size: 14px;
  width: 30px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
  border-radius: 50%;
}

.d2c_nav
  .d2c_sub_nav
  .d2c_icon
  a
  .fa:is(.fa-facebook, .fa-linkedin, .fa-youtube, .fa-twitter) {
  background: var(--default_one);
  color: var(--primary-color);
  transition: 0.4s all ease;
}

.d2c_nav
  .d2c_sub_nav
  .d2c_icon
  a
  .fa:is(.fa-facebook, .fa-linkedin, .fa-youtube, .fa-twitter):hover {
  background: var(--other_color_two);
  transition: 0.4s all ease;
  color: var(--default-one);
}

/* sub-nav end */

.d2c_logo{
  width: 64px;
  height: 44px;
  object-fit: contain;
}
.d2c_main_nav {
  z-index: 700;
  box-shadow: 0px 0px 20px #00000015;
  position: fixed;
  width: 100%;
  top: 0px;
}

.d2c_main_nav .d2c_nav_item {
  background: var(--default_one) !important;
  padding: 0;
  border-radius: 0px 0px 4px 4px;
  box-shadow: 0px 0px 21px rgba(0, 0, 0, 0.05);
  -webkit-border-radius: 0px 0px 4px 4px;
  -moz-border-radius: 0px 0px 4px 4px;
  -ms-border-radius: 0px 0px 4px 4px;
  -o-border-radius: 0px 0px 4px 4px;
}

.d2c_main_nav .navbar ul li {
  padding: 0px 15px;
  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_main_nav .navbar ul li a {
  font-family: var(--primary-font);
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  color: var(--secondary-color) !important;
  padding: 0;
  display: block;
  padding: 30px 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_main_nav .navbar ul li:hover {
  background-color: var(--other_color_two);
  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_main_nav .navbar ul li:hover a {
  color: var(--default_one) !important;
  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_main_nav .navbar ul li.active {
  background-color: var(--other_color_two);
}

.d2c_main_nav .navbar ul li.active a {
  color: var(--default_one) !important;
}

.d2c_main_nav .navbar ul .dropdown {
  position: relative;
  display: inline-block;
}

.d2c_main_nav .navbar ul .dropdown .dropbtn:hover {
  cursor: unset;
}

.d2c_main_nav .navbar ul .dropdown .dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--default_one);
  min-width: 190px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  padding: 10px 0px;
}

.d2c_main_nav .navbar ul .dropdown .dropdown-content a {
  color: var(--secondary-color) !important;
  background: var(--default_one);
  text-decoration: none;
  display: block;
}

.d2c_main_nav .navbar ul .dropdown .dropdown-content a:hover {
  background-color: #e9ecef;
}

.d2c_main_nav .navbar ul .dropdown:hover .dropdown-content {
  display: block;
  left: 0px;
}

.d2c_main_nav .navbar ul .dropdown .dropdown-item {
  padding: 5px 20px;
}

/*================= Nav end =================*/

/*================= hero section start =================*/

.d2c_hero_section {
  height: 100vh;
  background: linear-gradient(
      90deg,
      rgba(1, 169, 222, 0.8) -55.13%,
      rgba(2, 14, 20, 0.8) 148.75%
    ),
    url(../images/hero_bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: 140px;
}

.d2c_hero_section h1 {
  font-family: var(--primary-font);
  font-weight: bold;
  font-size: 60px;
  text-transform: uppercase;
  color: var(--default_one);
  margin-bottom: 25px;
}

.d2c_hero_section p {
  font-family: var(--secondary_font);
  font-size: 23px;
  color: var(--default_one);
  font-weight: 400;
  margin-bottom: 30px;
}

.d2c_hero_section .d2c_hero_content {
  text-align: center;
}

.d2c_hero_section .d2c_button_large {
  font-family: var(--primary-font);
  font-weight: bold;
  font-size: 14px !important;
  text-transform: uppercase;
  color: var(--default_one);
  padding: 20px 50px !important;
  border-radius: 30px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
}

.d2c_hero_section .d2c_button_large:hover {
  background: var(--other_color_two) !important;
}

.d2c_hero_section .d2c_learn_more_btn {
  background: transparent !important;
  border: 2px solid var(--default_one);
}

.d2c_hero_section .d2c_learn_more_btn:hover {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

/*================= hero section end =================*/

/*================= home about section start =================*/

.d2c_home_about {
  padding: 100px 0px;
}

.d2c_home_about .d2c_about_page_heading {
  font-weight: 900;
}

.d2c_home_about .d2c_semi_large_button {
  margin-top: 30px;
}

.d2c_home_about .d2c_about_page_heading {
  margin-bottom: 25px;
}

/*================= home about section end =================*/

/*================= home services section start =================*/

.d2c_home_services {
  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_home_services .d2c_home_services_heading {
  font-family: var(--primary-font);
  font-weight: 600;
  font-size: 36px;
  text-transform: uppercase;
  color: var(--other_color_two);
  text-align: center;
  margin-bottom: 50px;
}

.d2c_home_services .d2c_semi_large_button {
  background: var(--primary-color) !important;
  border: 2px solid transparent !important;
  color: var(--default_one) !important;
  font-weight: bold !important;
  margin-top: 100px;
  border: 2px solid transparent;
}

.d2c_home_services .d2c_semi_large_button:hover {
  background: var(--secondary-color) !important;
  border: 2px solid var(--secondary-color) !important;
}

/*================= home services section end =================*/

/* testimonial section start */

.d2c_testimonial {
  padding: 100px 0px 100px 0px;
  background: linear-gradient(
      90deg,
      rgba(1, 169, 222, 0.8) -55.13%,
      rgba(2, 14, 20, 0.8) 148.75%
    ),
    url(../images/testimonial_bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.d2c_testimonial .d2c_testimonial_content {
  text-align: center;
  height: 100%;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
}

.d2c_testimonial .d2c_testimonial_content .d2c_client_img_wrapper {
  width: 200px;
  height: 200px;
  margin: 0px auto 20px auto;
  position: relative;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
}

.d2c_testimonial
  .d2c_testimonial_content
  .d2c_client_img_wrapper
  .d2c_qutation_wrapper {
  position: absolute;
  width: 100px;
  height: 80px;
  top: 5px;
  left: -70px;
}

.d2c_testimonial
  .d2c_testimonial_content
  .d2c_client_img_wrapper
  .d2c_qutation_wrapper
  img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.d2c_testimonial .d2c_testimonial_content .d2c_client_img_wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
}
.d2c_testimonial .d2c_client_img{
  border-radius: 50% !important;
}

.d2c_testimonial .d2c_testimonial_content h3 {
  font-family: var(--primary-font);
  font-weight: 600;
  font-size: 36px;
  text-transform: uppercase;
  color: var(--default_one);
  margin: 25px 0px 20px 0px;
}

.d2c_testimonial .d2c_testimonial_content p {
  font-family: var(--secondary_font);
  font-size: 19px;
  letter-spacing: 0.05em;
  color: var(--default_one);
}

.d2c_testimonial .owl-carousel .owl-dots button {
  width: 170px;
  height: 4px;
  background: var(--default_one);
  margin: 0px 5px;
}

.d2c_testimonial .owl-carousel .owl-dots button.active {
  background: var(--secondary-color);
}

.d2c_testimonial .owl-carousel .owl-dots button:focus {
  outline: none;
}

.d2c_testimonial .owl-carousel {
  margin: 0 auto;
  position: relative;
}

.d2c_testimonial .owl-carousel .owl-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
}

/* testimonial section end */

/* call to action section start */

.d2c_CTA {
  padding: 100px 0px;
  background: linear-gradient(
      90deg,
      rgba(1, 169, 222, 0.8) -55.13%,
      rgba(2, 14, 20, 0.8) 148.75%
    ),
    url(../images/CTA_bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.d2c_CTA .d2c_CTA_left p {
  font-family: var(--primary-font);
  font-weight: bold;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--default_one);
}

.d2c_CTA .d2c_CTA_left h2 {
  font-family: var(--primary-font);
  font-weight: bold;
  font-size: 60px;
  line-height: 72px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--default_one);
  margin-bottom: 20px;
}

.d2c_CTA .d2c_CTA_left .d2c_number {
  text-transform: capitalize;
  font-weight: 300;
}

.d2c_CTA .d2c_CTA_left .d2c_number a {
  color: var(--default_one);
  text-decoration: none;
}

.d2c_CTA .d2c_CTA_btn {
  font-size: 14px !important;
  padding: 20px 50px !important;
  border-radius: 30px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
}

.d2c_CTA .d2c_CTA_btn:hover {
  background: var(--default_one) !important;
  color: var(--secondary-color) !important;
}

/* call to action section end */

/*================= home blog section start =================*/

.d2c_home_blog {
  padding-bottom: 100px;
  background-image: url(../images/bg_left.png), url(../images/bg_right.png);
  background-position: 5% 30%, 94% 80%;
  background-repeat: no-repeat, no-repeat;
}

/*================= home blog section end =================*/

/*====================================================
/*Copyright © 2020. Designed by Designtocodes***
/*
/**********Footer Section**********
/*
/======================================================*/

footer.d2c_main_footer {
  background-image: linear-gradient(
      0deg,
      rgba(7, 55, 80, 0.98),
      rgba(7, 55, 80, 0.98)
    ),
    url("../images/footer_bg.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 60px 0px 30px 0px;
}

footer.d2c_main_footer .navbar-brand {
  margin-bottom: 20px;
}

footer.d2c_main_footer p {
  font-family: var(--primary-font);
  font-style: normal;
  font-weight: normal;
  font-size: 17px;
  color: var(--default_one);
  margin-bottom: 0px;
}

footer.d2c_main_footer .d2c_footer_heading {
  font-family: var(--primary-font);
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 30px;
}

footer.d2c_main_footer a {
  text-decoration: none;
}

footer.d2c_main_footer .list-unstyled a {
  font-family: var(--primary-font);
  font-size: 14px;
  color: var(--default_one);
  text-transform: uppercase;
}

footer.d2c_main_footer .list-unstyled li {
  margin: 8px 0px;
}

footer.d2c_main_footer .d2c_footer_right p {
  font-family: var(--primary-font);
  font-size: 14px;
  color: var(--default_one);
  margin: 8px 0px;
}

footer.d2c_main_footer .d2c_footer_right p a {
  color: var(--default_one);
  text-transform: none;
  font-size: 14px !important;
}

.d2c_location_icon{
  width: 40px;
}

.d2c_sub_footer {
  background: var(--secondary-color);
  padding: 25px 0px;
}

.d2c_sub_footer p {
  margin-bottom: 0;
  font-family: var(--primary-font);
  font-weight: 300;
  font-size: 16px;
  text-transform: uppercase;
  color: var(--default_one);
}

.d2c_sub_footer p a {
  text-decoration: none;
  font-weight: 500;
  color: var(--default_one);
}

/* =========== footer section end ============== */

/* ========================== bottom to top scroll start ============================ */

#scrollToTopBtn {
  background: var(--default_one);
  box-shadow: 0px 0px 20px rgb(0 0 0 / 5%);
  cursor: pointer;
  font-size: 18px;
  color: var(--secondary-color);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  position: fixed;
  z-index: 9999;
  bottom: 10%;
  right: 10%;
  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;
}

#scrollToTopBtn:focus {
  outline: none;
}

#scrollToTopBtn a {
  padding-top: 5px;
  color: var(--secondary-color);
  font-size: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  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;
}

#scrollToTopBtn:hover a {
  color: 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;
}

/* ========================== bottom to top scroll end ============================ */
