/* ============================================
    PORTFOLIO PAGE - NOVINKA CONSTRUCTIONS
    ============================================ */

/* ============================================
    PAGE HERO / BANNER
    ============================================ */

.portfolio-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    background: #081B3A;
    overflow: hidden;
    margin-top: 0;
}

.portfolio-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/106399/pexels-photo-106399.jpeg?auto=compress&cs=tinysrgb&w=1600') center/cover no-repeat;
    opacity: 0.65;
    filter: brightness(0.85) contrast(1.05) saturate(0.9);
}

.portfolio-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8, 27, 58, 0.75) 0%, rgba(8, 27, 58, 0.5) 50%, rgba(0, 115, 230, 0.2) 100%);
    z-index: 1;
}

.portfolio-hero-content {
    position: relative;
    z-index: 2;
    padding: 140px 0 80px;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.portfolio-hero-tag {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: #0073E6;
    background: rgba(0, 115, 230, 0.12);
    padding: 8px 24px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-weight: 600;
    border: 1px solid rgba(0, 115, 230, 0.1);
}

.portfolio-hero-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.1;
    margin: 0 0 16px;
}

.portfolio-hero-title .highlight {
    color: #0073E6;
}

.portfolio-hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(16px, 1.2vw, 20px);
    color: rgba(255, 255, 255, 0.7);
    max-width: 650px;
    line-height: 1.8;
    font-weight: 300;
    margin: 0;
}

/* ============================================
    FILTER BUTTONS
    ============================================ */

.portfolio-filter-section {
    padding: 30px 0;
    background: #FFFFFF;
    border-bottom: 1px solid rgba(0, 115, 230, 0.06);
}

.portfolio-filter-wrapper {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.portfolio-filter-btn {
    padding: 10px 28px;
    border: 1px solid rgba(0, 115, 230, 0.1);
    background: #FFFFFF;
    color: #1A3A5C;
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.portfolio-filter-btn:hover {
    border-color: #0073E6;
    color: #0073E6;
    transform: translateY(-2px);
}

.portfolio-filter-btn.active {
    background: #0073E6;
    color: #FFFFFF;
    border-color: #0073E6;
    box-shadow: 0 8px 30px rgba(0, 115, 230, 0.2);
}

/* ============================================
    PORTFOLIO GRID
    ============================================ */

.portfolio-grid-section {
    padding: 60px 0 80px;
    background: #FFFFFF;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    background: #1A3A5C;
    box-shadow: 0 4px 20px rgba(0, 115, 230, 0.06);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 115, 230, 0.12);
}

.portfolio-item-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.portfolio-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.portfolio-item:hover .portfolio-item-image img {
    transform: scale(1.08);
}

.portfolio-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 115, 230, 0.95) 0%,
            rgba(0, 115, 230, 0.4) 50%,
            rgba(0, 115, 230, 0.1) 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateY(20px);
}

.portfolio-item:hover .portfolio-item-overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item-content {
    color: #FFFFFF;
    width: 100%;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.portfolio-item:hover .portfolio-item-content {
    transform: translateY(0);
}

.portfolio-item-category {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 10px;
}

.portfolio-item-content h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 6px;
}

.portfolio-item-content p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0 0 12px;
    line-height: 1.5;
}

.portfolio-item-meta {
    display: flex;
    gap: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 14px;
}

.portfolio-item-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.portfolio-item-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    color: #FFFFFF;
    transition: all 0.3s ease;
    text-decoration: none;
}

.portfolio-item-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.portfolio-item-link:hover::after {
    transform: translateX(6px);
}

.portfolio-item-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #0073E6;
    color: #FFFFFF;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 14px;
    border-radius: 4px;
    letter-spacing: 1px;
    z-index: 5;
    box-shadow: 0 4px 15px rgba(0, 115, 230, 0.3);
}

/* ============================================
    PORTFOLIO STATS
    ============================================ */

.portfolio-stats {
    padding: 60px 0;
    background: #f5f7fa;
}

.portfolio-stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.portfolio-stat-item {
    text-align: center;
    padding: 0 50px;
}

.portfolio-stat-number {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 700;
    color: #0073E6;
    display: block;
    letter-spacing: 1px;
}

.portfolio-stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #1A3A5C;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.portfolio-stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(0, 115, 230, 0.06);
}

/* ============================================
    RESPONSIVE
    ============================================ */

