* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.portfolio-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.portfolio-header {
    text-align: center;
    color: #3e5474;
}

.portfolio-header h1 {
    font-size: 3rem;
    font-weight: 300;
    margin: 0 0 15px 0;
    background: linear-gradient(45deg, #fff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: #082E63;
    background-clip: text;
    color: #082E63;
}

.portfolio-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 220px;
    background: linear-gradient(135deg, #082E63, #3e5474);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.project-icon {
    font-size: 3rem;
    color: white;
    z-index: 2;
}

.project-icon img {
    height: 10vh;
}

.project-content {
    padding: 30px;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2d3748;
}

.project-description {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.tech-tag {
    background: linear-gradient(135deg, #082E63, #3e5474);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.project-link.primary {
    background: linear-gradient(135deg, #082E63, #3e5474);
    color: white;
}

.project-link.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.project-link.secondary {
    background: #f7fafc;
    color: #4a5568;
    border: 1px solid #e2e8f0;
}

.project-link.secondary:hover {
    background: #edf2f7;
}

.project-link.disabled {
    background: #e2e8f0;
    color: #a0aec0;
    cursor: not-allowed;
}

.status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-production {
    background: #48bb78;
    color: white;
}

.status-development {
    background: #ed8936;
    color: white;
}

.status-demo {
    background: #4299e1;
    color: white;
}

.status-closed {
    background: #a0aec0;
    color: white;
}

.featured-project {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #1a202c, #2d3748);
    color: white;
}

.featured-project .project-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.featured-project .project-title {
    color: white;
    font-size: 2rem;
}

.featured-project .project-description {
    color: #cbd5e0;
}

.mobile {
    height: 5vh;
}

@media (max-width: 912px) {
    .project-links {
        display: flex;
        flex-direction: column;
    }
    .project-links a{
        justify-content: center;
    }
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
      
    .portfolio-header h1 {
        font-size: 2.5rem;
    }
      
    .featured-project .project-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-card {
    animation: fadeInUp 0.6s ease forwards;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }
.project-card:nth-child(5) { animation-delay: 0.5s; }
.project-card:nth-child(6) { animation-delay: 0.6s; }