* {
  margin: 0;
  padding: 0;
}

.custom-bg {
  background: #d1c3e6;
}

.team-area {
  display: grid;
  align-items: center;
  justify-items: center;
  justify-content: center;
  padding-top: 50px;
}

.team-area-v {
  display: grid;
  align-items: center;
  justify-content: center;
  padding-top: 50px;
}

.section-title {
  text-align: center;
  margin-bottom: 30px;
}

.custom-span {
  font-size: 35px;
  font-weight: 600;
  color: #7b28ae;
  position: relative;
  margin-bottom: 80px;
}

.custom-span::after {
  position: absolute;
  content: " ";
  width: 50%;
  height: 4px;
  left: 50%;
  bottom: -5px;
  background-image: linear-gradient(to right, #7b28ae, #ba12aa);
  transform: translateX(-50%);
}

.about-us {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 60px;
}

.container-a {
  width: 80%;
  padding-top: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.container-a .image-a img {
  height: 400px;
  width: 700px;
  border-radius: 7px;
}

.container-a .image-a {
  border: 4px solid #000;
  border-radius: 10px;
}

.container-b {
  width: 100%;
  padding-top: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  place-items: center;
  gap: 30px;
}

.container-b .image-b img {
  height: 400px;
  width: 700px;
  border-radius: 7px;
}

.container-b .image-b {
  border: 4px solid #000;
  border-radius: 10px;
}

.container-a .text-about {
  margin-top: -80px;
  padding-left: 100px;
}

.container-a .text-desc {
  color: #000;
  text-align: justify;
  padding-top: 30px;
}

@media (max-width: 1250px) {
  .container-a {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 60px;
  }
  .container-b {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 60px;
  }

  .container-a .text-about {
    margin-top: 40px;
    padding-left: 0;
  }
}

@media (max-width: 950px) {
  .container-a .image-a img {
    height: 200px;
    width: 350px;
  }
  .container-b .image-b img {
    height: 200px;
    width: 350px;
  }

  .container-a .text-about {
    padding-top: 30px;
  }
}

@media (max-width: 400px) {
  .container-a .image-a img {
    height: 150px;
    width: 280px;
  }
  .container-b .image-b img {
    height: 150px;
    width: 280px;
  }
}

.image-p {
  padding-top: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-p img {
  border-radius: 5px;
  max-width: 70%;
}

.team-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 30px;
  margin: 50px auto 100px;
}

.item-links {
  width: 90%;
  margin: 40px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.item-links-v {
  width: 90%;
  margin: 40px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.item-link {
  border: 2px solid #7b28ae;
  padding: 10px 30px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 30px;
  transition: 0.4s ease;
}

.item-link-v {
  border: 2px solid #7b28ae;
  padding: 10px 30px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 30px;
  transition: 0.4s ease;
}

.item-link:hover {
  background: #7b28ae;
  color: #fff;
}

.item-link-v:hover {
  background: #7b28ae;
  color: #fff;
}

.menu-active {
  background: #7b28ae;
  color: #fff;
}

.menu-active-v {
  background: #7b28ae;
  color: #fff;
}

.box {
  width: 230px;
  margin: 20px;
  padding: 30px 10px;
  background: #ececec;
  text-align: center;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 10px 10px 15px #c7c4c4, -10px -10px 15px #fff;
  animation: SclAnimation 0.4s ease;
}

.box-v {
  width: 230px;
  margin: 20px;
  padding: 30px 10px;
  background: #ececec;
  text-align: center;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 10px 10px 15px #c7c4c4, -10px -10px 15px #fff;
  animation: SclAnimation 0.4s ease;
}

@keyframes SclAnimation {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

.box img {
  width: 150px;
  border-radius: 10%;
  padding: 5px;
  margin-bottom: 15px;
  border: 2px solid #dee2e6;
  backface-visibility: hidden;
  transition: all 0.5s ease-in-out;
}

.box-v img {
  width: 150px;
  border-radius: 10%;
  padding: 5px;
  margin-bottom: 15px;
  border: 2px solid #dee2e6;
  backface-visibility: hidden;
  transition: all 0.5s ease-in-out;
}

.box:hover img {
  transform: scale(1.2);
}

.box-v:hover img {
  transform: scale(1.2);
}

.box h2 {
  font-size: 20px;
  line-height: 1.6;
  margin-top: 20px;
  margin-bottom: 0;
}

.box-v h2 {
  font-size: 20px;
  line-height: 1.6;
  margin-top: 20px;
  margin-bottom: 0;
}

.box span {
  font-size: 16px;
  display: block;
  margin-bottom: 25px;
}

.box-v span {
  font-size: 16px;
  display: block;
  margin-bottom: 25px;
}

.box ul {
  padding: 0;
}

.box-v ul {
  padding: 0;
}

.box ul li {
  display: inline-block;
  list-style: none;
}

.box-v ul li {
  display: inline-block;
  list-style: none;
}

.box ul li a .bi {
  color: #999;
  width: 50px;
  height: 50px;
  transition: 0.3s;
}

.box-v ul li a .bi {
  color: #999;
  width: 50px;
  height: 50px;
  transition: 0.3s;
}

.box ul li a .bi-instagram:hover {
  color: #7b28ae;
}

.box-v ul li a .bi-instagram:hover {
  color: #7b28ae;
}

@media (max-width: 1200px) {
  .team-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
    margin: 100px auto 150px;
  }
  .item-links {
    width: 60%;
    margin: 20px auto;
    gap: 30px;
  }
  .item-links-v {
    width: 60%;
    margin: 20px auto;
    gap: 30px;
  }
}

@media (max-width: 880px) {
  .team-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 30px;
    margin: 100px auto 150px;
  }
  .item-links {
    width: 60%;
    margin: 30px auto;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }
  .item-links-v {
    width: 60%;
    margin: 30px auto;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }
  .item-link {
    text-align: center;
  }
  .item-link-v {
    text-align: center;
  }
}

@media (max-width: 580px) {
  .team-box {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 30px;
    margin: 100px auto 150px;
  }
}

/* Footer */

.footer-ribbon {
  position: relative;
  background-color: #fff;
  height: 0px;
}

.ribbon-wrapper {
  position: absolute;
  top: 0%;
  left: 30%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.ribbon {
  position: relative;
  background-color: #7b28ae;
  padding: 15px 40px;
  font-size: 20px;
  font-weight: bold;
  color: white;
  display: inline-block;
  text-align: center;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.ribbon-text {
  font-family: "Verdana", sans-serif;
  font-style: italic;
  color: #fff;
  letter-spacing: 1px;
}

.ribbon-shadow {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 80px);
  height: 10px;
  background-color: rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 900px) {
  .ribbon-wrapper {
    left: 50%;
  }
  .ribbon {
    font-size: 15px;
  }
}
