.portfolio-hero {
    background: linear-gradient(135deg, #0052cc, #002e8a);
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.portfolio-hero h1 {
    font-size: 42px;
    font-weight: 700;
}

.portfolio-grid {
    max-width: 1100px;
    margin: 60px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    padding: 0 25px;
}

.portfolio-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e4e9f2;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transition: 0.3s;
    text-align: center;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.portfolio-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.portfolio-card h3 {
    margin: 16px 0 6px;
    font-size: 20px;
    font-weight: 700;
    color: #00316e;
}

.portfolio-card p {
    color: #555;
    font-size: 15px;
    margin-bottom: 18px;
    padding: 0 10px;
    line-height: 1.5;
}

.portfolio-card a {
    display: inline-block;
    background: #0052cc;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    margin-bottom: 18px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.portfolio-card a:hover {
    background: #003f9e;
}