/* Portfolio Page Specific Styles */

/* PORTFOLIO HERO */
.portfolio-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
}

.portfolio-hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.portfolio-hero .color-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(11, 28, 45, 0.85) 0%,
        rgba(165, 153, 233, 0.25) 50%,
        rgba(11, 28, 45, 0.85) 100%);
    z-index: 1;
}

.portfolio-hero-content {
    position: relative;
    max-width: 900px;
    color: #fff;
    text-align: center;
    padding: 0 40px;
    z-index: 2;
    animation: heroFadeIn 1s ease forwards;
}

.portfolio-hero h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin: 20px 0;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.portfolio-hero p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto 30px;
}

/* INDUSTRY OVERVIEW */
.industry-overview {
    padding: 80px 0;
    background: #ffffff;
}

.overview-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.industry-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.highlight-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border-top: 4px solid var(--highlight-color, var(--primary-color));
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    width: 70px;
    height: 70px;
    background: rgba(var(--highlight-color-rgb, 24, 165, 88), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--highlight-color, var(--primary-color));
    font-size: 1.8rem;
}

.highlight-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.highlight-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-medium);
    margin-bottom: 20px;
}

.highlight-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.highlight-stats span {
    font-size: 0.8rem;
    color: var(--highlight-color, var(--primary-color));
    font-weight: 600;
    background: rgba(var(--highlight-color-rgb, 24, 165, 88), 0.1);
    padding: 6px 12px;
    border-radius: 20px;
}

/* CLIENT LOGOS */
.client-logos {
    padding: 80px 0;
    background: #f8f9fa;
}

.logos-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.logo-item {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 2px solid #eaeaea;
    height: 160px;
}

.logo-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.logo-item img {
    max-width: 90%;
    max-height: 80px;
    object-fit: contain;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.logo-item:hover img {
    opacity: 1;
    transform: scale(1.05);
}

.logo-hover {
    position: absolute;
    inset: 0;
    background: rgba(11, 28, 45, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    text-align: center;
    border-radius: 15px;
}

.logo-item:hover .logo-hover {
    opacity: 1;
}

.logo-hover h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.logo-hover p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.4;
}

/* INDUSTRY STATS */
.industry-stats {
    padding: 80px 0;
    background: #f8f9fa;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.stat-item {
    background: white;
    border-radius: 15px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-left: 4px solid var(--stat-color, var(--primary-color));
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(var(--stat-color-rgb, 24, 165, 88), 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--stat-color, var(--primary-color));
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--stat-color, var(--primary-color));
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.stat-detail {
    font-size: 0.85rem;
    color: var(--text-medium);
    line-height: 1.4;
}

/* PORTFOLIO CTA */
.portfolio-cta {
    padding: 80px 0;
    background: #0b1c2d;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(165, 153, 233, 0.1) 0%,
        rgba(24, 165, 88, 0.1) 50%,
        rgba(11, 28, 45, 0.9) 100%);
    opacity: 0.5;
}

.cta-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 40px;
    z-index: 1;
}

.portfolio-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* RESPONSIVE STYLES */
@media (max-width: 1200px) {
    .overview-container,
    .logos-container,
    .stats-container {
        padding: 0 30px;
    }
    
    .portfolio-hero h1 {
        font-size: 2.8rem;
    }
    
    .industry-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .logos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .portfolio-hero {
        height: 50vh;
        min-height: 400px;
    }
    
    .portfolio-hero h1 {
        font-size: 2.4rem;
    }
    
    .portfolio-hero p {
        font-size: 1.1rem;
    }
    
    .logos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .logo-item {
        height: 150px;
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .portfolio-hero {
        height: 45vh;
        min-height: 350px;
        margin-top: 70px;
    }
    
    .portfolio-hero-content {
        padding: 0 20px;
    }
    
    .portfolio-hero h1 {
        font-size: 2rem;
    }
    
    .portfolio-hero p {
        font-size: 1rem;
    }
    
    .overview-container,
    .logos-container,
    .stats-container {
        padding: 0 20px;
    }
    
    .industry-overview,
    .client-logos,
    .industry-stats {
        padding: 60px 0;
    }
    
    .industry-highlights {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .logo-item {
        height: 140px;
        padding: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .stat-item {
        padding: 25px;
    }
    
    .portfolio-cta h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .portfolio-hero h1 {
        font-size: 1.8rem;
    }
    
    .portfolio-hero p {
        font-size: 0.9rem;
    }
    
    .logos-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .logo-item {
        height: 130px;
        padding: 20px;
    }
    
    .logo-hover h4 {
        font-size: 1rem;
    }
    
    .logo-hover p {
        font-size: 0.8rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .portfolio-cta h2 {
        font-size: 1.8rem;
    }
}