.pc-section {
    padding: 90px 20px;
    background: #ffffff;
    text-align: center;
}

.pc-header {
    max-width: 900px;
    margin: 0 auto 60px;
}

.pc-tag {
    display: inline-block;
    color: #e10600;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.pc-header h2 {
    font-size: 42px;
    color: #003865;
    margin-bottom: 16px;
}

.pc-header p {
    color: #6b7a90;
    font-size: 16px;
}

/* =========================
   GRID — WIDE & RESPONSIVE
========================= */
.pc-grid {
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* =========================
   CARD — FIXED HEIGHT
========================= */
.pc-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    height: 280px;
    background: #f5f7fa; /* neutral background for contain */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================
   IMAGE — AUTO RESIZE (NO CROP)
========================= */
.pc-card img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;   /* 🔥 KEY FIX */
    object-position: center;
    transition: transform 0.4s ease;
}

/* OPTIONAL HOVER ZOOM (SAFE) */
.pc-card:hover img {
    transform: scale(1.03);
}

/* =========================
   OVERLAY — UNCHANGED
========================= */
.pc-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 56, 101, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pc-card:hover .pc-overlay {
    opacity: 1;
}

.pc-overlay h3 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 14px;
}

.pc-overlay a {
    padding: 10px 22px;
    background: #e10600;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    border-radius: 25px;
}

/* =========================
   RESPONSIVE HEIGHT CONTROL
========================= */
@media (max-width: 1200px) {
    .pc-card {
        height: 260px;
    }
}

@media (max-width: 992px) {
    .pc-card {
        height: 240px;
    }

    .pc-header h2 {
        font-size: 36px;
    }
}

@media (max-width: 576px) {
    .pc-grid {
        grid-template-columns: 1fr;
    }

    .pc-card {
        height: 220px;
    }

    .pc-header h2 {
        font-size: 28px;
    }
}
