.portfolio-section {
padding: 80px 0;
background: #f8f9fa;
}
.loading-spinner {
display: inline-block;
animation: spin 1s linear infinite;
font-size: 1.2em;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.portfolio-pdf-link.loading {
opacity: 0.7;
pointer-events: none;
}
.portfolio-filter {
text-align: center;
margin-bottom: 40px;
}
.portfolio-filter button {
background: none;
border: none;
padding: 8px 20px;
margin: 0 5px;
font-size: 16px;
color: #666;
cursor: pointer;
transition: all 0.2s ease;
border-radius: 4px;
}
.portfolio-filter button.active,
.portfolio-filter button:hover {
background: #007bff;
color: #fff;
}
.portfolio-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 30px;
margin-top: 30px;
}
.portfolio-item {
margin-bottom: 15px;
}
.portfolio-thumb{
border-radius: 30px;
overflow: hidden;
position: relative;
z-index: 1;
}
.portfolio-thumb img{
transition: all .4s ease-in-out;
}
.portfolio-item:hover .overlay-box{
opacity: 1;
}
.portfolio-item:hover .portfolio-thumb img{
transform: scale(1.1) rotate(5deg);
}
.overlay-box {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
background: rgba(0, 0, 0, .4);
opacity: 0;
transition: all .3s ease-in-out;
}
.portfolio-title {
color: #000;
font-size: 24px;
margin-bottom: 10px;
font-weight: 600;
}
.portfolio-category {
color: #777;
font-size: 14px;
margin-bottom: 0px; 
padding: 5px 0px;
border-radius: 20px;
}
.portfolio-description {
color: #000;
font-size: 14px;
line-height: 1.6;
} #portfolio-tab-content {
position: relative;
min-height: 200px;
}
.portfolio-wrapper {
opacity: 1;
transition: opacity 0.3s ease;
}
.portfolio-wrapper.loading {
opacity: 0.5;
} .portfolio-tab-link {
position: relative;
transition: all 0.2s ease;
} .portfolio-modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.9);
z-index: 1000;
overflow-y: auto;
will-change: opacity;
} .portfolio-list {
padding-top: 20px;
background: #fff;
}
.portfolio-list .portfolio-wrapper {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
}
.portfolio-list .portfolio-wrapper .portfolio-box {
display: flex;
gap: 20px;
border-radius: 25px;
border: 1px solid #E6EEF2;
overflow: hidden;
}
.portfolio-list .portfolio-wrapper .portfolio-box .thumb {
flex: 0 0 50%;
position: relative;
height: 100%;
display: flex;
}
.portfolio-list .portfolio-wrapper .portfolio-box .thumb img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: left;
}
.portfolio-list .portfolio-wrapper .portfolio-content-box {
padding: 30px;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.portfolio-content{
padding: 15px;
margin-top: 15px;
border-radius: 20px;
background: #fff;
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}
.portfolio-content-box h4 {
font-size: 22px;
line-height: 29px;
}
.portfolio-wrapper .portfolio-content-box .short-content {
margin-bottom: 15px;
}
.portfolio-list .portfolio-wrapper .portfolio-content-box .common-btn {
color: var(--primary-color);
background-color: transparent;
padding: 5px 0;
height: auto;
line-height: normal;
border: 0;
} .portfolio-category-tabs {
display: flex;
align-items: center;
margin-bottom: 40px;
gap: 20px;
justify-content: center;
flex-wrap: wrap;
white-space: nowrap;
}
.portfolio-category-tabs .portfolio-tab-link {
background-color: #fff;
color: var(--dark-black);
border: none;
border-radius: 50px;
padding: 5px 30px;
border: 1px solid #C5C8CF;
cursor: pointer;
transition: background-color 0.1s ease;
}
.portfolio-category-tabs .portfolio-tab-link.active,
.portfolio-category-tabs .portfolio-tab-link:hover {
background-color: #EBF8FD;
border: 1px solid var(--primary-color);
} .portfolio-pagination {
display: flex;
justify-content: center;
margin-top: 30px;
}
.portfolio-pagination .page-numbers {
margin: 0 5px;
border-radius: 50%;
width: 40px;
height: 40px;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
border: 1px solid #C5C8CF;
background-color: var(--primary-color);
color: #fff;
}
.portfolio-pagination .pagination-link a {
display: block;
text-decoration: none;
transition: background-color 0.3s ease;
width: 40px;
height: 40px;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
border-radius: 50%;
background-color: #fff;
color: var(--dark-black);
border: 1px solid #C5C8CF;
font-weight: 600;
}
.portfolio-pagination .pagination-link a:hover {
background-color: var(--primary-color);
color: #fff;
}
.portfolio-thumb {
position: relative;
overflow: hidden;
}
.overlay-box {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: all 0.3s ease;
}
.portfolio-thumb:hover .overlay-box {
opacity: 1;
}
.portfolio-thumb .plus-icon {
display: flex;
align-items: center;
justify-content: center;
width: 50px;
height: 50px;
background: #fff;
border-radius: 50%;
transition: all 0.3s ease;
}
.portfolio-thumb .plus-icon svg {
width: 24px;
height: 24px;
color: #000;
}
.portfolio-thumb .plus-icon:hover {
transform: scale(1.1);
background: #000;
}
.portfolio-thumb .plus-icon:hover svg {
color: #fff;
}