﻿/*------------------- 4.10. About  -------------------*/
.about-layout1 {
  position: relative;
}
.about-layout1 .title-area {
  margin-bottom: 22px;
  padding-right: 70px;
}
.about-layout1 .about-text {
  text-transform: capitalize;
  font-weight: 600;
}
.about-layout1.style3 .contact-box {
  margin-bottom: 40px;
}
.about-layout1.style3 .contact-box .contact-title {
  font-size: 20px;
}
.about-layout1.style3 .contact-box .contact-title a {
  color: var(--title-color);
}
.about-layout1.style3 .contact-box .contact-title a:hover {
  color: var(--theme-color);
}
.about-layout1.style3 .contact-box .contact-text {
  font-family: var(--body-font);
  font-size: 14px;
  color: var(--text-color);
  font-weight: 500;
}
.about-layout1.style3 .tab-list {
  margin-bottom: 0;
}
.about-layout1.style3 .tab-list .list-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 150%;
}
.about-layout1.style3 .tab-list ul {
  padding-left: 0;
}
.about-layout1.style3 .tab-list li {
  font-weight: 600;
  line-height: 160%;
}
.about-layout1.style3 .tab-list li:not(:last-child) {
  margin-bottom: 5px;
}
.about-layout1.style3 .tab-img {
  background: rgb(32, 169, 176);
  background: linear-gradient(
    270deg,
    rgb(32, 169, 176) 0%,
    rgb(16, 156, 61) 100%
  );
}
.about-layout1.style3 .tab-img img {
  border-radius: 13px;
  padding: 6px;
}
.about-layout1 .tab-box {
  margin-bottom: 30px;
}
.about-layout1.style2 .tab-box {
  margin-bottom: 4px;
}
.about-layout1.style2 .tab-box .tab-img {
  border: 4px solid var(--theme-color);
}

.img-box1 {
  position: relative;
  max-width: 635px;
  margin-bottom: 38px;
}
.img-box1::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 10px;
  top: 20px;
  right: 0;
  background-color: var(--theme-color);
}
.img-box1 .img1 {
  border-left: 12px solid var(--theme-color);
}
.img-box1 .img1::before {
  content: "";
  position: absolute;
  width: 45%;
  height: 10px;
  left: 0;
  bottom: 0;
  background-color: var(--theme-color);
}
.img-box1 .img1 img {
  margin-left: 18px;
  margin-bottom: 28px;
}
.img-box1 .img2 {
  position: absolute;
  top: 70px;
  right: 0;
  border: 12px solid var(--theme-color);
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.28);
}
.img-box1 .img-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 164px;
  max-height: 164px;
  background-color: var(--theme-color);
  border-radius: 50%;
  padding: 58px;
  z-index: 1;
}
.img-box1 .img-icon img {
  text-align: center;
}
.img-box1 .img-icon .icon-shep {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  z-index: -1;
}
.img-box1.style2 .img2 {
  top: 105px;
}
.img-box1.style2::before {
  top: 75px;
}

.img-box2 {
  position: relative;
}
.img-box2 .shape-mockup img {
  height: 100%;
}
.img-box2 .img1 {
  border-radius: 10px;
  overflow: hidden;
  margin-right: 30px;
}
.img-box2 .img1 img {
  width: 100%;
  transform: scale(1);
  transition: all 0.5s ease;
}
.img-box2 .img2 {
  position: absolute;
  bottom: 0px;
  left: 0;
  border-top: 8px solid var(--white-color);
  border-right: 8px solid var(--white-color);
}
.img-box2 .img-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 130px;
  height: 130px;
  background-color: var(--theme-color);
  border: 8px solid var(--white-color);
  border-radius: 50%;
  text-align: center;
  line-height: 115px;
  z-index: 1;
  transition: all 0.5s ease;
}
.img-box2 .img-icon img {
  text-align: center;
}
.img-box2 .img-icon .icon-shep {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  z-index: -1;
}
.img-box2 .img-icon:hover {
  background-color: var(--title-color);
  border-color: var(--theme-color);
}
.img-box2:hover .img1 img {
  transform: scale(1.1);
}

.about-box1 {
  display: inline-flex;
  align-items: center;
  margin-bottom: 30px;
  margin-top: 12px;
}
.about-box1 .item-title {
  line-height: 150%;
  margin-bottom: 5px;
}
.about-box1 .about-item {
  display: block;
}
.about-box1 .about-item:first-child {
  margin-right: 70px;
}
.about-box1 .item-icon {
  margin-bottom: 15px;
  display: block;
}
.about-box1 .item-text {
  text-transform: capitalize;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 0;
}

.author-box {
  display: flex;
  align-items: center;
}
.author-box img {
  border-radius: 50%;
  border: 2px dashed var(--theme-color);
  padding: 3px;
}

