/* TechBuzz Solution - Portfolio Page Styles */
.tb-portfolio-hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, var(--tb-light) 0%, var(--tb-gray) 100%);
    position: relative;
    overflow: hidden;
}

.tb-portfolio-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.tb-portfolio-hero-text {
    flex: 1;
}

.tb-portfolio-hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--tb-dark);
}

.tb-portfolio-hero-title span {
    color: var(--tb-primary);
    position: relative;
}

.tb-portfolio-hero-title span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 8px;
    bottom: 5px;
    left: 0;
    background-color: var(--tb-secondary);
    z-index: -1;
    opacity: 0.7;
}

.tb-portfolio-hero-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
    max-width: 90%;
}

.tb-portfolio-hero-visual {
    flex: 1;
    position: relative;
    text-align: center;
}

.tb-hero-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--tb-primary-light), var(--tb-secondary));
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--tb-light);
    box-shadow: var(--tb-shadow);
}

.tb-hero-image-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
}

.tb-hero-image-placeholder p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Portfolio Stats */
.tb-portfolio-stats {
    padding: 80px 0;
    background: var(--tb-light);
}

.tb-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.tb-stat-card {
    background: var(--tb-light);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--tb-shadow);
    border-top: 5px solid var(--tb-primary);
    transition: all 0.3s ease;
}

.tb-stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.tb-stat-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,107,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--tb-primary);
    font-size: 2.5rem;
}

.tb-stat-content .tb-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--tb-primary);
    margin-bottom: 5px;
}

.tb-stat-content .tb-stat-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

/* Portfolio Filter */
.tb-portfolio-filter {
    padding: 60px 0;
    background: var(--tb-gray);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.tb-filter-container {
    text-align: center;
}

.tb-filter-container h3 {
    margin-bottom: 25px;
    color: var(--tb-dark);
    font-weight: 600;
}

.tb-filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.tb-filter-btn {
    background: var(--tb-light);
    border: 2px solid transparent;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--tb-text);
}

.tb-filter-btn:hover,
.tb-filter-btn.active {
    background: var(--tb-primary);
    color: var(--tb-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,107,0,0.3);
}

/* Featured Projects */
.tb-featured-projects {
    padding: 100px 0;
    background: var(--tb-light);
}

.tb-featured-grid {
    display: grid;
    gap: 60px;
    margin-top: 50px;
}

.tb-featured-project {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--tb-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--tb-shadow);
    transition: all 0.3s ease;
}

.tb-featured-project:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.tb-project-image {
    position: relative;
    overflow: hidden;
}

.tb-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--tb-primary-light), var(--tb-secondary));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--tb-light);
}

.tb-image-placeholder i {
    font-size: 4rem;
    margin-bottom: 15px;
}

.tb-image-placeholder span {
    font-size: 1.1rem;
    opacity: 0.9;
}

.tb-project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.tb-featured-project:hover .tb-project-overlay {
    opacity: 1;
}

.tb-project-links {
    display: flex;
    gap: 15px;
}

.tb-project-link {
    width: 50px;
    height: 50px;
    background: var(--tb-primary);
    color: var(--tb-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tb-project-link:hover {
    background: var(--tb-primary-light);
    transform: scale(1.1);
}

.tb-project-content {
    padding: 40px 30px 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tb-project-category {
    color: var(--tb-primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tb-project-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--tb-dark);
}

.tb-project-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 25px;
}

.tb-project-stats {
    display: flex;
    gap: 30px;
    margin: 25px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.tb-project-stat {
    text-align: center;
    flex: 1;
}

.tb-stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--tb-primary);
    margin-bottom: 5px;
}

.tb-stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.tb-project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.tb-tech-tag {
    background: rgba(255,107,0,0.1);
    color: var(--tb-primary);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255,107,0,0.2);
}

.tb-project-cta {
    align-self: flex-start;
}

/* All Projects Grid */
.tb-all-projects {
    padding: 100px 0;
    background: var(--tb-gray);
}

.tb-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.tb-project-card {
    background: var(--tb-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--tb-shadow);
    transition: all 0.3s ease;
}

.tb-project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.tb-project-card-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.tb-card-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--tb-primary-light), var(--tb-secondary));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--tb-light);
}

.tb-card-image-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.tb-card-image-placeholder span {
    font-size: 1rem;
    opacity: 0.9;
}

.tb-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.tb-project-card:hover .tb-card-overlay {
    opacity: 1;
}