@media (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .portfolio-stat-item {
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .portfolio-hero {
        min-height: 45vh;
    }

    .portfolio-hero-content {
        padding: 120px 0 60px;
    }

    .portfolio-hero-title {
        font-size: 38px;
    }

    .portfolio-stats-grid {
        flex-wrap: wrap;
        gap: 20px;
    }

    .portfolio-stat-divider {
        display: none;
    }

    .portfolio-stat-item {
        padding: 0 20px;
        flex: 1;
        min-width: 100px;
    }
}

@media (max-width: 768px) {
    .portfolio-hero {
        min-height: 40vh;
    }

    .portfolio-hero-content {
        padding: 100px 0 40px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .portfolio-hero-title {
        font-size: 30px;
        letter-spacing: 1px;
    }

    .portfolio-hero-tag {
        font-size: 0.65rem;
        padding: 6px 18px;
        letter-spacing: 4px;
    }

    .portfolio-hero-subtitle {
        font-size: 14px;
    }

    .portfolio-filter-wrapper {
        gap: 8px;
    }

    .portfolio-filter-btn {
        padding: 8px 18px;
        font-size: 0.7rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .portfolio-grid-section {
        padding: 40px 0 60px;
    }

    .portfolio-item-content h3 {
        font-size: 1.1rem;
    }

    .portfolio-item-content p {
        font-size: 0.8rem;
    }

    .portfolio-item-meta {
        font-size: 0.7rem;
        gap: 10px;
    }

    .portfolio-item-overlay {
        padding: 20px;
    }

    .portfolio-item-badge {
        top: 12px;
        right: 12px;
        font-size: 0.65rem;
        padding: 3px 10px;
    }

    .portfolio-stats {
        padding: 40px 0;
    }

    .portfolio-stat-number {
        font-size: 28px;
    }

    .portfolio-stat-label {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .portfolio-hero {
        min-height: 35vh;
    }

    .portfolio-hero-content {
        padding: 80px 0 30px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .portfolio-hero-title {
        font-size: 24px;
    }

    .portfolio-hero-tag {
        font-size: 0.55rem;
        padding: 5px 14px;
        letter-spacing: 3px;
    }

    .portfolio-hero-subtitle {
        font-size: 13px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
        gap: 20px;
    }

    .portfolio-filter-wrapper {
        gap: 6px;
    }

    .portfolio-filter-btn {
        padding: 6px 14px;
        font-size: 0.6rem;
        letter-spacing: 0.5px;
    }

    .portfolio-item-content h3 {
        font-size: 1rem;
    }

    .portfolio-item-overlay {
        padding: 16px;
        opacity: 1;
        transform: translateY(0);
        background: linear-gradient(to top,
                rgba(0, 115, 230, 0.9) 0%,
                rgba(0, 115, 230, 0.4) 60%,
                transparent 100%);
    }

    .portfolio-item-content {
        transform: translateY(0);
    }

    .portfolio-stats-grid {
        flex-direction: column;
        gap: 12px;
    }

    .portfolio-stat-item {
        padding: 0;
        width: 100%;
    }

    .portfolio-stat-number {
        font-size: 24px;
    }

    .portfolio-stat-label {
        font-size: 0.6rem;
    }
}

/* ============================================
    PORTFOLIO INTRODUCTION
    ============================================ */

.portfolio-intro {
    padding: 80px 0;
    background: #FFFFFF;
}

.portfolio-intro-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.portfolio-intro-tag {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: #0073E6;
    background: rgba(0, 115, 230, 0.06);
    padding: 8px 24px;
    border-radius: 50px;
    margin-bottom: 16px;
    font-weight: 600;
}

.portfolio-intro-content .section-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin: 0 0 16px;
    color: #1A3A5C;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.portfolio-intro-content .section-title .highlight {
    color: #0073E6;
}

.portfolio-intro-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #1A3A5C;
    opacity: 0.7;
    margin: 0 0 16px;
}

.portfolio-intro-text strong {
    color: #1A3A5C;
    opacity: 1;
}

.portfolio-intro-metrics {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 115, 230, 0.06);
}

.portfolio-intro-metric {
    text-align: center;
    padding: 0 25px;
}

.portfolio-intro-metric-number {
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #0073E6;
    display: block;
}

.portfolio-intro-metric-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    color: #1A3A5C;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-intro-metric-divider {
    width: 1px;
    height: 35px;
    background: rgba(0, 115, 230, 0.06);
}

.portfolio-intro-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 115, 230, 0.08);
}

/* ============================================
    FEATURED PROJECT
    ============================================ */

.portfolio-featured {
    padding: 80px 0;
    background: #f5f7fa;
}

.portfolio-featured-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 115, 230, 0.06);
}

.portfolio-featured-image {
    position: relative;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
}

.portfolio-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #0073E6;
    color: #FFFFFF;
    font-family: 'Oswald', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 18px;
    border-radius: 50px;
}

.portfolio-featured-content {
    padding: 40px 45px 40px 0;
}

.portfolio-featured-category {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #0073E6;
    background: rgba(0, 115, 230, 0.06);
    padding: 4px 16px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.portfolio-featured-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(32px, 3.5vw, 44px);
    font-weight: 700;
    color: #1A3A5C;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 6px;
}

.portfolio-featured-location {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #1A3A5C;
    opacity: 0.6;
    margin: 0 0 16px;
}

.portfolio-featured-stats {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 20px;
    padding: 16px 20px;
    background: #f5f7fa;
    border-radius: 10px;
}

.portfolio-featured-stat {
    text-align: center;
    padding: 0 25px;
}

