/* modern agency 2 page css */
.hero-content-4 {
  padding: 360px 0 110px 0;
  position: relative;
  z-index: 1;
}
@media (max-width: 1199px) {
  .hero-content-4 {
    padding: 260px 0 100px 0;
  }
}
@media only screen and (max-width: 992px) {
  .hero-content-4 {
    padding: 100px 0 100px 0;
  }
}
@media only screen and (max-width: 767px) {
  .hero-content-4 {
    padding: 80px 0;
  }
}
.hero-content-4 .sub-title {
  font-size: 100px;
  font-weight: 200;
}
@media only screen and (max-width: 992px) {
  .hero-content-4 .sub-title {
    font-size: 60px;
  }
}
@media only screen and (max-width: 767px) {
  .hero-content-4 .sub-title {
    font-size: 24px;
  }
}
.hero-content-4 .title {
  font-size: 160px;
  font-weight: 700;
}
@media only screen and (max-width: 992px) {
  .hero-content-4 .title {
    font-size: 100px;
  }
}
@media only screen and (max-width: 767px) {
  .hero-content-4 .title {
    font-size: 45px;
  }
}
.hero-content-4 .title span {
  position: relative;
  z-index: 1;
  line-height: 1;
  color: var(--rr-color-theme-primary);
}
.dark .hero-content-4 .title span {
  color: var(--primary);
}
.hero-content-4 .title span:before {
  content: attr(data-text);
  position: absolute;
  right: 7px;
  top: 10px;
  width: 100%;
  font-size: 160px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-width: 0.5px;
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.3);
  z-index: -1;
}
@media only screen and (max-width: 992px) {
  .hero-content-4 .title span:before {
    font-size: 100px;
  }
}
@media only screen and (max-width: 767px) {
  .hero-content-4 .title span:before {
    font-size: 45px;
    top: 8px;
  }
}
.hero-content-4 .rr-primary-btn {
  margin-top: 50px;
}
@media only screen and (max-width: 767px) {
  .hero-content-4 .rr-primary-btn {
    margin-top: 30px;
  }
}

