/*
    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
/*

/* Home page CSS */

/********** Global CSS **********
/*
/======================================================*/

html {
  scroll-behavior: smooth;
}

:root {
  /* Set global Color */
  --primary-color: #7dc01d;
  --secondary-color: #222222;

  --paragraph_color: #073750;
  --other_color_two: #073750;

  --default_one: #ffffff;
  --default_two: #000000;

  /* Google Font Font */
  --primary_font: "Montserrat", sans-serif;
  --secondary_font: "Open Sans", sans-serif;
}

::selection {
  background: var(--primary-color);
  color: var(--default_one);
}

#preloder {
  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 */
.btn.d2c_button_large {
  background: var(--primary-color) !important;
  color: var(--secondary-color) !important;
  padding: 17px 55px 17px 55px !important;
  border-radius: 5px;
  font-family: var(--primary_font);
  font-weight: 500 !important;
  font-size: 18px !important;
  text-transform: uppercase;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.btn.d2c_button_large:hover {
  background: var(--default_one) !important;
  color: 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;
}

.btn.d2c_button_large:focus {
  box-shadow: none !important;
  outline: none;
}

/* semi large button */
.btn.d2c_semi_large_button {
  background: var(--primary-color) !important;
  color: var(--secondary-color) !important;
  padding: 12px 45px 11px 45px !important;
  border-radius: 4px !important;
  -webkit-border-radius: 4px;
  font-family: var(--primary_font);
  font-weight: 500 !important;
  font-size: 16px !important;
  text-transform: capitalize;
  -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;
}

.btn.d2c_semi_large_button: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;
}

.btn.d2c_semi_large_button:focus {
  box-shadow: none !important;
  outline: none;
}

/* global button css end */

/* global heading section start */
.d2c_header {
  padding: 50px 0px;
  background: var(--secondary-color);
  margin-top: 133px;
}

.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;
}

.d2c_header ul li {
  list-style-type: none;
}

.d2c_header ul li a {
  text-decoration: none;
  font-family: var(--primary_font);
  font-weight: 500;
  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 5px;
  color: var(--default_one);
}

/* global heading section end */

/*================= Nav start =================*/

/* sub-nav start */
.d2c_nav .d2c_sub_nav {
  background: var(--secondary-color);
  padding: 12px 30px;
  border-radius: 0px;
}

.d2c_main_nav .navbar {
  background: var(--default_one) !important;
  box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.04);
  padding: 0px;
}

.d2c_nav .d2c_sub_nav a {
  font-family: var(--primary_font);
  font-size: 15px;
  color: var(--default_one);
  text-decoration: none;
  margin-right: 50px;
}

.d2c_nav .d2c_sub_nav a span {
  display: inline-flex;
  margin-right: 10px;
  align-items: center;
  width: 18px;
  height: 18px;
}

.d2c_nav .d2c_sub_nav a:last-child {
  margin-right: 0px;
}

.d2c_nav .d2c_sub_nav a span img {
  width: 100%;
  height: 100%;
}

.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-instagram, .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-instagram, .fa-twitter):hover {
  background: var(--other_color_two);
  transition: 0.4s all ease;
  color: var(--default-one);
}

/* sub-nav end */

.d2c_main_nav {
  z-index: 1030 !important;
  position: fixed;
  top: 0px;
  width: 100%;
  background: var(--default_one);
  box-shadow: 0px 0px 25px rgb(0 0 0 / 4%);
}
.navbar img{
  width: 58px;
  height: 50px;
  object-fit: contain;
}
.d2c_main_nav .navbar ul li {
  padding: 0px 5px;
  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;
  height: 100% !important;
  text-transform: uppercase;
  color: var(--secondary-color) !important;
  padding: 20px;
  display: block;
  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:hover {
  color: var(--primary-color) !important;
}

.d2c_main_nav .navbar ul li.active a {
  color: var(--primary-color) !important;
}

.d2c_button_large.d2c_nv_contact {
  padding: 7px 45px !important;
  border: 2px solid var(--default_one);
  color: var(--default_one) !important;
  background: var(--secondary-color) !important;
}

.d2c_button_large.d2c_nv_contact:hover {
  border: 2px solid var(--primary-color);
  color: var(--secondary-color) !important;
  background: var(--primary-color) !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;
  min-width: 190px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  background-color: var(--default_one);
  padding: 10px 0px 10px 0px;
}

.d2c_main_nav .navbar ul .dropdown .dropdown-content a {
  color: var(--white-color) !important;
  background: var(--default_one);
  text-decoration: none;
  display: block;
}

.d2c_main_nav .navbar ul .dropdown .btn:hover {
  color: var(--white-color) !important;
}

.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;
  padding: 0px;
}