.portfolio-featured-stat-value {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1A3A5C;
    display: block;
}

.portfolio-featured-stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    color: #1A3A5C;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-featured-stat-divider {
    width: 1px;
    height: 30px;
    background: rgba(0, 115, 230, 0.06);
}

.portfolio-featured-details h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1A3A5C;
    margin: 0 0 8px;
}

.portfolio-featured-details p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #1A3A5C;
    opacity: 0.7;
    margin: 0 0 14px;
}

.portfolio-featured-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 20px;
}

.portfolio-featured-highlights span {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #1A3A5C;
    opacity: 0.6;
}

.portfolio-featured-btn {
    padding: 14px 36px;
    font-size: 0.9rem;
}

/* ============================================
    ENHANCED PORTFOLIO CARDS
    ============================================ */

.portfolio-item-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.portfolio-item-details span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.portfolio-item-content p {
    font-size: 0.85rem;
    margin-bottom: 12px;
}

/* ============================================
    CONSTRUCTION TECHNOLOGIES
    ============================================ */

.portfolio-technologies {
    padding: 80px 0;
    background: #f5f7fa;
}

.portfolio-technologies-header {
    text-align: center;
    margin-bottom: 50px;
}

.portfolio-technologies-tag {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: #0073E6;
    background: rgba(0, 115, 230, 0.06);
    padding: 8px 24px;
    border-radius: 50px;
    margin-bottom: 16px;
    font-weight: 600;
}

.portfolio-technologies-header .section-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin: 0 0 8px;
    color: #1A3A5C;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.portfolio-technologies-header .section-title .highlight {
    color: #0073E6;
}

.portfolio-technologies-header .section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(16px, 1.2vw, 20px);
    color: #1A3A5C;
    opacity: 0.6;
    max-width: 650px;
    margin: 8px auto 0;
    line-height: 1.7;
    font-weight: 300;
}

.portfolio-technologies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.portfolio-technology-card {
    background: #FFFFFF;
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(0, 115, 230, 0.06);
    transition: all 0.3s ease;
}

.portfolio-technology-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 115, 230, 0.08);
    border-color: rgba(0, 115, 230, 0.12);
}

.portfolio-technology-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
}

.portfolio-technology-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1A3A5C;
    margin-bottom: 6px;
}

.portfolio-technology-card p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #1A3A5C;
    opacity: 0.6;
    margin: 0;
}

/* ============================================
    MATERIALS USED
    ============================================ */

.portfolio-materials {
    padding: 80px 0;
    background: #FFFFFF;
}

.portfolio-materials-header {
    text-align: center;
    margin-bottom: 50px;
}

.portfolio-materials-tag {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: #0073E6;
    background: rgba(0, 115, 230, 0.06);
    padding: 8px 24px;
    border-radius: 50px;
    margin-bottom: 16px;
    font-weight: 600;
}

.portfolio-materials-header .section-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin: 0 0 8px;
    color: #1A3A5C;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.portfolio-materials-header .section-title .highlight {
    color: #0073E6;
}

.portfolio-materials-header .section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(16px, 1.2vw, 20px);
    color: #1A3A5C;
    opacity: 0.6;
    max-width: 650px;
    margin: 8px auto 0;
    line-height: 1.7;
    font-weight: 300;
}

.portfolio-materials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.portfolio-material-card {
    background: #f5f7fa;
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(0, 115, 230, 0.04);
    transition: all 0.3s ease;
}

.portfolio-material-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 115, 230, 0.06);
    border-color: rgba(0, 115, 230, 0.1);
}

.portfolio-material-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
}

.portfolio-material-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1A3A5C;
    margin-bottom: 6px;
}

.portfolio-material-card p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #1A3A5C;
    opacity: 0.6;
    margin: 0;
}

/* ============================================
    PORTFOLIO FAQ
    ============================================ */

.portfolio-faq {
    padding: 80px 0;
    background: #f5f7fa;
}

.portfolio-faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.portfolio-faq-tag {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: #0073E6;
    background: rgba(0, 115, 230, 0.06);
    padding: 8px 24px;
    border-radius: 50px;
    margin-bottom: 16px;
    font-weight: 600;
}

.portfolio-faq-header .section-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin: 0 0 8px;
    color: #1A3A5C;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.portfolio-faq-header .section-title .highlight {
    color: #0073E6;
}

.portfolio-faq-header .section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(16px, 1.2vw, 20px);
    color: #1A3A5C;
    opacity: 0.6;
    max-width: 650px;
    margin: 8px auto 0;
    line-height: 1.7;
    font-weight: 300;
}

.portfolio-faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.portfolio-faq-item {
    background: #FFFFFF;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid rgba(0, 115, 230, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
}

.portfolio-faq-item:hover {
    border-color: rgba(0, 115, 230, 0.12);
}

.portfolio-faq-question {
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-faq-question h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1A3A5C;
    margin: 0;
}

.portfolio-faq-toggle {
    font-size: 1.3rem;
    color: #0073E6;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.portfolio-faq-item.active .portfolio-faq-toggle {
    transform: rotate(45deg);
}