.hero-section-4 {
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.hero-section-4 .shapes .shape {
  position: absolute;
}
.hero-section-4 .shapes .shape.shape-1 {
  top: 0;
  left: 0;
}
.hero-section-4 .shapes .shape.shape-2 {
  bottom: 0;
  left: 0;
}
.hero-section-4 .hero-img {
  max-width: 950px;
  width: 100%;
  height: 690px;
  position: absolute;
  bottom: 0;
  right: 0;
}
@media (max-width: 1600px) {
  .hero-section-4 .hero-img {
    max-width: 750px;
  }
}
@media (max-width: 1199px) {
  .hero-section-4 .hero-img {
    max-width: 550px;
  }
}
@media only screen and (max-width: 992px) {
  .hero-section-4 .hero-img {
    max-width: 450px;
  }
}
@media only screen and (max-width: 767px) {
  .hero-section-4 .hero-img {
    display: none;
  }
}
.hero-section-4 .hero-img:before {
  background-color: rgba(131, 131, 131, 0.63);
  mix-blend-mode: multiply;
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.hero-section-4 .hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-item-3 {
  padding: 40px 30px;
  background-color: var(--rr-color-grey-light);
  border: none;
}
.dark .service-item-3 {
  background-color: var(--rr-color-bg-1);
  border: 1px solid var(--rr-color-border-1);
}
.service-item-3 .service-icon-wrap {
  border-radius: 50%;
}
.service-item-3 .service-icon-wrap .service-icon {
  height: 110px;
  width: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto;
  margin-bottom: 30px;
  background-color: var(--rr-color-common-white);
  border: none;
}
.dark .service-item-3 .service-icon-wrap .service-icon {
  background: radial-gradient(50% 5688.89% at 50% 50%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 100%);
  border: 1px solid #3E3E3E;
}
.service-item-3 .service-icon-wrap .service-icon svg {
  color: var(--rr-color-theme-primary);
}
.dark .service-item-3 .service-icon-wrap .service-icon svg {
  color: var(--rr-color-common-white);
}
.service-item-3 .title {
  font-weight: 700;
  margin-bottom: 25px;
  font-size: 24px;
  line-height: 28px;
}
.service-item-3 p {
  color: #74787C;
  font-size: 16px;
  line-height: 28px;
  font-family: var(--rr-ff-p);
}
.service-item-3 p:last-child {
  margin-bottom: 0;
}
.service-item-3:hover .service-icon svg {
  animation-name: wobble-vertical;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
}

.about-section-5 {
  overflow: hidden;
}

.about-content-5 {
  padding-right: 60px;
}
@media only screen and (max-width: 992px) {
  .about-content-5 {
    padding-right: 0;
  }
}

.about-tab .nav-tabs {
  margin-bottom: 40px;
  border: none;
  row-gap: 20px;
}
.about-tab .nav-tabs .nav-link {
  background-color: var(--rr-color-bg-1);
  color: var(--rr-color-common-white);
  border: none;
  box-shadow: none;
  border-radius: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  padding: 12px 25px;
}
.about-tab .nav-tabs .nav-link:not(:last-of-type) {
  margin-right: 20px;
}
.about-tab .nav-tabs .nav-link.active {
  background-color: var(--rr-color-theme-primary);
  color: var(--rr-color-common-white);
}
.about-tab .tab-content .title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
}

.about-img-wrap-5 {
  position: relative;
  padding-bottom: 70px;
}
.about-img-wrap-5 .shapes .shape {
  position: absolute;
  z-index: -1;
}
.about-img-wrap-5 .shapes .shape.shape-1 {
  top: -10%;
  right: 10%;
}
.about-img-wrap-5 .shapes .shape.shape-2 {
  top: 5%;
  right: -15%;
}
.about-img-wrap-5 .img-1 {
  height: 490px;
  max-width: 505px;
  width: 100%;
  object-fit: cover;
}
.about-img-wrap-5 .about-img-2 {
  max-width: 323px;
  width: 100%;
  height: 338px;
  position: absolute;
  right: 0;
  bottom: 0;
}
@media only screen and (max-width: 767px) {
  .about-img-wrap-5 .about-img-2 {
    border: none;
  }
}
.about-img-wrap-5 .about-img-2 .img-2 {
  border-top: 10px solid #02050A;
  border-left: 10px solid #02050A;
  object-fit: cover;
}

.testi-content-4 {
  padding-right: 40px;
}
@media only screen and (max-width: 992px) {
  .testi-content-4 {
    padding-right: 0;
  }
}

.testi-top {
  display: flex;
  justify-content: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 15px;
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
}
.testi-top:before {
  background-color: var(--rr-color-border-light);
  content: "";
  width: 100%;
  height: 1px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: -1;
}
.dark .testi-top:before {
  background-color: var(--rr-color-border-1);
}
.testi-top .quote {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--rr-color-grey-light);
  border-color: var(--rr-color-grey-light);
}
.dark .testi-top .quote {
  background-color: var(--rr-color-bg-1);
  border: 1px solid var(--rr-color-border-1);
}
.testi-top .quote img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.dark .testi-top .quote .light-img {
  display: none;
}
.testi-top .quote .dark-img {
  display: none;
}
.dark .testi-top .quote .dark-img {
  display: block;
}
.testi-top .swiper-arrow {
  display: flex;
  align-items: center;
  column-gap: 10px;
}
.testi-top .swiper-arrow .swiper-nav {
  height: 50px;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border-radius: 50%;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: var(--rr-color-grey-light);
  border-color: var(--rr-color-grey-light);
  color: var(--rr-color-theme-primary);
}
.dark .testi-top .swiper-arrow .swiper-nav {
  border: 1px solid var(--rr-color-border-1);
  color: var(--rr-color-common-white);
  background-color: var(--rr-color-bg-1);
}
.testi-top .swiper-arrow .swiper-nav:hover {
  background-color: var(--rr-color-theme-primary);
  color: var(--rr-color-common-white);
  border: 1px solid var(--rr-color-theme-primary);
}

.testi-box p {
  font-size: 22px;
  margin-bottom: 40px;
  line-height: 1.5;
  color: #74787C;
}
.testi-box .author-box {
  display: flex;
  align-items: center;
  column-gap: 15px;
}
.testi-box .author-box img {
  height: 70px;
  width: 70px;
  border-radius: 50%;
  border: 3px solid var(--rr-color-theme-primary);
}
.testi-box .author-box .name {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 0;
}
.testi-box .author-box .name span {
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: var(--rr-color-text-body);
  margin-top: 10px;
}

.testi-img-4 {
  max-width: 630px;
  width: 100%;
  height: 100%;
}
@media only screen and (max-width: 992px) {
  .testi-img-4 {
    margin: 0 auto;
    margin-top: 20px;
  }
}
.testi-img-4 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
