/* Prodi Page Styling */
.prodi-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.prodi-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 25px;
    margin-top: 40px;
}

/* Baris pertama - 4 card */
.prodi-card:nth-child(1) { grid-column: 1 / span 2; }
.prodi-card:nth-child(2) { grid-column: 3 / span 2; }
.prodi-card:nth-child(3) { grid-column: 5 / span 2; }
.prodi-card:nth-child(4) { grid-column: 7 / span 2; }

/* Baris kedua - 3 card di tengah */
.prodi-card:nth-child(5) { grid-column: 2 / span 2; }
.prodi-card:nth-child(6) { grid-column: 4 / span 2; }
.prodi-card:nth-child(7) { grid-column: 6 / span 2; }

/* Responsive */
@media (max-width: 1200px) {
    .prodi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .prodi-card:nth-child(n) {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .prodi-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.prodi-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.prodi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,102,204,0.15);
}

.prodi-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #0066cc;
    color: white;
    padding: 3px 12px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 14px;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0,102,204,0.3);
    min-width: 45px;
    text-align: center;
    height: 28px;
    line-height: 22px;
}

.prodi-image {
    height: 180px;
    background: linear-gradient(to bottom right, #f4f9ff, #e6f0ff);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    padding-top: 35px;
    position: relative;
    overflow: hidden;
}

.prodi-image::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background: white;
    border-radius: 50% 50% 0 0;
}

.prodi-image img {
    max-width: 100%;
    max-height: 140px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.prodi-card:hover .prodi-image img {
    transform: scale(1.05);
}

.prodi-content {
    padding: 25px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 280px;
}

.prodi-content h3 {
    font-size: 22px;
    margin: 0 0 5px;
    color: #102866;
    font-weight: 700;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.prodi-tag {
    display: inline-block;
    background: #e6f0ff;
    color: #0066cc;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
    align-self: center;
    height: 26px;
    line-height: 22px;
}

.prodi-content p {
    font-size: 15px;
    line-height: 1.5;
    color: #666;
    margin: 0 0 auto;
    min-height: 75px;
    max-height: 75px;
    overflow: hidden;
    text-align: center;
}

.prodi-action {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.prodi-btn {
    background: linear-gradient(135deg, #0066cc, #0052a3);
    color: white;
    padding: 8px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0,102,204,0.2);
    text-align: center;
    width: 120px;
    height: 42px;
    line-height: 26px;
}

.prodi-btn:hover {
    background: linear-gradient(135deg, #0052a3, #0066cc);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,102,204,0.3);
    color: white;
    text-decoration: none;
}
