@import url("https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700;900&display=swap");
body {
  padding: 0;
  margin: 0;
  font-family: "Lato", sans-serif;
  overflow-x: hidden;
}
section {
  padding: 100px 0px;
}
a {
  text-decoration: none;
}
.main_header .navigation {
  padding: 10px 0px;
  background-color: #000 !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}
.main_header .navigation ul li a {
  margin: 0px 15px;
  font-size: 15px;
  color: #fff;
  text-transform: uppercase;
}
.main_header .navigation .nav_ul {
  border-right: 1px solid #fff;
}
.main_header .navbar .navbar-nav .nav-link {
  position: relative;
  font-size: 14px;
  transition: all 0.3s ease-in-out;
}
.main_header .navbar .navbar-nav .nav-link::before {
  content: "";
  position: absolute;
  width: 85%;
  height: 2px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 20px;
  bottom: 0px;
  width: 0;
  background-color: #fff;
  transition: width 0.3s ease 0s, opacity 0.3s ease 0s;
}
.main_header .navbar .navbar-nav .nav-link.active::before {
  width: 80%;
}
.main_header .navbar .navbar-nav .nav-link:hover::before {
  width: 80%;
}
.main_header .lang_covert a {
  transition: all 0.3s ease-in-out;
  font-weight: 600;
  padding: 4px;
}
.main_header .lang_covert a.current {
  color: #000 !important;
  background-color: #fff;
}
.main_header .lang_covert a:hover {
  color: #000 !important;
  background-color: #fff;
}
.main_header .navbar-brand img {
  max-width: 280px;
}
.hero_sec {
  background-image: url(../img/hero_bg.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero_sec .hero_text {
  color: #fff;
  margin: 0;
  font-size: 60px;
  font-weight: 300;
  /* background-color: #101010; */
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
  padding-left: 30%;
}
.hero_sec .hero_text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  background-color: #10101094;
  width: 50%;
  height: 80px;
  z-index: -1;
}
.hero_sec .hero_text.text-2::before {
  width: 66% !important;
}
.hero_sec .hero_text.text-3::before {
  width: 57% !important;
}
.text_hero .hero_text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  background-color: #101010b3;
  width: 50%;
  height: 80px;
  z-index: -1;
}
.text_hero .hero_text.text-2::before {
  width: 66% !important;
}
.text_hero .hero_text.text-3::before {
  width: 57% !important;
}
.text_hero .hero_text {
  padding-left: 20% !important;
}
.heading.heading_2 {
  left: 26% !important;
}
.heading.heading5 {
  left: 6% !important;
}
.about_sec h2 {
  font-size: 38px;
  font-weight: 300;
}
.about_sec {
  overflow: hidden;
}
.about_sec p,
.about_sec .para {
  padding-right: 80px;
  color: var(--bs-body-color);
}
.image_overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: #0000007a;
  width: 100%;
  height: 100%;
}
.heading {
  position: absolute;
  top: 10%;
  left: 20%;
  width: 100%;
  color: #fff;
  overflow: hidden;
}
.heading h2 {
  position: relative;
}
.about_line {
  content: "";
  position: absolute;
  width: 80%;
  height: 1px;
  left: 50%;
  right: 0px;
  transform: translate(-50%, -50%);
  top: 25%;
  background-image: linear-gradient(90deg, black 50%, #ffffff 50%);
  /* background-color: #a2a2a2; */
  z-index: 1;
}
/*  */
.row_real_estate .about_line {
  top: 42%;
  background-image: linear-gradient(-90deg, black 50%, #ffffff 50%);
}
.row_real_estate .heading {
  top: 30%;
}
.about_sec .row_real_estate p {
  margin-top: 160px !important;
  margin-bottom: 0px;
}
/*  */
.row_family_law .about_line {
  top: 42%;
}
.row_family_law .heading {
  top: 30%;
}
.about_sec .row_family_law p {
  margin-top: 160px !important;
  margin-bottom: 0px;
}
/*  */
.row_litigation .about_line {
  top: 55%;
  background-image: linear-gradient(-90deg, black 50%, #ffffff 50%);
}
.row_litigation .heading {
  top: 40%;
}
.about_sec .row_litigation p {
  margin-top: 185px !important;
  margin-bottom: 0px;
}
/*  */
.row_wills_estate .about_line {
  top: 50%;
}
.row_wills_estate .heading {
  top: 38%;
}
.about_sec .row_wills_estate p {
  margin-top: 190px !important;
  margin-bottom: 0px;
}
/*  */
.row_employement_law .about_line {
  top: 50%;
  background-image: linear-gradient(-90deg, black 50%, #ffffff 50%);
}
.row_employement_law .heading {
  top: 38%;
}
.about_sec .row_employement_law p {
  margin-top: 185px !important;
  margin-bottom: 0px;
}
/*  */
.row_business_law .about_line {
  top: 50%;
}
.row_business_law .heading {
  top: 40%;
}
.about_sec .row_business_law p {
  margin-top: 210px !important;
  margin-bottom: 0px;
}
/* Rows heading End */
.heading.heading2 {
  left: 42% !important;
}
.heading.heading3 {
  left: 35% !important;
}
.team_sec {
  background-image: linear-gradient(240deg, #000000b3, transparent), url(../img/team_bg.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.team_sec img {
  height: 280px;
  width: 280px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}
.team_card {
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease-in-out;
}
.team_card:hover {
  color: #fff;
  transform: translateY(-8px);
}
.join_sec .heading {
  overflow: hidden;
  left: 63% !important;
  top: 30%; 
  transform: translate(-50%, -50%);
}
.join_sec .about_line {
  content: "";
  position: absolute;
  width: 85%;
  height: 1px;
  left: 50%;
  right: 0px;
  transform: translate(-50%, -50%);
  top: 35%;
  background-image: linear-gradient(90deg, black 50%, #ffffff 50%);
  /* background-color: #a2a2a2; */
  z-index: 1;
}
.joining .about_line {
  top: 39% !important;
}
.main_footer {
  background-color: #000;
  color: #fff;
  /* padding: 100px 0px; */
}
.main_footer img {
  background-color: #fff !important;
  height: 100%;
  width: 100%;
}
.main_footer h5 {
  margin: 20px 0px;
}
.main_footer a {
  color: #fff;
  text-decoration: none;
  display: inline-block;
}

.main_footer a i {
  font-size: 20px;
}
/* footer-image */
.main_footer .wrapper {
  margin: 0 auto;
  width: 100%;
}
.main_footer .map_btn {
  display: block;
}

.main_footer .contact_details p {
  margin-bottom: 0;
}

.zoom-effect-container {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  overflow: hidden;
}
.image-card img {
  -webkit-transition: 0.4s ease;
  transition: 0.4s ease;
}

/* .zoom-effect-container:hover .image-card img {
  -webkit-transform: scale(1.08);
  transform: scale(1.08);
} */
/* footer image end */
.social_icon {
  padding: 20px 0px;
}
.social_icon a {
  color: #000;
  display: inline-block;
}
.social_icon i {
  font-size: 25px;
  margin: 0px 25px;
  transition: all 0.3s ease-in-out;
}
.social_icon i:hover {
  transform: scale(1.2);
}
.copyright_sec {
  background-color: #000;
  color: #fff;
  padding: 10px 0px;
}
.copyright_sec .cayenne_logo {
  display: inline-block;
  margin-left: 15px;
}
.copyright_sec .cayenne_logo img {
  max-width: 250px;
}
.main_modal h3 {
  position: relative;
  font-weight: 300;
  font-size: 26px;
}
.main_modal h3::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  height: 1.5px;
  background-color: #707070;
  width: 210px;
}
.main_modal .lawyer_post {
  font-size: 16px;
  font-weight: 500;
}
.main_modal img {
  height: 200px;
  width: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}
.main_modal p {
  margin: 10px 0px;
  font-size: 14px;
}
.main_modal h4 {
  font-size: 16px;
  font-weight: 800;
}
.main_modal ul {
  list-style: none;
  padding: 0;
}
.main_modal a {
  color: #000;
  text-decoration: none;
  margin-bottom: 15px !important;
}
.main_modal a i {
  color: #000 !important;
  font-size: 20px;
}
.main_modal .modal-body {
  padding: 50px;
}
@media (max-width: 1440px) {
  .hero_sec .hero_text.text-2::before {
    width: 80% !important;
  }
  .hero_sec .hero_text::before {
    width: 65%;
  }
  .hero_sec .hero_text.text-3::before {
    width: 66% !important;
  }
}
@media (max-width: 1024px) {
  .hero_sec .hero_text.text-2::before {
    width: 100% !important;
  }
  .hero_sec .hero_text::before {
    width: 70%;
  }
  .hero_sec .hero_text.text-3::before {
    width: 80% !important;
  }
  .about_line {
    width: 95%;
    top: 33%;
  }
  .about_sec p,
  .about_sec .para {
    padding: 0;
    margin-top: 100px !important;
    font-size: 15px;
  }
  .about_sec h2 {
    font-size: 34px;
  }
  .heading {
    left: 25px;
  }
}
@media (max-width: 900px) {
  section {
    padding: 50px 0px;
  }
  .main_header .navigation .nav_ul {
    border: 0;
  }
  .main_header .navbar .navbar-nav .nav-link {
    width: fit-content;
    margin: auto;
  }
  .main_header .lang_covert {
    display: block;
    margin: auto;
    width: fit-content;
    padding-top: 15px;
    border-top: 1px solid white;
  }
  .main_header .lang_covert li {
    display: inline-block;
  }
  .main_header .lang_covert li a {
    margin: 0px 10px !important;
  }
  .main_header .navbar-brand img {
    max-width: 220px;
  }
  .about_line {
    display: none;
  }
  .hero_sec .hero_text {
    padding-left: 3%;
  }
  .hero_sec .hero_text {
    font-size: 45px;
  }
  .hero_sec .hero_text::before {
    height: 115%;
    width: 50%;
  }
  .hero_sec .hero_text.text-2::before {
    width: 80% !important;
  }
  .hero_sec.fr .hero_text.text-2::before {
    width: 95% !important;
  }
  .hero_sec.fr .hero_text::before {
    width: 70%;
  }
  .hero_sec .hero_text.text-3::before {
    width: 60% !important;
  }

  .text_hero .hero_text {
    padding-left: 5px !important;
  }
  .hero_sec {
    min-height: 60vh;
  }
  .about_sec h2 {
    font-size: 28px;
    text-align: center;
  }
  .about_sec p,
  .about_sec .para {
    margin-top: 0 !important;
  }
  .about_sec .row_real_estate p,
  .about_sec .row_family_law p,
  .about_sec .row_litigation p,
  .about_sec .row_wills_estate p,
  .about_sec .row_employement_law p,
  .about_sec .row_business_law p {
    margin-top: 0px !important;
  }
  .about_sec .heading {
    left: 50% !important;
    transform: translate(-50%, -50%);
    top: 35%;
  }
  .zoom-effect-container {
    width: 100% !important;
    min-height: 200px !important;
  }
  .copyright_sec .cayenne_logo {
    margin-left: 8px;
  }
  .copyright_sec .cayenne_logo img {
    max-width: 200px;
  }
  .main_modal img {
    height: 150px;
    width: 150px;
  }
  .main_modal .modal-body {
    padding: 10px;
  }
}