.d2c_main_nav .navbar ul .dropdown .dropdown-item {
  padding: 10px 20px;
  text-transform: capitalize !important;
}

.d2c_main_nav .navbar ul .dropdown .dropdown-content a:hover {
  color: var(--primary-color) !important;
}

/*================= Nav end =================*/

/*================= hero section start =================*/

.d2c_hero_section {
  height: 100vh;
  background: linear-gradient( 0deg, rgb(34 34 34 / 77%), rgb(34 34 34 / 78%) ), url(../images/hero_bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: 132px;
}

.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: 18px;
  color: var(--default_one);
  font-weight: 400;
  margin-bottom: 30px;
}

.d2c_hero_section .btn.d2c_semi_large_button {
  margin-top: 0px !important;
}

.d2c_hero_section .btn.d2c_semi_large_button:hover {
  background: var(--default_one) !important;
  border-color: var(--default_one) !important;
  color: var(--secondary-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 about section start =================*/

.d2c_home_about .d2c_semi_large_button {
  margin-top: 30px !important;
}

.d2c_home_about .d2c_about_content h2 {
  margin-bottom: 20px;
}

.d2c_home_about .d2c_about_content p {
  font-size: 17px !important;
  color: var(--secondary-color) !important;
  margin-bottom: 40px !important;
}

/*================= 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 h2 {
  font-family: var(--primary_font);
  font-weight: 600;
  font-size: 36px;
  text-transform: uppercase;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 100px;
}

/*================= home services section end =================*/

/*================= home choose us section start =================*/

.d2c_choose_us {
  padding: 100px 0px;
  background: linear-gradient(
      0deg,
      rgba(34, 34, 34, 0.9),
      rgba(34, 34, 34, 0.9)
    ),
    url(../images/choose_us_section_bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.d2c_choose_us .d2c_choose_us_heading {
  font-family: var(--primary_font);
  font-weight: bold;
  font-size: 36px;
  text-transform: uppercase;
  color: var(--default_one);
  text-align: center;
  margin-bottom: 100px;
}

.d2c_choose_us .d2c_choose_us_content {
  text-align: center;
  background: var(--default_one);
  border-radius: 5px;
  padding: 50px 30px;
  height: 100%;
}

.d2c_choose_us .d2c_choose_us_content h4 {
  font-family: var(--primary_font);
  font-weight: bold;
  font-size: 22px;
  text-transform: uppercase;
  color: var(--primary-color);
}

.d2c_choose_us .d2c_choose_us_content p {
  font-family: var(--secondary_font);
  font-size: 17px;
  color: var(--secondary-color);
  margin-bottom: 0px;
}

/*================= home choose us section end =================*/

/*================= home counter section start =================*/

.d2c_counter {
  padding: 120px 0px;
  background: linear-gradient(
      0deg,
      rgba(34, 34, 34, 0.9),
      rgba(34, 34, 34, 0.9)
    ),
    url(../images/counter_bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.d2c_counter .d2c_counter_content {
  text-align: center;
  padding: 40px 10px;
  border: 2px dashed var(--default_one);
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.d2c_counter .d2c_counter_content p {
  font-family: var(--primary_font);
  font-weight: bold;
  font-size: 60px;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 0px;
}

.d2c_counter .d2c_counter_content h1 {
  font-family: var(--primary_font);
  font-weight: bold;
  font-size: 25px;
  text-transform: uppercase;
  color: var(--default_one);
}

/*================= home counter section end =================*/

/* testimonial section start */

.d2c_testimonial {
  padding: 100px 0px 100px 0px;
  background-image: url(../images/testimonial_bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.d2c_testimonial .d2c_testimonial_heading {
  font-family: var(--primary_font);
  font-weight: bold;
  font-size: 36px;
  text-transform: uppercase;
  color: var(--secondary-color);
  margin-bottom: 100px;
}

.d2c_testimonial .d2c_testimonial_content {
  height: 100%;
  background: var(--default_one);
  padding: 60px 40px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.06);
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.d2c_testimonial .d2c_testimonial_content .d2c_client_img_wrapper {
  width: 100px;
  height: 100px;
  border-radius: 5px;
  margin-right: 15px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.d2c_testimonial .d2c_testimonial_content .d2c_client_img_wrapper img {
  width: 100%;
  border: 2px solid var(--primary-color);
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.d2c_testimonial .d2c_testimonial_content .d2c_right_part .d2c_quatation {
  position: absolute;
  right: 0;
  top: -15px;
}

.d2c_testimonial .d2c_testimonial_content .d2c_right_part h3 {
  font-family: var(--primary_font);
  font-weight: bold;
  font-size: 22px;
  text-transform: uppercase;
  color: var(--primary-color);
  width: 80%;
}

.d2c_testimonial .d2c_testimonial_content .d2c_right_part p {
  font-family: var(--secondary_font);
  font-size: 17px;
  color: var(--secondary-color);
  margin-bottom: 0px;
}

.d2c_testimonial .owl-carousel {
  margin: 0 auto;
}

.d2c_testimonial .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_testimonial .owl-carousel .owl-dots .owl-dot:focus {
  outline: none;
}

.d2c_testimonial .owl-carousel .owl-dots .owl-dot.active {
  width: 40px;
  border-radius: 50px;
  background-color: var(--primary-color);
  transition: 0.4s all ease;
}

.d2c_testimonial .owl-carousel .owl-dots {
  text-align: center;
}

/* testimonial section end */

/* call to action section start */

.d2c_CTA .d2c_button_large {
  color: var(--secondary-color) !important;
  background: var(--primary-color) !important;
}

.d2c_CTA .d2c_button_large:hover {
  color: var(--secondary-color) !important;
  background: var(--default_one) !important;
}

/* call to action section end */

/*================= home blog section start =================*/

.d2c_home_blog {
  padding-bottom: 100px;
}

.d2c_home_blog {
}

/*================= home blog section end =================*/

/*====================================================
/*Copyright © 2020. Designed by designtocodes***
/*
/**********Footer Section**********
/*
/======================================================*/

footer.d2c_main_footer {
  background: linear-gradient(
      0deg,
      rgba(34, 34, 34, 0.99),
      rgba(34, 34, 34, 0.99)
    ),
    url(../images/footer_bg.jpg);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 60px 0px;
}

footer.d2c_main_footer .navbar-brand {
  margin-bottom: 20px;
}

footer .d2c_footer_social {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer .d2c_footer_social a {
  text-decoration: none;
  color: var(--primary-color);
  font-size: 24px;
}

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;
  display: flex !important;
  align-items: baseline !important;
}

footer.d2c_main_footer .d2c_footer_right p span {
  color: var(--primary-color);
  display: inline-block;
  margin-right: 10px;
  font-size: 20px;
}

footer.d2c_main_footer .d2c_footer_right p a {
  color: var(--default_one);
  text-transform: none;
  font-size: 14px !important;
}

.d2c_main_footer hr {
  background: var(--primary-color);
  width: 60px;
  height: 2px;
  margin: -20px 0px 20px 0px;
}

.d2c_sub_footer {
  background: #1b1b1b;
  padding: 25px 0px;
}

.d2c_sub_footer p {
  margin-bottom: 0;
  font-family: var(--primary_font);
  font-weight: 300;
  font-size: 14px;
  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;
  width: 40px;
  height: 40px;
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  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 ============================ */