.portfolio-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 24px;
}

.portfolio-faq-item.active .portfolio-faq-answer {
    max-height: 200px;
    padding: 0 24px 18px;
}

.portfolio-faq-answer p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #1A3A5C;
    opacity: 0.7;
    margin: 0;
}

/* ============================================
    DOWNLOAD PORTFOLIO
    ============================================ */

.portfolio-download {
    padding: 80px 0;
    background: #FFFFFF;
}

.portfolio-download-wrapper {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 50px;
    align-items: center;
    background: #f5f7fa;
    border-radius: 20px;
    padding: 50px 60px;
    border: 1px solid rgba(0, 115, 230, 0.04);
}

.portfolio-download-tag {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: #0073E6;
    background: rgba(0, 115, 230, 0.06);
    padding: 8px 24px;
    border-radius: 50px;
    margin-bottom: 16px;
    font-weight: 600;
}

.portfolio-download-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(32px, 3.5vw, 42px);
    font-weight: 700;
    color: #1A3A5C;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 8px;
}

.portfolio-download-title .highlight {
    color: #0073E6;
}

.portfolio-download-text {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #1A3A5C;
    opacity: 0.6;
    margin: 0 0 20px;
    max-width: 500px;
}

.portfolio-download-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-bottom: 24px;
}

.portfolio-download-features span {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #1A3A5C;
    opacity: 0.7;
}

.portfolio-download-btn {
    padding: 14px 36px;
    font-size: 0.9rem;
}

.portfolio-download-image {
    text-align: center;
    padding: 30px 40px;
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid rgba(0, 115, 230, 0.06);
}

.portfolio-download-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 8px;
}

.portfolio-download-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #1A3A5C;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
    RESPONSIVE ADDITIONS
    ============================================ */

@media (max-width: 1200px) {
    .portfolio-featured-wrapper {
        grid-template-columns: 1fr;
    }

    .portfolio-featured-image {
        min-height: 300px;
    }

    .portfolio-featured-content {
        padding: 30px 35px 35px;
    }

    .portfolio-technologies-grid,
    .portfolio-materials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .portfolio-intro-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .portfolio-intro-image img {
        height: 300px;
    }

    .portfolio-intro-metrics {
        flex-wrap: wrap;
        gap: 16px;
    }

    .portfolio-intro-metric-divider {
        display: none;
    }

    .portfolio-intro-metric {
        padding: 0 15px;
        flex: 1;
        min-width: 80px;
    }

    .portfolio-download-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 35px 30px;
    }

    .portfolio-download-text {
        max-width: 100%;
    }

    .portfolio-download-features {
        justify-content: center;
    }

    .portfolio-download-image {
        max-width: 200px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .portfolio-featured-content {
        padding: 25px 20px 30px;
    }

    .portfolio-featured-stats {
        flex-wrap: wrap;
        gap: 12px;
        padding: 14px 16px;
    }

    .portfolio-featured-stat-divider {
        display: none;
    }

    .portfolio-featured-stat {
        padding: 0 12px;
        flex: 1;
        min-width: 60px;
    }

    .portfolio-featured-stat-value {
        font-size: 1.2rem;
    }

    .portfolio-featured-highlights {
        flex-direction: column;
        gap: 4px;
    }

    .portfolio-technologies-grid,
    .portfolio-materials-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .portfolio-download-wrapper {
        padding: 25px 20px;
        border-radius: 12px;
    }

    .portfolio-download-title {
        font-size: 28px;
    }

    .portfolio-item-details {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}

@media (max-width: 480px) {
    .portfolio-intro-metric {
        flex: 0 0 100%;
    }

    .portfolio-featured-stats {
        flex-direction: column;
        gap: 8px;
    }

    .portfolio-featured-stat {
        padding: 0;
    }

    .portfolio-technologies-grid,
    .portfolio-materials-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }

    .portfolio-download-wrapper {
        padding: 20px 16px;
    }

    .portfolio-download-features {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .portfolio-download-image {
        padding: 20px;
        max-width: 150px;
    }

    .portfolio-download-icon {
        font-size: 3rem;
    }

    .portfolio-featured-btn {
        width: 100%;
        text-align: center;
    }
}

/* ============================================
    PORTFOLIO FAQ - FIXED
    ============================================ */

.portfolio-faq-item {
    background: #FFFFFF;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid rgba(0, 115, 230, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.portfolio-faq-item:hover {
    border-color: rgba(0, 115, 230, 0.12);
}

.portfolio-faq-item.active {
    border-color: #0073E6;
    box-shadow: 0 4px 20px rgba(0, 115, 230, 0.04);
}

.portfolio-faq-question {
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.portfolio-faq-question:hover {
    background: rgba(0, 115, 230, 0.02);
}

.portfolio-faq-question h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1A3A5C;
    margin: 0;
    flex: 1;
}

.portfolio-faq-toggle {
    font-size: 1.5rem;
    color: #0073E6;
    font-weight: 300;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
    line-height: 1;
}

.portfolio-faq-item.active .portfolio-faq-toggle {
    transform: rotate(45deg);
}

.portfolio-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 24px;
}

