@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", serif;
}

body {
  background-color: #fefefe;
  color: #333;
}

/*!Servoce Images */

.our-services {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

.our-services h4 {
  font-size: 1.2rem;
  margin: 0 clamp(10px, 2vw, 30px);
  font-size: clamp(22px, 5vw, 60px);
}
.shape-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-auto-flow: dense;
  gap: clamp(10px, 3vw, 40px);
}

.rectangle-img,
.circle-img {
  border-radius: 5px;
  width: 15vw;
  height: 15vw;
}

.circle-img {
  border-radius: 50%;
}

/* Amnimation */

.rectangle-img img,
.circle-img img {
  width: 15vw;
  height: 15vw;
  object-fit: cover;
  opacity: 1;
  position: absolute;
  transition: opacity 1s ease-in;
  border-radius: inherit;
}
.rectangle-img img.active,
.circle-img img.active {
  opacity: 1;
}

/*! Steps  */
.working-steps {
  margin: auto;
  margin-top: 1rem;
}

.steps-video {
  width: 98vw;
  height: 55vw;
  margin: auto;
  display: block;
  pointer-events: none;
}

/*! Unmatched Expertise  */
.paper-attorney {
  margin: 1.5rem 0;
  overflow-x: hidden;
}
.centre-title {
  display: flex;
  align-items: center;
  justify-content: center;
}
.paper-attorney img {
  width: clamp(3rem, 10vw, 9rem);
  margin-right: 0.4rem;
}
.paper-attorney h4 {
  font-size: clamp(1.4rem, 5vw, 2.5rem);
}

/* paper div */
.paper-div {
  position: relative;
  margin: clamp(1rem, 13vw, 30rem) 0;
}

@keyframes expandContract {
  0% {
    left: 0;
    width: 100vw;
  }
  50% {
    left: -5vw; /* Move left to simulate expansion */
    width: 110vw;
  }
  100% {
    left: 0;
    width: 100vw;
  }
}

.tear {
  width: 100vw;
  animation: expandContract 12s ease-in-out 100;
}
.tear-bottom {
  position: absolute;
  bottom: calc(-10px + -10vw);
  z-index: -1;
}
.tear-top {
  position: absolute;
  top: calc(-10px + -10vw);
  z-index: -1;
}

.attorney-data {
  z-index: 5;
  color: white;
  background-color: #051020;
  padding: 2rem;
}
.paper-div img {
  width: 100%;
}

/*! Stats Illustratrions   */
.stats-illus {
  display: grid;
  place-items: center;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-auto-flow: dense;
  gap: clamp(30px, 2vw, 30px);
}

.illu {
}
.illu img {
  width: calc(10vw + 20px);
}

.illu p {
  font-size: calc(1vw + 0.7rem);
}

.illu span {
  font-size: calc(1rem + 5vw);
  font-weight: 600;
  color: #00a36c;
}

/* Attorney  */

.attorney-data {
  padding: 0;
  text-align: left;
}
.attorney-line .previous {
  display: none !important;
}
.attorney-line .next {
  scale: 50%;
}

.attorney-line {
  margin: 2rem 0;
  padding-bottom: 1rem;
}
.attorney-cell {
  margin: 0.5rem;
}

.attorney-cell img {
  width: calc(20vh + 10px);
  height: calc(20vh + 10px);
  object-fit: cover;
  border-radius: 10px;
}
.attorney-cell p {
  font-weight: 600;
  font-size: 12px;
}
.attorney-cell span {
  font-size: 10px;
  font-weight: 300;
}

.bold-green {
  color: #00a36c;
}

/*! Service Offered  */
.services-offered {
  margin-top: -1rem;
}
.practice-img {
  width: 50px;
  width: clamp(3rem, 10vw, 9rem);
  margin-right: 0.4rem;
}
.practice-area h4 {
  font-size: clamp(1.4rem, 5vw, 2.5rem);
}

.type-service {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: clamp(1rem, 5vw, 4rem);
}
.type-service span {
  font-size: calc(0.3rem + 2vw);
  font-weight: 500;
  padding-right: 1.2rem;
  white-space: nowrap;
}
.type-line {
  width: 100%;
  height: 1px;
  background-color: #051020;
}

.service-tiles {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3.3vw;
}

.service-tile {
  width: 45vw;
  height: 45vw;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}

.service-tile img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.service-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1));
  pointer-events: none;
  z-index: 1; /* Ensure gradient is below the text */
}

.service-name {
  text-align: left;
  position: absolute;
  bottom: calc(3px + 1vw);
  left: calc(3px + 1vw); /* Changed from margin-left for better positioning */
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  z-index: 2; /* Ensure text is above the gradient */
}

.ri-arrow-right-circle-line {
  margin-left: 0.3rem;
}

/* service image */

/*! Media queries  */
@media (min-width: 910px) {
  .service-tiles {
    gap: 2vw;
  }
  .service-tile {
    width: 20vw;
    height: 20vw;
  }
  .steps-video {
    width: 65vw;
    height: 37vw;
    margin: auto;
    display: block;
    pointer-events: none;
  }
  .paper-div {
    position: relative;
    margin: clamp(1rem, 12vw, 30rem) 0;
  }
  .attorney-cell img {
    width: calc(35vh + 10px);
    height: calc(35vh + 10px);
  }
  .attorney-cell p {
    font-size: 20px;
  }
  .attorney-cell span {
    font-size: 15px;
  }
}
/*! Foundation Banner */

.foundation-banner img {
  display: block;
  width: 88%;
  margin: 2rem auto;
  border-radius: 1rem;
  border: 1px solid #ebeaeb;
  box-shadow: 0.5px 0.5px 4px rgba(0, 0, 0, 0.03),
    -0.5px -0.5px 4px rgba(0, 0, 0, 0.03);
}
/*! Foundation Banner */
