.portfolio-tab {
  position: relative;
}
.portfolio-tab::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 600px;
  background-color: var(--light-blue-bg);
  top: 0;
  left: 0;
  z-index: -9;
}
.p-tab-wrap .nav {
  padding: 10px 0;
  display: flex;
  grid-gap: 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  margin-bottom: 50px;
}
.p-tab-wrap .nav-link {
  color: var(--black);
  font-size: 20px;
  font-weight: 300;
  border: 2px solid transparent;
  border-radius: 8px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  padding: 15px 25px;
  text-align: center;
  transition: var(--transition);
}
.p-tab-wrap .nav-link.active,
.p-tab-wrap .nav-link:hover {
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  background-color: var(--white);
}
.p-tab-content-card {
  padding: 25px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-radius: 20px; /* box-shadow:rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;*/
  margin-bottom: 50px;
  border: 1px solid #b7b7b7;
  background-image: url("../images/contact-us/99-icon.svg");
  background-repeat: no-repeat;
  background-position: top 20px right 20px;
  background-size: 80px;
}
/*.p-tab-content-lft, .p-tab-content-rht
{
  width: 47%;
}*/
.p-tab-content-lft
{
  width: 35%;
}
.p-tab-content-rht
{
  width: 60%;
}
.p-tab-content-rht h3 {
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}
.p-tab-content-rht h3::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 0;
}
.p-tab-content-rht .sec {
  margin-bottom: 40px;
}
.p-tab-content-rht h4 {
  font-size: 23px;
  font-weight: 500;
}
.p-tab-content-rht ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.p-tab-content-rht li {
  font-size: 20px;
  font-weight: 300;
  position: relative;
}
.p-tab-content-rht li::after {
  position: absolute;
  content: "";
  top: 50%;
  right: -10px;
  height: 100%;
  width: 1px;
  background-color: var(--black);
  transform: translateY(-50%);
}
.p-tab-content-rht li:last-child:after {
  display: none;
}
.btn-reverse {
  font-size: 20px;
  font-weight: 400;
  position: relative;
  overflow: hidden;
  background-color: var(--white);
  color: var(--primary-color);
  min-height: 60px;
  padding: 0 25px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.65s ease-in-out;
  border: 2px solid var(--primary-color);
}
.btn-reverse:hover {
  background-color: rgb(255, 230, 221);
}

@media (max-width: 1399.98px) {

  .p-tab-content-rht h3
  {
    margin-bottom: 35px;
  }
  .p-tab-content-rht .sec
  {
    margin-bottom: 25px;
  }

}

@media (max-width: 991.98px) {

.p-tab-wrap .nav-link
{
    padding: 12px 15px;
    font-size: 16px;
}
.p-tab-content-rht h3
{
    font-size: 30px;
}
.p-tab-content-rht h4
{
    font-size: 18px;
}
.p-tab-content-rht li
{
    font-size: 17px;
}
.p-tab-content-rht ul
{
    column-gap: 20px;
    row-gap: 10px;
}
.btn-reverse
{
    font-size: 15px;
    min-height: 45px;
    padding: 0 15px;
}

}

@media (max-width: 767.98px) {

.p-tab-content-card
{
    flex-direction: column;
    row-gap: 25px;
    background-image: none;
}
.p-tab-content-lft, .p-tab-content-rht
{
    width: 100%;
}

}