:root {
  --light-blue: #0B2E4B;
  --blue: #00203C;
  --sky-blue: #22498e;
  --color-logo-1: #5f431e;
  --color-logo-2: #7f7d73; 
  --color-logo-3: #debf91;
  --color-logo-4: #be853c;
  --color-logo-5: #fef9e6;
}

a {
  text-decoration: none;
  color: unset;
}
body{
  padding: 0;
  margin: 0;
   background-color: #fff;
 /* background: url(../img/backg.jpg); */
  background-attachment: fixed;
  background-repeat: no-repeat;
    background-size: cover;
}

slider_section

* {
  scroll-behavior: smooth;
}

html, body {
  font-family: 'Exo 2';

}

@font-face {
 font-family: "Roboto";
 src: url("../fonts/Roboto-Regular.ttf") format("truetype");
}

@font-face {
 font-family: "Roboto-Bold";
 src: url("../fonts/Roboto-Bold.ttf") format("truetype");
}

@font-face {
 font-family: "Roboto-Thin";
 src: url("../fonts/Roboto-Thin.ttf") format("truetype");
}




/* Preloader */
    

.main_preloader {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #fff;
  z-index: 99;
  overflow: hidden;
  position: fixed;
  left: 0;
  top: 0;
  right:0;
  bottom:0;
}
.preloader {
    color: #000;
    font-size: 2em;
    display: flex;
    position: absolute;
    bottom: 10px;
    font-weight: unset;
}

.preloader span {
  animation: animate 4s linear infinite;
}
.preloader span:nth-child(1) {
  animation-delay: 0s;
}
.preloader span:nth-child(2) {
  animation-delay: 0.1s;
}
.preloader span:nth-child(3) {
  animation-delay: 0.2s;
}
.preloader span:nth-child(4) {
  animation-delay: 0.3s;
}
.preloader span:nth-child(5) {
  animation-delay: 0.4s;
}
.preloader span:nth-child(6) {
  animation-delay: 0.5s;
}
.preloader span:nth-child(7) {
  animation-delay: 0.6s;
}
.preloader span:nth-child(8) {
  animation-delay: 0.7s;
}
@keyframes animate {
  0%,
  100% {
    color: #fff;
    filter: blur(2px);
    text-shadow: 0 0 10px #ff9900, 0 0 20px #ff9900, 0 0 40px #ff9900,
      0 0 80px #ff9900, 0 0 120px #ff9900, 0 0 200px #ff9900, 0 0 300px #ff9900,
      0 0 400px #ff9900;
  }
  25%,
  75% {
    color: #000;
    filter: blur(0px);
    text-shadow: none;
  }
} 

/* Logo animation */
@keyframes scale{
0%{
    transform: scale(0,0.0,0);
}
50%{
    transform: scale(1.05);
}
100%{
    transform: scale(0,0.0,0);
}
}

/*Main logo block */
.main_logo {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: 1.5s scale infinite ease-in-out;
}

#company-d {
    font-family: 'Exo 2';
    font-size: 25px;
    text-align: right;
}

#company-n {
    font-family: 'Old Standard TT';
    font-size: 50px;
    margin-bottom: -15px;
}

/* Preloader logo */
#logo-gif {
  width: 25%
}


/*Header */

.header_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 75%;
    margin: 0 auto;
    flex-wrap: wrap;
}
header {
  background: #fff;
  margin-top: 5px;
}

header nav{
  float: right;
}

.nav_number {
  display: none;
}

.hamburger {
  display: none;
}

header ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

header li {
    float: left;
    font-size: min(0.938vw, 18px);
    display: inline;
    padding: min(0.521vw, 10px);
    transition: .3s ease;
    margin: min(0.521vw, 10px);
    transition: .3s ease;
    border-radius: 15px;
}

header li:hover {
  background: var(--light-blue);
    color: #fff;
}

.h-active {
  background: var(--light-blue);
    color: #fff;
}

.branding_wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-grow: 1;
}

.branding {
    font-family: 'Exo 2';
    font-size: min(1.042vw, 20px);
    text-align: right;
    margin-top: max(-0.521vw, -10px)
}

#header_logo {
    width: min(3.906vw, 75px);
}

/* Phone Number */ 
.phone_wrapper img {
  width: min(2.5vw, 48px);
  padding: 10px;
}

.phone_wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: 40px;
}

.numbers {
    display: flex;
    flex-direction: column;
    font-family: 'Exo 2';
    font-size: 18px;
}

