.back2 {
    padding: 0.5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.trophy-container {
    background: #fff;
    padding: 10px; /* ↓ kam kiya */
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    /* height: 230px; 🔥 fixed compact height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 80%;
}

.trophy-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.trophy-image {
    width: 100%;
    height: 100%; /* 🔥 full height for better fit */
    object-fit: cover;
    margin-bottom: 0.3rem;
    cursor: pointer;
}

.model-number {
    font-size: 0.9rem;
    color: #0A4A55;
    font-weight: 600;
    margin: 0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80vh;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.close-modal {
    position: absolute;
    right: 25px;
    top: 25px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .back2 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .back2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .back2 {
        grid-template-columns: 1fr;
        padding: 0.8rem;
    }

}