.portfolio-faq-item.active .portfolio-faq-answer {
    max-height: 300px;
    padding: 0 24px 18px;
}

.portfolio-faq-answer p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #1A3A5C;
    opacity: 0.7;
    margin: 0;
}

/* ============================================
    PREMIUM CTA BANNER - LUXURY ARCHITECTURAL DESIGN
    ============================================ */

.cta-banner {
    position: relative;
    padding: 110px 0;
    background: #07152B;
    background: linear-gradient(145deg, #061124 0%, #0A1E3F 50%, #07152B 100%);
    overflow: hidden;
    color: #FFFFFF;
    text-align: center;
}

/* Background Elements */
.cta-bg-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

/* Ambient Radial Lighting */
.cta-glow-1 {
    position: absolute;
    top: -30%;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 115, 230, 0.22) 0%, rgba(0, 115, 230, 0) 70%);
    filter: blur(40px);
    border-radius: 50%;
    animation: ctaGlowPulse 12s ease-in-out infinite alternate;
}

.cta-glow-2 {
    position: absolute;
    bottom: -30%;
    right: 15%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(230, 175, 46, 0.12) 0%, rgba(230, 175, 46, 0) 70%);
    filter: blur(50px);
    border-radius: 50%;
    animation: ctaGlowPulse 15s ease-in-out infinite alternate-reverse;
}

/* Blueprint / Grid Overlay */
.cta-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
}

/* Architectural Framing Accent Lines */
.cta-arch-line {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 115, 230, 0.4), transparent);
}

.cta-line-left {
    left: 4%;
}

.cta-line-right {
    right: 4%;
}

/* Content Layout */
.cta-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-tag {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: #0073E6;
    background: rgba(0, 115, 230, 0.12);
    border: 1px solid rgba(0, 115, 230, 0.25);
    padding: 7px 22px;
    border-radius: 50px;
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(0, 115, 230, 0.15);
}

.cta-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(34px, 4.5vw, 56px);
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1.15;
    margin: 0 0 18px;
}

.cta-title .highlight {
    color: #0073E6;
    background: linear-gradient(135deg, #0073E6 0%, #3395FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.cta-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(16px, 1.25vw, 20px);
    color: rgba(255, 255, 255, 0.8);
    max-width: 640px;
    line-height: 1.7;
    font-weight: 300;
    margin: 0 0 40px;
}

/* Buttons Styling */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.cta-buttons .magnetic-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 56px;
    padding: 0 38px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    box-sizing: border-box;
}

/* Primary Button */
.cta-buttons .cta-btn-primary {
    background: #0073E6;
    color: #FFFFFF;
    border: 2px solid #0073E6;
    box-shadow: 0 10px 30px rgba(0, 115, 230, 0.35);
}

.cta-buttons .cta-btn-primary:hover {
    background: #0060C2;
    border-color: #0060C2;
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 115, 230, 0.5);
    color: #FFFFFF;
}

/* Secondary Button */
.cta-buttons .cta-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cta-buttons .cta-btn-secondary:hover {
    background: #FFFFFF;
    color: #07152B;
    border-color: #FFFFFF;
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(255, 255, 255, 0.2);
}

/* Button SVG Icon */
.cta-btn-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.cta-buttons .magnetic-btn:hover .cta-btn-icon {
    transform: scale(1.15) rotate(-5deg);
}

/* Focus States for Accessibility */
.cta-buttons .magnetic-btn:focus-visible {
    outline: 3px solid #0073E6;
    outline-offset: 4px;
}

/* Ambient Pulse Animation */
@keyframes ctaGlowPulse {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.15) translate(20px, -20px);
        opacity: 1;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .cta-banner {
        padding: 90px 0;
    }

    .cta-arch-line {
        display: none;
    }
}

@media (max-width: 768px) {
    .cta-banner {
        padding: 70px 0;
    }

    .cta-tag {
        font-size: 0.65rem;
        letter-spacing: 3px;
        padding: 6px 18px;
        margin-bottom: 18px;
    }

    .cta-subtitle {
        margin-bottom: 32px;
    }

    .cta-buttons {
        gap: 14px;
        flex-direction: column;
        width: 100%;
        max-width: 320px;
    }

    .cta-buttons .magnetic-btn {
        width: 100%;
        height: 52px;
        padding: 0 24px;
    }
}

@media (max-width: 480px) {
    .cta-banner {
        padding: 60px 0;
    }

    .cta-subtitle {
        font-size: 15px;
    }
}

/* Accessibility Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    .cta-glow-1,
    .cta-glow-2 {
        animation: none;
    }

    .cta-buttons .magnetic-btn,
    .cta-btn-icon {
        transition: none;
    }

    .cta-buttons .magnetic-btn:hover {
        transform: none;
    }
}

/* ============================================
   DARK THEME OVERRIDES - PORTFOLIO PAGE
   ============================================ */