.numbers a {
  padding: 5px;
  background: #fff;
  transition: .3s ease;
  border-radius: 10px;
  font-size: min(0.938vw, 18px);
}

.numbers a:hover {
    background: var(--light-blue);
    color: #fff;
}



.logo span {
  display: block;
  font-family: 'Old Standard TT';
  font-size: min(2vw, 50px);
  color: #000;
  text-align: right;
 /*

  letter-spacing: 0;
  text-shadow: 0 0 80px rgba(255, 255, 255, 0.5);
  / Clip Background Image 
  background: url(../images/uzor.jpg) repeat-y;
  background-size: 300%;
  -webkit-background-clip: text;
  /* Animate Background Image 
  -webkit-text-fill-color: transparent;
  -webkit-animation: aitf 80s linear infinite;
  /* Activate hardware acceleration for smoother animations 
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  /* Adding Text Stroke to better readability 
   -webkit-text-stroke: 1px;
   -webkit-text-stroke-color: black;

   */
}

/* Animate Background Image 
@keyframes aitf {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}
*/

/* FOOTER */

footer {
  background-color: #f3f4f6;
  padding: 2em 0;
  font-size: min(0.938vw, 18px);
}

.footer_wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  width: 75%;
  margin: 0 auto;
  filter: grayscale(1);
  transition: .5s ease;
}

.footer_wrapper:hover {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  width: 75%;
  margin: 0 auto;
  filter: none;
}

.footer_branding {
  display: flex;
  align-items: center;
}

.footer_branding img {
  width: min(10vw, 90px);
  margin-right: 1em;
}
.footer_branding svg {
  width: min(3.906vw, 75px);
  margin-right: 1em;
}

.footer_logo_text h3 {
  font-family: 'Old Standard TT';
  font-size: min(1.5vw, 30px);
  margin: 0;
}

.footer_logo_text p {
  font-family: 'Exo 2';
  font-size: min(1.042vw, 20px);
  margin: 5px 0 0;
}

.footer_links ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 20px;
}

.footer_links li a {
  color: #000;
  transition: color 0.3s;
}

.footer_links li a:hover {
  color: var(--light-blue);
}

.footer_contact {
  margin: 10px 0;
}

.footer_contact a {
  color: #000;
  transition: color 0.3s;
}

.footer_contact a:hover {
  color: var(--light-blue);
}

.footer_copyright {
  margin-top: 1em;
  font-size: min(0.833vw, 16px);
  color: #888;
  text-align: center;
}
/* SLIDER */
.slider {
  width: 100%;
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.5))), url("../img/slider/02.jpg");
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/slider/02.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 500px;
}

.slider__inner {
  position: relative;
}

.slider .item-slider__content {
  text-align: center;
  padding: 110px 0 0 0;
  max-width: 665px;
  margin: 0 auto;
}

.slider .item-slider__title {
  text-transform: uppercase;
  color: #fff;
  font-size: 30px;
  font-family: "Roboto";
  font-weight: 500;
  letter-spacing: 1.5px;
  line-height: calc(36 / 30 * 100%);
  margin: 0 0 28px 0;
}

.slider .item-slider__text {
  color: #d3d2d2;
  font-size: 18px;
  line-height: calc(24 / 18 * 100%);
  margin: 0 0 48px 0;
}

.default-btn {
  font-family: "Roboto";
  font-weight: 500;
  color: #fff;
  line-height: calc(24 / 14 * 100%);
  letter-spacing: 0.25px;
  border: 1px solid #ffc222;
  padding: 10px 20px;
  border-right-width: 21px;
  position: relative;
}

.default-btn::after {
  position: absolute;
  top: 50%;
  right: -16px;
  content: "\f054";
  font-family: 'icomoon';
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.slider-btn {
  position: absolute;
  top: 73.17%;
  z-index: 5;
  width: 40px;
  height: 40px;
  border: 1px solid #fff;
  position: relative;
}

#bg {
  color: #000;
  padding: 22px 0;
  position: absolute;
  left: 0;
  top: 16%;
  height: 20%;
  width: 0;
  z-index: 10;
  overflow: hidden;
}

#bg:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  z-index: 20;
  background: rgba(0, 0, 0, 0.22);
  pointer-events: none;
}
#bg div {
  -moz-transform: translate(120%);
  -ms-transform: translate(120%);
  -o-transform: translate(120%);
  -webkit-transform: translate(120%);
  transform: translate(120%);
}

