
/* Premium Portfolio Design - Dark Theme */
.portfolio-inner.dark-theme {
    /*background-color: #0f172a;*/
    padding: 40px 0;
}

.portfolio-inner.dark-theme h2 {
    font-size: 28px;
    text-align: center;
    color: #474747;
    font-family: "Poppins-Medium", sans-serif;
    position: relative;
    margin: 0 0 3rem;
    line-height: 1.5;
}

.portfolio-inner.dark-theme h2:after {
    content: '';
    position: absolute;
    background: #ed1e3a;
    height: 8px;
    width: 75px;
    left: 0;
    bottom: -18px;
    right: 0;
    text-align: center;
    margin: 0 auto;
}

.portfolio-inner.dark-theme .nav-pills {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px !important;
    padding-bottom: 10px;
    justify-content: center;
}

.portfolio-inner.dark-theme .nav-pills .nav-link {
    background: transparent;
    color: ##0083b2;
    border: none;
    font-size: 18px;
    font-weight: 500;
    padding: 6px 16px;
    position: relative;
    transition: all 0.3s ease;
}

.portfolio-inner.dark-theme .nav-pills .nav-link.active {
    color: #0084b3;
}

.portfolio-inner.dark-theme .nav-pills .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #0084b3;
}

/* Premium Portfolio Card */
.pp-card {
    background: #227491;
    border-radius: 32px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pp-card:hover {
    transform: translateY(-12px);
}

.pp-card-header {
    height: 240px;
    position: relative;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pp-card-header img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    z-index: 2;
    transition: transform 0.5s ease;
}

.pp-card:hover .pp-card-header img {
    transform: scale(1.08);
}

.pp-card-logo {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.9);
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2L15.09 8.26L22 9.27L17 14.14L18.18 21.02L12 17.77L5.82 21.02L7 14.14L2 9.27L8.91 8.26L12 2Z' /%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2L15.09 8.26L22 9.27L17 14.14L18.18 21.02L12 17.77L5.82 21.02L7 14.14L2 9.27L8.91 8.26L12 2Z' /%3E%3C/svg%3E") no-repeat center;
    z-index: 3;
}

/* Background Gradients for Headers */
.bg-teal { background: #2dd4bf; }
.bg-purple { background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%); }
.bg-blue { background: #3b82f6; }
.bg-indigo { background: #4f46e5; }
.bg-orange { background: #f97316; }
.bg-sky { background: #0ea5e9; }

.pp-card-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pp-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.4;
}

.pp-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}

.pp-tag {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.pp-card-footer {
    margin-top: auto;
}

.pp-btn-circle {
    width: 44px;
    height: 44px;
    background: #fde047;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 18px;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease;
}

.pp-btn-circle:hover {
    transform: scale(1.1) rotate(45deg);
    background: #ffffff;
    color: #000000;
}


@media screen and (max-width: 767px) {
     .portfolio-inner.dark-theme {
        padding: 20px 0;
    }
}

/* Portfolio Detail Styles - White Theme */
.pd-section {
    background-color: #ffffff;
    padding: 80px 0 20px;
    color: #334155;
}

.pd-image-box {
    background: #f8fafc;
    border-radius: 40px;
    padding: 60px;
    text-align: center;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.pd-image-box img {
    max-width: 60%;
    height: auto;
    border-radius: 20px;
    transition: transform 0.5s ease;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.2);
}

.pd-image-box:hover img {
    transform: scale(1.02);
}

.pd-header {
    margin-bottom: 40px;
}

.pd-category {
    color: #0084b3;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 15px;
    display: block;
}

.pd-title {
    font-size: 42px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 25px;
    line-height: 1.2;
}

.pd-description {
    font-size: 18px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 40px;
}

.pd-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    background: #f8fafc;
    padding: 30px;
    border-radius: 24px;
    margin-bottom: 50px;
    border: 1px solid #e2e8f0;
}

.pd-meta-item span {
    display: block;
    font-size: 13px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.pd-meta-item strong {
    font-size: 16px;
    color: #0f172a;
    font-weight: 600;
}

.pd-sub-title {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 25px;
}

.pd-tech-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
}

.pd-tech-pill {
    background: #f1f5f9;
    color: #475569;
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.pd-tech-pill:hover {
    background: #0084b3;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 132, 179, 0.3);
    border-color: #0084b3;
}

.pd-action-area {
    display: flex;
    gap: 20px;
    margin-top: 60px;
    border-top: 1px solid #e2e8f0;
    padding-top: 40px;
}

.pd-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pd-btn-back i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.pd-btn-back:hover {
    color: #0084b3;
}

.pd-btn-back:hover i {
    transform: translateX(-5px);
}

.pd-section .btn:hover{
    background-color: #ffe956;
}

.pd-cta-box{
    background-color: #0084b3;
}

@media screen and (max-width: 991px) {
    .pd-title { font-size: 28px; margin-bottom:10px; }
    .pd-image-box { padding: 15px; }
}

@media screen and (max-width:767px){
    .pp-tags-container{
        margin-bottom: 10px;
    }
    .pd-section {
        padding: 30px 0 20px;
    }
    .pd-cta-box {
        padding: 1.5rem 1.5rem !important;
    }
    .pd-image-box img {
        max-width: 100%;
    }
    .pd-description{
        font-size: 14px;
    }
    .pd-header {
        margin-bottom: 12px;
    }
}