/* --------------- portfolio styles --------------- */ .portfolio.style-1 { position: relative; .shap_r { position: absolute; right: 0; top: 30px; width: 30%; opacity: 0.3; pointer-events: none; } .shap_l { position: absolute; left: 0; bottom: 20px; width: 40%; opacity: 1; pointer-events: none; } .portfolio-slider { position: relative; padding-bottom: 60px; .swiper-button-next, .swiper-button-prev { transform: translateY(-50%); } .swiper-button-next, .swiper-container-rtl .swiper-button-prev { right: -70px; } .swiper-button-prev, .swiper-container-rtl .swiper-button-next { left: -70px; } } .portfolio-card { background-color: #fff; border-radius: 7px; overflow: hidden; .img { height: 240px; overflow: hidden; img { width: 100%; height: 100%; object-fit: cover; } } .info { padding: 30px; h5 { a { color: #000; font-weight: bold; } } small{ font-size: 10px; letter-spacing: 1px; margin-top: 5px; } .text { color: #666; margin: 15px 0 20px; font-size: 13px; } .tags { a { font-size: 11px; padding: 3px 7px; margin-top: 10px; border-radius: 4px; background-color: #eef4f8; } } } &:hover { h5 { a { color: var(--color-main); } } } } } // ---------- projects style-3 ---------- .projects.style-3{ background-color: #f0eff5; } .project-card.style-3{ position: relative; overflow: hidden; .img{ height: 360px; border-radius: 15px; overflow: hidden; img{ transition: all 1s ease; } } .info{ position: absolute; z-index: 5; bottom: 20px; left: 20px; background-color: #fff; border-radius: 15px; display: inline-block; padding: 20px 25px; transition: all 0.4s ease; transform: translateY(150%); opacity: 0; .h5{ font-weight: bold; font-size: 19px; margin-bottom: 0; color: #000; } .small{ font-size: 11px; color: #999; } } &:hover{ .img{ img{ transform: scale(1.1) rotate(-5deg); } } .info{ opacity: 1; transform: translateY(0); } } } /* --------------- projects style-6 --------------- */ .projects.style-6{ padding: 0 30px; .content{ background-color: #f1f2fa; position: relative; padding: 100px 0; border-radius: 30px; } } .project-card.style-6{ border-radius: 8px; overflow: hidden; display: block; margin: 0 15px; &:hover{ box-shadow: 0px 40px 35px 0px #51558622; } a:hover{ color: var(--color-blue6); } .img{ height: 240px; overflow: hidden; img{ width: 100%; height: 100%; object-fit: cover; } } .info{ background-color: #fff; padding: 40px; transition: all 0.3s ease; .title{ color: #000; font-size: 21px; &:hover{ color: var(--color-blue6); a{ color: var(--color-blue6); } } } small{ font-size: 11px; color: var(--color-blue6); text-transform: uppercase; margin-bottom: 10px; } .text{ font-size: 12px; color: #666; margin-bottom: 25px; } .tags { span { color: #010101; font-size: 10px; padding: 3px 7px; border-radius: 4px; background-color: #f1f2fa; } } } } /* --------------- projects style-7 --------------- */ .projects.style-7{ background-color: #f0eff5; .content{ padding-left: calc(calc(100vw - 1170px) / 2); } .projects-tabs{ position: relative; padding-bottom: 80px; .nav-pills{ .nav-item{ .nav-link{ font-size: 16px; border-radius: 0; background: transparent; color: #000; margin: 5px 0; text-transform: capitalize; margin-left: -20px; transition: all 0.3s ease; i{ opacity: 0; transition: all 0.5s ease; } &:hover, &.active{ text-decoration: underline; margin-left: 0; i{ opacity: 1; } } } } } .swiper-button-next, .swiper-button-prev{ width: 50px; height: 50px; background: #fff; color: #000; border-radius: 50%; top: auto; bottom: 0; transition: all 0.3s ease; i{ line-height: 50px; } &:hover{ background: var(--color-blue7) !important; color: #fff; } &::after{ display: none; } } .swiper-button-next, .swiper-container-rtl .swiper-button-prev { right: auto; left: 70px; } } } @media screen and (min-width: 991px) { .projects-slider7{ position: relative; .swiper-slide{ width: 475px !important; } } } .project-card.style-7{ background-color: #fff; border-radius: 10px; overflow: hidden; display: block; .info{ padding: 55px; h6{ color: #a44cee; font-weight: 400; margin-bottom: 10px; } h3{ font-size: 24px; } } .img{ height: 400px; img{ width: 100%; height: 100%; object-fit: contain; object-position: bottom center; } } } /* --------------- projects style-8 --------------- */ .projects.style-8{ overflow: hidden; .section-head{ position: relative; .swiper-button-next, .swiper-button-prev{ border-radius: 50%; width: 50px; height: 50px; transition: all 0.3s ease; font-size: 18px; color: #000; &:hover{ background: var(--color-orange1); color: #fff; } &::after{ display: none; } } .swiper-button-prev, .swiper-container-rtl .swiper-button-next{ left: auto; right: 75px; } } .projects-slider8{ .swiper-container{ overflow: visible; .project-card{ opacity: 0; transition: all 0.5s ease; transform: scale(0.8); } .swiper-slide-active{ .project-card{ opacity: 1; transform: scale(1); } } } } .img{ border-radius: 10px; position: relative; height: 410px; .main-img{ border-radius: 10px; width: 100%; height: 100%; object-fit: cover; } .tags{ position: absolute; z-index: 10; top: 30px; right: 30px; a{ text-transform: uppercase; background-color: #fff; color: var(--color-main); padding: 5px 20px; border-radius: 30px; &:hover{ background-color: var(--color-main); color: #fff; } } } .img-chart { position: absolute; top: 120px; z-index: 2; width: 200px; left: -100px; } } .info{ padding-inline-start: 50px; .logo{ img{ width: 90px; margin-bottom: 40px; } } h4.title{ font-size: 30px; font-weight: bold; margin-bottom: 15px; } p{ font-size: 16px; color: #666; margin-bottom: 40px; } .proj-det{ display: flex; flex-wrap: wrap; align-items: center; padding: 20px 0; border-top: 1px solid #9992; width: 100%; .item{ margin-inline-end: 30px; p{ color: #999; margin-bottom: 5px; } } .icon{ width: 40px; height: 40px; border-radius: 50%; background-color: var(--color-main); line-height: 40px; text-align: center; color: #fff; margin-right: 0; margin-left: auto; } } } }