.contact_button {
  transition: .3s ease;
}

.contact_button:hover {
  background: var(--blue) !important;
}

/* End of CSS Slider */

/* Order Window */
.contact_window {
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #00000000;
    transition: 1s ease;
    z-index: 99;
    overflow: hidden;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.61);
}

#hideWindow {
    background: var(--light-blue);
    padding: 10px;
    font-family: Roboto;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 10px;
    cursor: pointer;
    color: #fff;
    transition: .3s ease;
}

#hideWindow:hover {
  background: #ff0000;
}

.contact {
    position: relative;
    background: #e5eef9eb;
    padding: 20px;
    border-radius: 15px;
    width: 30%;
    overflow: auto;
    max-height: 90%;
}
.contact h2 {
    text-align: center;
    padding: 10px;
}

.form_item {
  font-size: 20px;
  font-family: 'Exo 2';
  margin: 15px auto;
}

.form_item input[type=text], input[type=tel], input[type=email], select {
    height: 40px;
    font-size: 20px;
    font-family: Roboto-Thin;
    font-weight: bold;
    width: 100%;
    margin: 5px 0;
}

.form_item input[type=text]:focus-visible {
  border: 1px #ff0000 solid;
}

.form_item textarea {
    height: 100px;
    font-size: 20px;
    font-family: Roboto-Thin;
    font-weight: bold;
    width: 100%;
    margin: 5px 0;
}

.contactB {
    background: var(--light-blue);
  text-align: center;
    padding: 10px 20px;
    border: none;
    margin: 0 auto;
    display: block;
    color: #fff;
    border-radius: 10px;
    transition: .3s ease;
}

.contactB:hover {
    background: #ff0000;

}

.contactB a {
  font-size: 20px;
}

/* Thank you section */
.thankyou_message {
  position: fixed;
  right: -400px;   /* Change this line */
  top: 50%;
  transform: translate(0, -50%);   /* Change this line */
  width: 300px;
  background-color: #f8f8f8;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  transition: right 0.5s ease;
  z-index: 999;
}

.thankyou_message h2 {
  margin: 0;
  color: #333;
}

.thankyou_message p {
  margin: 10px 0 0;
  color: #666;
}

/* All Services Section */
/* .all_services {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: nowrap;
  width: 90%;
  margin: auto;
} */

.all_services {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two equal columns */
  gap: 20px; /* Optional: Space between columns */
  width: 90%;
  margin: auto;
}

/* Service Section */ 

.main_content {
  background: #fff;
}

.service_headings {
  display: flex;
  width: 90%;
  margin: auto;
  justify-content: space-around;
}

.service_headings h1 {
  flex: 1; /* This ensures both h1 elements take equal space within the flex container */
  text-align: center; /* To center the text within each h1 */
}

.our_services h1, .our_team h1 {
    font-size: min(2.083vw, 40px);
    font-family: 'Exo 2';
    font-weight: unset;
    text-align: center;
    padding: 10px;
    margin-bottom: unset;
}

.legal_services {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  margin: auto;
  margin-top: 0;
  align-content: stretch;
  filter: none;
}

.legal_services_wrapper {
  filter: none;
  transition: .8s ease;
  display: grid;
}
.legal_services_wrapper:hover {
  scale: 1.02 !important;
  transition: .8s ease;
}

.brokerage_services_wrapper {
  filter: none;
  transition: .8s ease;
  display: grid;
}
.brokerage_services {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  margin: auto;
  margin-top: 0;
  align-content: stretch;
  filter: none;
  transition: .8s ease;
}

.brokerage_services_wrapper:hover {
  scale: 1.02 !important;
  transition: .8s ease;
}

.item {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  /* min-width: 18vw; */
  border-radius: 15px;
  background: #fff;
  transition: .3s ease;
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 20px;
  box-shadow: 0 0 10px #999;
  /* overflow: hidden; */
  max-width: 30vw;
  flex-grow: 1;
}