/* ----- PAGE HERO ----- */
[data-theme="dark"] .portfolio-hero {
    background: #0a1526;
}

[data-theme="dark"] .portfolio-hero::before {
    opacity: 0.65;
    filter: brightness(0.8) contrast(1.05) saturate(0.85);
}

[data-theme="dark"] .portfolio-hero-overlay {
    background: linear-gradient(135deg,
            rgba(3, 6, 12, 0.75) 0%,
            rgba(3, 6, 12, 0.5) 50%,
            rgba(3, 6, 12, 0.2) 100%);
}

[data-theme="dark"] .portfolio-hero-tag {
    color: var(--color-bright-blue, #4da3ff);
    background: rgba(77, 163, 255, 0.12);
    border-color: rgba(77, 163, 255, 0.25);
}

[data-theme="dark"] .portfolio-hero-title {
    color: #ffffff;
}

[data-theme="dark"] .portfolio-hero-title .highlight {
    color: var(--color-bright-blue, #4da3ff);
}

[data-theme="dark"] .portfolio-hero-subtitle {
    color: rgba(255, 255, 255, 0.75);
}

/* ----- INTRO SECTION ----- */
[data-theme="dark"] .portfolio-intro {
    background: var(--theme-bg-body, #060b14);
}

[data-theme="dark"] .portfolio-intro-tag {
    color: var(--color-bright-blue, #4da3ff);
    background: rgba(77, 163, 255, 0.12);
}

[data-theme="dark"] .portfolio-intro-content .section-title {
    color: #ffffff;
}

[data-theme="dark"] .portfolio-intro-content .section-title .highlight {
    color: var(--color-bright-blue, #4da3ff);
}

[data-theme="dark"] .portfolio-intro-text {
    color: #b8c6da;
    opacity: 1;
}

[data-theme="dark"] .portfolio-intro-text strong {
    color: #ffffff;
    opacity: 1;
}

[data-theme="dark"] .portfolio-intro-metrics {
    border-top-color: rgba(77, 163, 255, 0.18);
}

[data-theme="dark"] .portfolio-intro-metric-number {
    color: var(--color-bright-blue, #4da3ff);
}

[data-theme="dark"] .portfolio-intro-metric-label {
    color: #7a8ca6;
    opacity: 1;
}

[data-theme="dark"] .portfolio-intro-metric-divider {
    background: rgba(77, 163, 255, 0.18);
}

[data-theme="dark"] .portfolio-intro-image img {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ----- FEATURED PROJECT ----- */
[data-theme="dark"] .portfolio-featured {
    background: var(--theme-bg-surface, #0f1a2b);
}

[data-theme="dark"] .portfolio-featured-wrapper {
    background: var(--theme-card-bg, #101c30);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .portfolio-featured-content {
    color: #ffffff;
}

[data-theme="dark"] .portfolio-featured-category {
    color: var(--color-bright-blue, #4da3ff);
    background: rgba(77, 163, 255, 0.12);
}

[data-theme="dark"] .portfolio-featured-title {
    color: #ffffff;
}

[data-theme="dark"] .portfolio-featured-location {
    color: #b8c6da;
    opacity: 1;
}

[data-theme="dark"] .portfolio-featured-stats {
    background: rgba(77, 163, 255, 0.06);
}

[data-theme="dark"] .portfolio-featured-stat-value {
    color: #ffffff;
}

[data-theme="dark"] .portfolio-featured-stat-label {
    color: #7a8ca6;
    opacity: 1;
}

[data-theme="dark"] .portfolio-featured-stat-divider {
    background: rgba(77, 163, 255, 0.18);
}

[data-theme="dark"] .portfolio-featured-details h4 {
    color: #ffffff;
}

[data-theme="dark"] .portfolio-featured-details p {
    color: #b8c6da;
    opacity: 1;
}

[data-theme="dark"] .portfolio-featured-highlights span {
    color: #b8c6da;
    opacity: 1;
}

/* ----- FILTER BUTTONS ----- */
[data-theme="dark"] .portfolio-filter-section {
    background: var(--theme-bg-body, #060b14);
    border-bottom-color: rgba(77, 163, 255, 0.12);
}

[data-theme="dark"] .portfolio-filter-btn {
    background: var(--theme-card-bg, #101c30);
    color: #b8c6da;
    border-color: rgba(77, 163, 255, 0.2);
}

[data-theme="dark"] .portfolio-filter-btn:hover {
    border-color: var(--color-bright-blue, #4da3ff);
    color: var(--color-bright-blue, #4da3ff);
}

[data-theme="dark"] .portfolio-filter-btn.active {
    background: var(--color-bright-blue, #4da3ff);
    color: #ffffff;
    border-color: var(--color-bright-blue, #4da3ff);
    box-shadow: 0 8px 30px rgba(77, 163, 255, 0.35);
}

/* ----- PORTFOLIO GRID ----- */
[data-theme="dark"] .portfolio-grid-section {
    background: var(--theme-bg-body, #060b14);
}

[data-theme="dark"] .portfolio-item {
    background: var(--theme-card-bg, #101c30);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .portfolio-item:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(77, 163, 255, 0.08);
}

[data-theme="dark"] .portfolio-item-badge {
    background: var(--color-bright-blue, #4da3ff);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(77, 163, 255, 0.4);
}

/* ----- STATS STRIP ----- */
[data-theme="dark"] .portfolio-stats {
    background: var(--theme-bg-surface, #0f1a2b);
}

[data-theme="dark"] .portfolio-stat-number {
    color: var(--color-bright-blue, #4da3ff);
}

[data-theme="dark"] .portfolio-stat-label {
    color: #7a8ca6;
    opacity: 1;
}

[data-theme="dark"] .portfolio-stat-divider {
    background: rgba(77, 163, 255, 0.18);
}

/* ----- TECHNOLOGIES ----- */
[data-theme="dark"] .portfolio-technologies {
    background: var(--theme-bg-surface, #0f1a2b) !important;
}

[data-theme="dark"] .portfolio-technologies-tag {
    color: var(--color-bright-blue, #4da3ff);
    background: rgba(77, 163, 255, 0.12);
}

[data-theme="dark"] .portfolio-technologies-header .section-title {
    color: #ffffff;
}

[data-theme="dark"] .portfolio-technologies-header .section-title .highlight {
    color: var(--color-bright-blue, #4da3ff);
}

[data-theme="dark"] .portfolio-technologies-header .section-subtitle {
    color: #b8c6da;
    opacity: 1;
}

[data-theme="dark"] .portfolio-technology-card {
    background: var(--theme-card-bg, #101c30);
    border-color: rgba(77, 163, 255, 0.18);
}

[data-theme="dark"] .portfolio-technology-card:hover {
    border-color: rgba(77, 163, 255, 0.35);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(77, 163, 255, 0.08);
}

[data-theme="dark"] .portfolio-technology-card h3 {
    color: #ffffff;
}

[data-theme="dark"] .portfolio-technology-card p {
    color: #b8c6da;
    opacity: 1;
}

/* ----- MATERIALS ----- */
[data-theme="dark"] .portfolio-materials {
    background: var(--theme-bg-body, #060b14);
}

[data-theme="dark"] .portfolio-materials-tag {
    color: var(--color-bright-blue, #4da3ff);
    background: rgba(77, 163, 255, 0.12);
}

[data-theme="dark"] .portfolio-materials-header .section-title {
    color: #ffffff;
}

[data-theme="dark"] .portfolio-materials-header .section-title .highlight {
    color: var(--color-bright-blue, #4da3ff);
}

[data-theme="dark"] .portfolio-materials-header .section-subtitle {
    color: #b8c6da;
    opacity: 1;
}

[data-theme="dark"] .portfolio-material-card {
    background: var(--theme-card-bg, #101c30);
    border-color: rgba(77, 163, 255, 0.18);
}

[data-theme="dark"] .portfolio-material-card:hover {
    border-color: rgba(77, 163, 255, 0.35);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(77, 163, 255, 0.08);
}

[data-theme="dark"] .portfolio-material-card h3 {
    color: #ffffff;
}

[data-theme="dark"] .portfolio-material-card p {
    color: #b8c6da;
    opacity: 1;
}

/* ----- FAQ ----- */
[data-theme="dark"] .portfolio-faq {
    background: var(--theme-bg-surface, #0f1a2b) !important;
}

[data-theme="dark"] .portfolio-faq-tag {
    color: var(--color-bright-blue, #4da3ff);
    background: rgba(77, 163, 255, 0.12);
}

[data-theme="dark"] .portfolio-faq-header .section-title {
    color: #ffffff;
}

[data-theme="dark"] .portfolio-faq-header .section-title .highlight {
    color: var(--color-bright-blue, #4da3ff);
}

[data-theme="dark"] .portfolio-faq-header .section-subtitle {
    color: #b8c6da;
    opacity: 1;
}

[data-theme="dark"] .portfolio-faq-item {
    background: var(--theme-card-bg, #101c30);
    border-color: rgba(77, 163, 255, 0.12);
}

[data-theme="dark"] .portfolio-faq-item:hover {
    border-color: rgba(77, 163, 255, 0.3);
}

[data-theme="dark"] .portfolio-faq-item.active {
    border-color: var(--color-bright-blue, #4da3ff);
    box-shadow: 0 4px 20px rgba(77, 163, 255, 0.08);
}

[data-theme="dark"] .portfolio-faq-question:hover {
    background: rgba(77, 163, 255, 0.04);
}

[data-theme="dark"] .portfolio-faq-question h3 {
    color: #ffffff;
}

[data-theme="dark"] .portfolio-faq-toggle {
    color: var(--color-bright-blue, #4da3ff);
}

[data-theme="dark"] .portfolio-faq-answer p {
    color: #b8c6da;
    opacity: 1;
}

/* ----- DOWNLOAD PDF ----- */
[data-theme="dark"] .portfolio-download {
    background: var(--theme-bg-body, #060b14);
}

[data-theme="dark"] .portfolio-download-wrapper {
    background: var(--theme-card-bg, #101c30);
    border-color: rgba(77, 163, 255, 0.12);
}

[data-theme="dark"] .portfolio-download-tag {
    color: var(--color-bright-blue, #4da3ff);
    background: rgba(77, 163, 255, 0.12);
}

[data-theme="dark"] .portfolio-download-title {
    color: #ffffff;
}

[data-theme="dark"] .portfolio-download-title .highlight {
    color: var(--color-bright-blue, #4da3ff);
}

[data-theme="dark"] .portfolio-download-text {
    color: #b8c6da;
    opacity: 1;
}

[data-theme="dark"] .portfolio-download-features span {
    color: #b8c6da;
    opacity: 1;
}

[data-theme="dark"] .portfolio-download-image {
    background: var(--theme-bg-elevated, #142033);
    border-color: rgba(77, 163, 255, 0.15);
}

[data-theme="dark"] .portfolio-download-label {
    color: #7a8ca6;
    opacity: 1;
}

/* ----- CTA BANNER (already dark, subtle polish) ----- */
[data-theme="dark"] .cta-banner {
    background: linear-gradient(145deg, #040810 0%, #0a1e3f 50%, #040810 100%);
}

[data-theme="dark"] .cta-buttons .cta-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ----- Dynamic Content Error States (grid + featured) ----- */
[data-theme="dark"] .portfolio-grid-error,
[data-theme="dark"] .portfolio-error-card {
    background: var(--theme-card-bg, #101c30) !important;
    border-color: rgba(255, 82, 82, 0.3) !important;
    color: #b8c6da;
}

[data-theme="dark"] .portfolio-grid-error h3,
[data-theme="dark"] .portfolio-error-card h3 {
    color: #ffffff;
}

[data-theme="dark"] .portfolio-grid-error p,
[data-theme="dark"] .portfolio-error-card p {
    color: #b8c6da;
}

[data-theme="dark"] .portfolio-grid-error button,
[data-theme="dark"] .portfolio-error-card button {
    background: var(--color-bright-blue, #4da3ff);
    color: #ffffff;
    border: none;
}

[data-theme="dark"] .portfolio-grid-error button:hover,
[data-theme="dark"] .portfolio-error-card button:hover {
    background: #5fb0ff;
}

/* ============================================
   STATUS CARDS (error / empty / no results)
   Used by portfolio.js dynamic states
   ============================================ */

.portfolio-status-card {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 30px;
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid rgba(0, 115, 230, 0.1);
    font-family: 'Inter', sans-serif;
}

.portfolio-status-card .portfolio-status-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 12px;
    line-height: 1;
}

.portfolio-status-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1A3A5C;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 8px;
}

.portfolio-status-card p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: rgba(26, 58, 92, 0.7);
    max-width: 500px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

.portfolio-status-btn {
    padding: 12px 28px;
    background: #0073E6;
    color: #FFFFFF;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.portfolio-status-btn:hover {
    background: #0059B3;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 115, 230, 0.3);
}

/* Error-specific variation */
.portfolio-status-error {
    border-color: rgba(255, 59, 48, 0.25);
}

/* ============================================
   DARK THEME - STATUS CARDS
   ============================================ */

[data-theme="dark"] .portfolio-status-card {
    background: var(--theme-card-bg, #101c30);
    border-color: rgba(77, 163, 255, 0.18);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .portfolio-status-card h3 {
    color: #ffffff;
}

[data-theme="dark"] .portfolio-status-card p {
    color: #b8c6da;
}

[data-theme="dark"] .portfolio-status-error {
    border-color: rgba(255, 82, 82, 0.35);
}

[data-theme="dark"] .portfolio-status-btn {
    background: var(--color-bright-blue, #4da3ff);
    color: #ffffff;
}

[data-theme="dark"] .portfolio-status-btn:hover {
    background: #5fb0ff;
    box-shadow: 0 10px 30px rgba(77, 163, 255, 0.4);
}

/* ============================================
   SKELETON LOADER (Light + Dark)
   ============================================ */

.portfolio-item.skeleton .skeleton-image {
    width: 100%;
    height: 100%;
    background: #E2E8F0;
    animation: skeletonPulse 1.5s ease-in-out infinite;
}

.portfolio-item.skeleton .skeleton-line {
    height: 14px;
    background: #E2E8F0;
    border-radius: 4px;
    margin-bottom: 10px;
    animation: skeletonPulse 1.5s ease-in-out infinite;
}

@keyframes skeletonPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

[data-theme="dark"] .portfolio-item.skeleton {
    background: var(--theme-card-bg, #101c30);
}

[data-theme="dark"] .portfolio-item.skeleton .skeleton-image,
[data-theme="dark"] .portfolio-item.skeleton .skeleton-line {
    background: #1e2a3d;
}