/* box-css */
.portfolio-area.style-5 .item {
    position: relative;
    margin-bottom: 20px;
    margin-right: 10px;
    border-radius: 10px;
    overflow: hidden;
}

.portfolio-area.style-5 .item::before {
    content: "";
    position: absolute;
    background-image: -webkit-linear-gradient(90deg, rgba(227, 0, 124, 0.70196) 0%, rgba(0, 0, 0, 0) 100%);
    width: 100%;
    height: 100%;
    -webkit-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
    left: 0;
    bottom: 0;
    z-index: 1;
    border-radius: 15px;
}

.portfolio-area.style-5 .item .portfolio-wrapper .img-fluid img {
    width: 100%;
}

.portfolio-area.style-5 .item .portfolio-wrapper .single-portfolio {
    position: absolute;
    bottom: 10%;
    left: 15%;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
    z-index: 9;
}

.portfolio-area.style-5 .item .portfolio-wrapper .single-portfolio span {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
}

.portfolio-area.style-5 .item .portfolio-wrapper .single-portfolio .portfolio-title {
    font-size: 22px;
    font-weight: 700;
}

.portfolio-area.style-5 .item .portfolio-wrapper .pf-btn {
    background-color: #fff;
    color: #000;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: absolute;
    bottom: 23%;
    left: 15%;
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
    z-index: 9;
}

.portfolio-area.style-5 .item::after {
    content: "";
    position: absolute;
    background-color: #E3007C;
    opacity: 1;
    -webkit-clip-path: polygon(100% 0, 100% 100%, 45.5% 100%, 0% 55%, 0 0);
    clip-path: polygon(100% 0, 100% 100%, 45.5% 100%, 0% 55%, 0 0);
    width: 100%;
    height: 0;
    -webkit-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
    left: 0;
    top: 0;
    border-radius: 15px 15px 0 0;
    z-index: 1;
}

.p-details {
    display: none;
}

.p-details p {
    color: #fff;
    font-size: 18px;
    margin-bottom: 5px;
}


.p-details p span {
    font-weight: 600 !important;
    font-size: 18px !important;
}


.portfolio-area.style-5 .item:hover::before {
    background: #D9D9D9;
    opacity: 1;
    -webkit-clip-path: polygon(0 54.6%, 0% 100%, 45.5% 100%);
    clip-path: polygon(0 54.6%, 0% 100%, 45.5% 100%);
}

.portfolio-area.style-5 .item:hover .portfolio-wrapper .single-portfolio {
    top: 8%;
    bottom: unset;
}

.portfolio-area.style-5 .item:hover .portfolio-wrapper .single-portfolio .p-details {
    display: block;
}

.portfolio-area.style-5 .item:hover .portfolio-wrapper .pf-btn {
    -webkit-transform: scale(1);
    transform: scale(1);
}

.portfolio-area.style-5 .item:hover::after {
    visibility: visible;
    height: 100%;
}


/* product details page */
.rts-section-gap {
    padding: 0px;
}

.big-bg-porduct-details {
    position: relative;
}

.big-bg-porduct-details img {
    width: 100%;
    border-radius: 16px;
}

.big-bg-porduct-details .project-info {
    position: absolute;
    right: 0;
    bottom: 0;
    background: #fff;
    width: 386px;
    -webkit-box-shadow: 0px 10px 21px rgba(27, 18, 18, 0.05);
    box-shadow: 0px 10px 21px rgba(27, 18, 18, 0.05);
    border-radius: 15px 0 15px 0;
}

.big-bg-porduct-details .project-info .info-head {
    padding: 24px 40px;
    background: #E3007C;
    border-radius: 15px 0 0 0;
}

.big-bg-porduct-details .project-info .info-head .title {
    color: #fff;
    margin-bottom: 0;
}

.big-bg-porduct-details .project-info .info-body {
    padding: 15px 40px;
}

.title {
    font-size: 36px;
    font-family: "chettavista";
    font-weight: 400;
    color: #000;
}

.disc.sal-animate {
    font-family: "Manrope", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
}


.gallery img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    object-fit: cover;
}

.gallery img:hover {
    transform: scale(1.03);
    opacity: 0.9;
}

.modal-content {
    background: transparent;
    border: none;
    text-align: center;
}

.modal-body img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    max-height: 80vh;
    object-fit: contain;
}

.modal-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
}

.modal-nav button {
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: #fff;
    font-size: 2rem;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
}

.modal-nav button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.portfolio-top-inner {
    background: url(../images/bg-portfolio.png) no-repeat;
    background-size: 100%;
    text-align: center;
    padding: 40px 0;
}

.portfolio-top-inner h2 {
    font-family: "chettavista", Sans-serif;
    font-size: 40px;
    font-weight: 400;
    text-transform: capitalize;
    line-height: 62px;
    color: #E3007C;
}

.portfolio-top-inner h5 {
    font-family: "Manrope",
        Sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 40px;
    color: var(--e-global-color-text);
    margin: 20px 0;
}

.portfolio-top-inner p {
    font-family: "Manrope",
        Sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
    color: var(--e-global-color-text);
}

.modal-nav button img {
	width: 20px;
}
 
.modal-nav button {
	background: #E3007C;
	border: none;
	color: #fff;
	font-size: 2rem;
	border-radius: 50%;
	width: 45px;
	height: 45px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
 