.item:hover {
    background: linear-gradient(133deg, #0b2e4bc2, #00203c);
    cursor: pointer;
    transform: scale(1.1);
    box-shadow: 0 0 10px #747474;
    color: #fff;
}

.item:hover {
  filter: unset !important;
}


.item:hover .service_heading {
    color: #fff !important;
}


.service_description {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    letter-spacing: 1px;
    font-size: min(0.85vw, 16px);
}

.service_heading {
    font-family: Roboto-Bold;
    font-size: min(1.302vw, 25px);
    padding: 10px;
    color: var(--light-blue);

}

.item img {
width: 15.625vw;
    height: 18.51851vh;
    border-radius: 20%;
    object-fit: cover;
    max-width: 300px;
    max-height: 200px;
}

/* Prices section */
.prices {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 80%;
    margin: 20px auto;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.price_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 15px;
    box-shadow: 0 0 10px #999;
    transition: .3s ease;
}

.price_item:hover {
  transform: scale(1.1);
}

.price_item img {
    width: 300px;
    border-radius: 20%;
    object-fit: cover;
}

.price_text {
    text-align: center;
    letter-spacing: 1px;
}

.price_text h2 {
    color: #ff5500;
    font-family: Roboto-Thin;
    font-weight: bold;
    letter-spacing: 0;
    font-size: 25px;
}

#all_services {
    display: block;
    font-size: min(1.042vw, 20px);
    background: #ffffff;
    color: var(--light-blue);
    padding: 10px 20px;
    border-radius: 15px;
    margin: 10px auto;
    margin-top: unset;
    transition: .3s ease;
    width: max-content;
    border: 2px #000 solid;
}

#all_services:hover {
  background: var(--light-blue);
  color: #fff;
}




/* OUR TEAM SECTION */

.our_team {
    border-radius: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 80%;
    transition: .3s ease;
    margin: auto;
    min-height: min(100vh,1080px);
}


.our_team h1 {
  font-family: Roboto;
}



.t-controls {
    color: #fff;
    font-family: Roboto;
    display: flex;
    font-size: min(1.302vw, 25px);;
    text-transform: uppercase;
    justify-content: space-evenly;
}

.c-item {
    display: block;
    transition: .3s ease;
    padding: 5px;
    color: #000;
    border-radius: 10px;
}
.c-item:hover {
  background: var(--light-blue);
    padding: 5px;
    cursor: pointer;
    color: #fff;
}

.c-active {
    background: var(--light-blue);
    padding: 5px;
    border-radius: 10px;
    color: #fff;
}

.wrapper_team {
    display: block;
    min-height: 737px;
    padding: min(1.042vw, 20px);
    max-width: 1800px;
    margin: auto;

}

.lawyers, .leadership {
    display: flex;
    width: 80%;
    flex-direction: row;
    margin: auto;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}

#d2 {
  display: none;
}


.t-item {
    display: block;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;
    max-width: 250px;
    border-radius: 5%;
    padding: 10px;
}

.t-item img {
    width: 11.719vw;
    border-radius: 50%;
    transition: .3s ease;
    height: 27.778vh;
    object-fit: cover;
    max-width: 225px;
    max-height: 300px;
}

.t-img_name {
    font-family: 'Exo 2';
    font-size: min(1.042vw, 20px);
    font-weight: bold;
    color: #000;
    letter-spacing: 1px;
    margin-top: 10px;
    text-align: center;
}

.t-img_position {
    font-family: 'Exo 2';
    color: var(--sky-blue);
    letter-spacing: 1px;
    text-align: center;
    font-size: min(0.833vw, 16px);
}

/* Animation */

/* Underline From Left */
.hvr-underline-from-left {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  overflow: hidden;
  padding-bottom: min(0.208vw, 4px);
}
.hvr-underline-from-left:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 100%;
  bottom: 0;
  background: #2098D1;
  height: min(0.104vw, 2px);
  -webkit-transition-property: right;
  transition-property: right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

.t-item:hover .hvr-underline-from-left:before {
  right: 0;
}

.t-item:hover .hvr-underline-from-left:before {
  right: 0;
}

.t-item:hover .hvr-underline-from-left:before{
  right: 0;
}

.t-item:hover img {
  border-radius: 5%;
}

/* Our TEAM Contacts */
.t-item-w {
  position: relative;
}

.t-item-c {
    background: linear-gradient(133deg, #0b2e4bc2, #00203c);
    display: inline-block;
    padding: 5px 0px;
    color: #fff;
    width: 11.719vw;
    max-width: 225px;
    text-align: center;
    border-bottom-right-radius: calc(0.05 * 11.719vw);
    border-bottom-left-radius: calc(0.05 * 11.719vw);
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 0;
    transition: .5s ease;
    font-size: min(0.85vw, 16px);
  }

  .t-item:hover .t-item-c {
    opacity: 1;
  }