#nav {
    z-index: 9999;
}

.logo1-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    padding: 20px;
    margin: 0 auto;
    max-width: 1200px;
    border: none;
}

.logo {
    width: 250px;
    height: 350px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.logo:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.logo img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 2px solid #eee;
}

.logo span {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    text-transform: capitalize;
    margin-top: 12px;
    text-align: center;
    padding: 0 10px;
    flex-grow: 1;
    word-wrap: break-word;
}

@media (max-width: 768px) {
    .logo {
        width: 200px;
        height: 300px;
    }
    
    .logo span {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 150px;
        height: 250px;
    }

    .logo span {
        font-size: 12px;
    }
}
