/* ==========================================================================
   PORTFOLIO STYLES (WITH EMBEDDED MP4 PLAYERS)
   ========================================================================== */

.portfolio-section {
    background: #ffffff !important;
    padding-top: 90px;
    padding-bottom: 80px;
}

/* Header Typography Overrides */
.portfolio-section .section-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ff7b2c !important;
    background: rgba(255, 123, 44, 0.08);
    border: 1px solid rgba(255, 123, 44, 0.2);
    padding: 6px 16px;
    border-radius: 999px;
}

.portfolio-section .section-title {
    font-size: 38px;
    font-weight: 800;
    color: #071a52 !important;
    letter-spacing: -0.5px;
    margin-top: 10px;
    margin-bottom: 12px;
}

.portfolio-section .section-subtitle {
    color: #475569 !important;
    font-size: 16.5px;
    line-height: 1.7;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

/* Portfolio Card Design */
.portfolio-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: #ff7b2c;
    box-shadow: 0 20px 40px rgba(255, 123, 44, 0.12);
}

.portfolio-thumb {
    position: relative;
    width: 100%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-showreel-video {
    width: 100%;
    height: 210px;
    display: block;
    object-fit: cover;
    background: #000000;
}

.category-pill {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    z-index: 2;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.style-whiteboard { background: #071a52; color: #ffffff; }
.style-2d { background: #ff7b2c; color: #ffffff; }
.style-app { background: #2563eb; color: #ffffff; }

.portfolio-content {
    padding: 24px;
}

.portfolio-content h4 {
    font-size: 19px;
    font-weight: 800;
    color: #071a52;
    margin-bottom: 8px;
}

.portfolio-content p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 18px;
}

.portfolio-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
    font-weight: 700;
    color: #475569;
    border-top: 1px dashed #e2e8f0;
    padding-top: 14px;
}

.text-orange {
    color: #ff7b2c !important;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .portfolio-section {
        padding-top: 70px;
        padding-bottom: 60px;
    }

    .portfolio-section .section-title {
        font-size: 32px;
    }

    .portfolio-section .section-subtitle {
        font-size: 15px;
    }
}

@media (max-width: 575px) {
    .portfolio-section .section-title {
        font-size: 26px;
    }

    .portfolio-showreel-video {
        height: 180px;
    }

    .portfolio-content {
        padding: 18px;
    }

    .portfolio-content h4 {
        font-size: 17px;
    }

    .portfolio-meta {
        font-size: 11.5px;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}