.tb-card-cta {
    background: var(--tb-primary);
    color: var(--tb-light);
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tb-card-cta:hover {
    background: var(--tb-primary-light);
    transform: scale(1.05);
}

.tb-project-card-content {
    padding: 30px 25px;
}

.tb-card-category {
    color: var(--tb-primary);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tb-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--tb-dark);
}

.tb-card-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.tb-card-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #888;
}

.tb-card-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.tb-load-more {
    text-align: center;
    margin-top: 50px;
}

/* Portfolio Testimonials */
.tb-portfolio-testimonials {
    padding: 100px 0;
    background: var(--tb-light);
}

.tb-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.tb-testimonial-card {
    background: var(--tb-light);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: var(--tb-shadow);
    border-left: 5px solid var(--tb-primary);
    transition: all 0.3s ease;
}

.tb-testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.tb-review-rating {
    color: var(--tb-secondary);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.tb-testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 25px;
    font-style: italic;
}

.tb-testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tb-author-avatar {
    width: 60px;
    height: 60px;
    background: var(--tb-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--tb-primary);
    flex-shrink: 0;
}

.tb-author-info h4 {
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--tb-dark);
}

.tb-author-info p {
    color: #666;
    margin-bottom: 5px;
}

.tb-project-reference {
    color: var(--tb-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Industries Served */
.tb-industries-served {
    padding: 100px 0;
    background: var(--tb-gray);
}

.tb-industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.tb-industry-card {
    background: var(--tb-light);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--tb-shadow);
    transition: all 0.3s ease;
}

.tb-industry-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.tb-industry-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,107,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--tb-primary);
    font-size: 2.5rem;
}

.tb-industry-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--tb-dark);
}

.tb-industry-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.tb-industry-count {
    background: var(--tb-primary);
    color: var(--tb-light);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Project Process */
.tb-project-process {
    padding: 100px 0;
    background: var(--tb-light);
}

.tb-process-steps {
    max-width: 800px;
    margin: 50px auto 0;
    position: relative;
}

.tb-process-steps::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--tb-primary), var(--tb-secondary));
    border-radius: 10px;
}

.tb-process-step {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
}

.tb-step-number {
    width: 100px;
    height: 100px;
    background: var(--tb-primary);
    color: var(--tb-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(255,107,0,0.3);
}

.tb-step-content {
    flex: 1;
    background: var(--tb-light);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
}

.tb-step-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 40px;
    width: 20px;
    height: 20px;
    background: var(--tb-light);
    transform: rotate(45deg);
}

.tb-step-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--tb-dark);
}

.tb-step-description {
    color: var(--tb-text);
    line-height: 1.6;
}

/* Portfolio CTA */
.tb-portfolio-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--tb-dark) 0%, #2d3748 100%);
    color: var(--tb-light);
    text-align: center;
}

.tb-portfolio-cta-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--tb-light);
}

.tb-portfolio-cta-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.tb-cta-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.tb-cta-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--tb-light);
}

.tb-cta-feature i {
    color: var(--tb-secondary);
}

/* Modal Styles */
.tb-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    overflow-y: auto;
}

.tb-modal-content {
    background: var(--tb-light);
    margin: 50px auto;
    border-radius: 20px;
    max-width: 900px;
    position: relative;
    animation: tb-fadeInUp 0.5s ease;
}

.tb-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--tb-primary);
    color: var(--tb-light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 992px) {
    .tb-portfolio-hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .tb-portfolio-hero-description {
        max-width: 100%;
    }
    
    .tb-featured-project {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .tb-project-content {
        padding: 30px;
    }
    
    .tb-projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .tb-process-steps::before {
        left: 30px;
    }
    
    .tb-step-number {
        width: 60px;
        height: 60px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .tb-portfolio-hero-title {
        font-size: 2.5rem;
    }
    
    .tb-filter-buttons {
        gap: 10px;
    }
    
    .tb-filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .tb-project-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .tb-projects-grid {
        grid-template-columns: 1fr;
    }
    
    .tb-testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .tb-industries-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .tb-cta-features {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .tb-portfolio-hero {
        padding: 150px 0 80px;
    }
    
    .tb-portfolio-hero-title {
        font-size: 2rem;
    }
    
    .tb-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tb-project-card-content {
        padding: 25px 20px;
    }
    
    .tb-step-content {
        padding: 20px;
    }
    
    .tb-portfolio-cta-content h2 {
        font-size: 2.2rem;
    }
}