.about-inner {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}
.about-inner .author-box {
  margin-left: 17px;
}
.about-inner .desi {
  font-size: 14px;
  color: var(--theme-color);
  font-weight: 700;
}

.author-content {
  margin-left: 15px;
}
.author-content .desi {
  margin-bottom: 0;
  line-height: 170%;
}
.author-content .title {
  margin-bottom: 0;
  line-height: 140%;
  font-family: var(--title-font2);
}

.about-notice {
  position: relative;
}
.about-notice .notice-icon {
  position: absolute;
  left: 0;
  top: 0;
  top: 50%;
  transform: translateY(-50%);
}
.about-notice .notice-text {
  padding-left: 42px;
  margin-bottom: 0;
  font-weight: 600;
  font-size: 18px;
  color: var(--theme-color);
}

.nav-tabs {
  display: inline-flex;
  padding: 5px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 28px;
}
.nav-tabs .nav-link {
  border: none;
  text-transform: capitalize;
  font-weight: 700;
  color: var(--title-color);
  font-family: var(--title-font);
  background-color: transparent;
  border-radius: 7px;
}
.nav-tabs .nav-link.active {
  color: var(--white-color);
  background-color: var(--theme-color);
}

.tab-box {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}
.tab-box .tab-img {
  position: relative;
  display: inline-block;
  border-radius: 13px;
  overflow: hidden;
}
.tab-box .tab-img::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: hsla(193, 83%, 16%, 0.356);
}
.tab-box .play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.tab-box .play-btn i {
  width: 72px;
  height: 72px;
  line-height: 72px;
  font-size: 18px;
}

.tab-list {
  margin-right: 0;
  padding-left: 0;
}
.tab-list li {
  list-style: none;
  padding-left: 32px;
  position: relative;
  color: var(--text-color);
  font-size: 16px;
  font-weight: 500;
  text-transform: capitalize;
}
.tab-list li:not(:last-child) {
  margin-bottom: 14px;
}
.tab-list li .icon {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.tab-content {
  margin-bottom: 30px;
}

.image-gallery {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  grid-template-columns: repeat(4, 1fr);
  gap: 0px;
  width: 100%;
  height: 100%;
}
.image-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0px;
}
.image-gallery__col {
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.image-gallery__col::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--theme-color);
  z-index: 2;
  opacity: 70%;
  transform-origin: center;
  transform: scaleY(0);
  visibility: hidden;
  transition: all ease 0.4s;
}
.image-gallery__col img {
  transition: all ease 0.4s;
  transform: scale(1);
}
.image-gallery__col--popup {
  --icon-size: 116px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  font-size: clamp(1.125rem, 0.85rem + 1.38vw, 2.5rem);
  position: absolute;
  width: var(--icon-size);
  height: var(--icon-size);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  background-color: var(--bg-color);
  z-index: 4;
  opacity: 90%;
  visibility: hidden;
}
.image-gallery__col--popup i {
  font-size: 64px;
  color: var(--white-color);
  font-size: 64px;
  width: 80px;
  height: 80px;
  line-height: 80px;
  background-color: transparent;
  border-radius: 50%;
  text-align: center;
  transition: all 0.5s ease;
}
.image-gallery__col--popup i:hover {
  background-color: var(--secondary-color);
}
.image-gallery__col:hover::before {
  transform: scaleY(1);
  visibility: visible;
}
.image-gallery__col:hover .image-gallery__col--popup {
  transform: translate(-50%, -50%) scale(1);
  visibility: visible;
  opacity: 90%;
}
.image-gallery__col:hover img {
  transform: scale(1.2);
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Large devices */
@media (max-width: 1199px) {
  .img-box1 {
    margin: 0 auto 38px;
  }
}
/* Medium devices */
@media (max-width: 991px) {
  .img-box1::before {
    display: none;
  }
  .img-box1 .img1 {
    overflow: hidden;
  }
  .img-box1 .img1 img {
    width: 100%;
  }
  .about-layout1 .custome-space-bottom {
    padding-bottom: 40px;
  }
}
/* Small devices */
@media (max-width: 767px) {
  .tab-box {
    display: block;
  }
  .tab-box .tab-img {
    margin-bottom: 20px;
  }
  .img-box2 .img2 {
    display: none;
  }
  .about-layout1.style3 .tab-img {
    margin-bottom: 0;
  }
  .about-layout1.style3 .tab-list {
    margin-bottom: 30px;
  }
  .image-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* Extra small devices */
@media (max-width: 575px) {
  .about-inner {
    display: block;
  }
  .about-inner .vs-btn2 {
    margin-bottom: 20px;
  }
  .img-box1 {
    margin-bottom: 0;
  }
  .img-box1 .img2 {
    display: none;
  }
  .img-box2 .img1 {
    margin-right: 20px;
  }
  .image-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-box1 .about-item:first-child {
    margin-right: 10px;
  }
}

